[U-Boot] [PATCH v2 1/1] x86: don't compare pointers to 0
Bin Meng
bmeng.cn at gmail.com
Tue Nov 21 06:11:06 UTC 2017
On Tue, Nov 21, 2017 at 2:45 AM, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> x86_vendor_name is defined as
>
> static const char *const x86_vendor_name[]
>
> So its elements should not be compared to 0.
>
> Remove superfluous paranthesis.
>
> Problem identified with Coccinelle.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
> remove further parathesis
> ---
> arch/x86/cpu/cpu.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list