.pylintrc: warning: ignored by one of the .gitignore files ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. .pylintrc: warning: ignored by one of the .gitignore files ../net/devlink/rate.c:390:33: warning: variable 'total' set but not used [-Wunused-but-set-variable] 390 | int rem, err = -EOPNOTSUPP, i, total = 0; | ^ 1 warning generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. New errors added --- /tmp/tmp.mZMdT6akj0 2025-06-25 15:37:06.967077447 -0700 +++ /tmp/tmp.zBE2b5bmZL 2025-06-25 15:39:23.611286827 -0700 @@ -1,0 +2,4 @@ +../net/devlink/rate.c:390:33: warning: variable 'total' set but not used [-Wunused-but-set-variable] + 390 | int rem, err = -EOPNOTSUPP, i, total = 0; + | ^ +1 warning generated. Per-file breakdown --- /tmp/tmp.llEzM5kt21 2025-06-25 15:41:13.028655012 -0700 +++ /tmp/tmp.sPif2dPRgr 2025-06-25 15:41:13.030655000 -0700 @@ -1,0 +2 @@ + 1 ../net/devlink/rate.c