Re: [kbuild-all] Re: [PATCH] net: dsa: qca8k: fix noderef.cocci warnings

From: Chen, Rong A
Date: Fri Feb 11 2022 - 01:36:33 EST




On 2/11/2022 2:59 AM, Jakub Kicinski wrote:
On Wed, 9 Feb 2022 19:30:48 -0800 Florian Fainelli wrote:
On 2/9/2022 2:13 PM, kernel test robot wrote:
From: kernel test robot <lkp@xxxxxxxxx>

drivers/net/dsa/qca8k.c:422:37-43: ERROR: application of sizeof to pointer

sizeof when applied to a pointer typed expression gives the size of
the pointer

Generated by: scripts/coccinelle/misc/noderef.cocci

Fixes: 90386223f44e ("net: dsa: qca8k: add support for larger read/write size with mgmt Ethernet")
CC: Ansuel Smith <ansuelsmth@xxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>

qca8k.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

kbuild folks, would it be easy to switch to including full path here?
It seems like our CI expects that and ignores this patch.

Hi Jakub,

Thanks for the advice, will change it.

Best Regards,
Rong Chen


Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied, thanks!
_______________________________________________
kbuild-all mailing list -- kbuild-all@xxxxxxxxxxxx
To unsubscribe send an email to kbuild-all-leave@xxxxxxxxxxxx