Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1394485
| From | Wang YanQing <udknight@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check |
| Date | 2016-05-04 17:50 +0200 |
| Message-ID | <rv7dL-6IW-5@gated-at.bofh.it> (permalink) |
| References | <ruOkN-5Mr-11@gated-at.bofh.it> <ruOkO-5Mr-21@gated-at.bofh.it> <ruYDv-77h-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, May 04, 2016 at 08:35:24AM +0200, Ingo Molnar wrote:
>
> * Matt Fleming <matt@codeblueprint.co.uk> wrote:
>
> > From: Wang YanQing <udknight@gmail.com>
> >
> > We can't just break out when meet start is equal to zero,
>
> Hm, wot?
>
> Thanks,
>
> Ingo
Sorry for my poor English ,and poor commit message, this bring
trouble for more than one maintainer, I guess.
The old code use below comparion as condition to terminate valid
range check without care whether there are more ranges in later
BARs:
"
if (start == 0)
break;
"
I guess original author think (or make a mistake) when we meet a
address range begin from zero means it is a invalid address range,
and no valid address ranges in remain BARs.
So I said:
We can't break the loop when meet range whose start address is zero,
without check it and remaining BARs' range.
Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-03 21:40 +0200
Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check Ingo Molnar <mingo@kernel.org> - 2016-05-04 08:40 +0200
Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-04 11:30 +0200
Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check Ingo Molnar <mingo@kernel.org> - 2016-05-04 12:30 +0200
Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-04 12:30 +0200
Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check Wang YanQing <udknight@gmail.com> - 2016-05-04 17:50 +0200
csiph-web