.pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/char/tpm/xen-tpmfront.c:17: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/dma/dw-edma/dw-edma-core.c:27:16: warning: unused function 'dchan2dev' [-Wunused-function] 27 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:33:16: warning: unused function 'chan2dev' [-Wunused-function] 33 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings generated. ../arch/x86/kernel/cpu/mtrr/generic.c:693:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 693 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1061:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1061 | unsigned long config, dummy; | ^ 2 warnings generated. In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: 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. Warning: ../drivers/hv/channel.c:577 function parameter 'size' not described in 'request_arr_init' 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. ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. .pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/char/tpm/xen-tpmfront.c:17: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/dma/dw-edma/dw-edma-core.c:27:16: warning: unused function 'dchan2dev' [-Wunused-function] 27 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:33:16: warning: unused function 'chan2dev' [-Wunused-function] 33 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings generated. ../arch/x86/kernel/cpu/mtrr/generic.c:693:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 693 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1061:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1061 | unsigned long config, dummy; | ^ 2 warnings generated. Warning: ../drivers/hv/channel.c:577 function parameter 'size' not described in 'request_arr_init' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' .pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/char/tpm/xen-tpmfront.c:17: In file included from ../drivers/char/tpm/tpm.h:28: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/dma/dw-edma/dw-edma-core.c:27:16: warning: unused function 'dchan2dev' [-Wunused-function] 27 | struct device *dchan2dev(struct dma_chan *dchan) | ^~~~~~~~~ ../drivers/dma/dw-edma/dw-edma-core.c:33:16: warning: unused function 'chan2dev' [-Wunused-function] 33 | struct device *chan2dev(struct dw_edma_chan *chan) | ^~~~~~~~ 2 warnings generated. ../arch/x86/kernel/cpu/mtrr/generic.c:693:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 693 | unsigned lo, dummy; | ^ ../arch/x86/kernel/cpu/mtrr/generic.c:1061:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1061 | unsigned long config, dummy; | ^ 2 warnings generated. Warning: ../drivers/hv/channel.c:577 function parameter 'size' not described in 'request_arr_init' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init'