Re: [U-Boot] [PATCH 1/1] x86: don't compare pointers to 0

2017-11-19 Thread Bin Meng
Hi Heinrich, On Sat, Nov 11, 2017 at 4:06 AM, Heinrich Schuchardt 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: H

Re: [U-Boot] [PATCH 1/1] x86: don't compare pointers to 0

2017-11-17 Thread Simon Glass
On 10 November 2017 at 13:06, Heinrich Schuchardt 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 Schuchard

[U-Boot] [PATCH 1/1] x86: don't compare pointers to 0

2017-11-10 Thread Heinrich Schuchardt
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 --- arch/x86/cpu/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 del