Re: [linux-yocto] [linux-yocto v5.10] [PATCH] x86: Fix warning: argument 2 of type 'u32 *' {aka 'unsigned int *'} declared as a pointer

2021-06-11 Thread Zhang, Qiang
e This warning appear in v5.10.38, but in v5.10.41 I didn't find it, I'll keep track. Thanks Qiang > >Bruce In message: [linux-yocto] [linux-yocto v5.10] [PATCH] x86: Fix warning: argument 2 of type 'u32 *' {aka 'unsigned int *'} declared as a pointer on 09/06/2021 qiang.zh...@windriv

Re: [linux-yocto] [linux-yocto v5.10] [PATCH] x86: Fix warning: argument 2 of type 'u32 *' {aka 'unsigned int *'} declared as a pointer

2021-06-10 Thread Bruce Ashfield
Can we get a bit more information in the commit log ? I assume this is for v5.10/standard/base ? if so, what commit introduced the warning ? We should log that commit ID and shortlog in this fixup. Bruce In message: [linux-yocto] [linux-yocto v5.10] [PATCH] x86: Fix warning: argument 2 of type

[linux-yocto] [linux-yocto v5.10] [PATCH] x86: Fix warning: argument 2 of type 'u32 *' {aka 'unsigned int *'} declared as a pointer

2021-06-08 Thread Zhang, Qiang
From: Zqiang arch/x86/lib/msr-smp.c:256:51: warning: argument 2 of type 'u32 *' {aka 'unsigned int *'} declared as a pointer [-Warray-parameter=] 256 | int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs) arch/x86/include/asm/msr.h:347:50: note: previously declared as an array 'u32[8]' {aka