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
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
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
3 matches
Mail list logo