diff options
author | kernel test robot <lkp@intel.com> | 2022-02-10 01:13:04 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-10 21:56:00 +0300 |
commit | 4f5e483b8c7a644733db941a1ae00173baa7b463 (patch) | |
tree | 71d57ec8ba371f0703e257f3a072b8a97da95d48 /drivers/net/dsa/bcm_sf2.c | |
parent | d8c2858181ccf0ca506b75ffe1ffab25a090d0e4 (diff) | |
download | linux-4f5e483b8c7a644733db941a1ae00173baa7b463.tar.xz |
net: dsa: qca8k: fix noderef.cocci warnings
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@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220209221304.GA17529@d2214a582157
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions