[PATCH] x86/sysfb_efi: Fix valid BAR address range check

2016-05-05 Thread Matt Fleming
From: Wang YanQing The code for checking whether a BAR address range is valid will break out of the loop when a start address of 0x0 is encountered. This behaviour is wrong since by breaking out of the loop we may miss the BAR that describes the EFI frame buffer in a later

[PATCH] x86/sysfb_efi: Fix valid BAR address range check

2016-05-05 Thread Matt Fleming
From: Wang YanQing The code for checking whether a BAR address range is valid will break out of the loop when a start address of 0x0 is encountered. This behaviour is wrong since by breaking out of the loop we may miss the BAR that describes the EFI frame buffer in a later iteration. Because