.pylintrc: warning: ignored by one of the .gitignore files ../crypto/async_tx/raid6test.c:21:14: warning: symbol 'dataoffs' was not declared. Should it be static? ../drivers/dma/mediatek/mtk-hsdma.c:450:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:450:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:450:17: got unsigned long long [usertype] src ../drivers/dma/mediatek/mtk-hsdma.c:451:17: warning: restricted __le32 degrades to integer ../drivers/dma/mediatek/mtk-hsdma.c:451:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:451:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:451:17: got unsigned int ../drivers/dma/mediatek/mtk-hsdma.c:455:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:455:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:455:17: got unsigned long long [usertype] dest ../drivers/dma/mediatek/mtk-hsdma.c:456:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:456:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:456:17: got int ../drivers/dma/mediatek/mtk-hsdma.c:579:33: warning: restricted __le32 degrades to integer ../drivers/dma/mediatek/mtk-hsdma.c:877:18: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:877:18: expected restricted __le32 [usertype] ddone ../drivers/dma/mediatek/mtk-hsdma.c:877:18: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:878:16: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:878:16: expected restricted __le32 [usertype] ls0 ../drivers/dma/mediatek/mtk-hsdma.c:878:16: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:882:18: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:882:18: expected restricted __le32 [usertype] ddone ../drivers/dma/mediatek/mtk-hsdma.c:882:18: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:883:16: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:883:16: expected restricted __le32 [usertype] ls0 ../drivers/dma/mediatek/mtk-hsdma.c:883:16: got unsigned long ../drivers/pci/controller/dwc/pcie-designware-debugfs.c:868:27: warning: symbol 'dw_pcie_ptm_ops' was not declared. Should it be static? ../drivers/dma/idxd/cdev.c:507:24: warning: incorrect type in return expression (different base types) ../drivers/dma/idxd/cdev.c:507:24: expected restricted __poll_t ../drivers/dma/idxd/cdev.c:507:24: got int ../drivers/gpu/drm/xlnx/zynqmp_disp.c:133:42: warning: array of flexible structures Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' Warning: ../drivers/dma/dmatest.c:152 struct member '' not described in 'dmatest_info' ../sound/soc/loongson/loongson_dma.c:336:39: warning: symbol 'loongson_i2s_component' was not declared. Should it be static? ../sound/soc/intel/atom/sst/sst_loader.c:212:43: warning: incorrect type in argument 2 (different address spaces) ../sound/soc/intel/atom/sst/sst_loader.c:212:43: expected void *destn ../sound/soc/intel/atom/sst/sst_loader.c:212:43: got void [noderef] __iomem * ../drivers/dma/xilinx/xilinx_dma.c:1038:39: warning: context imbalance in 'xilinx_dma_chan_handle_cyclic' - unexpected unlock ../drivers/dma/bcm-sba-raid.c:575:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:575:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:575:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:594:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:594:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:594:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:663:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:663:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:663:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:682:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:682:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:682:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:783:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:783:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:783:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:801:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:801:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:801:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:821:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:821:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:821:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:930:41: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:930:41: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:930:41: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:949:41: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:949:41: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:949:41: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:964:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:964:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:964:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:983:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:983:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:983:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1004:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1004:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1004:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1031:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1031:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1031:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1107:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1107:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1107:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1127:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1127:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1127:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1144:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1144:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1144:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1164:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1164:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1164:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1188:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1188:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1188:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1213:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1213:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1213:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1242:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1242:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1242:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1265:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1265:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1265:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1285:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1285:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1285:25: got restricted __le64 [usertype] ../drivers/tty/serial/imx.c:2095:13: warning: context imbalance in 'imx_uart_console_device_lock' - wrong count at exit ../drivers/tty/serial/imx.c:2102:13: warning: context imbalance in 'imx_uart_console_device_unlock' - unexpected unlock ../drivers/dma/hisi_dma.c:744:21: warning: cast to restricted __le16 ../drivers/dma/hisi_dma.c:744:21: warning: restricted __le16 degrades to integer ../drivers/dma/hisi_dma.c:744:21: warning: restricted __le16 degrades to integer ../drivers/dma/loongson1-apb-dma.c:385:9: warning: context imbalance in 'ls1x_dma_pause' - wrong count at exit ../drivers/dma/loongson1-apb-dma.c:133:9: warning: context imbalance in 'ls1x_dma_resume' - wrong count at exit ../drivers/dma/loongson1-apb-dma.c:474:9: warning: context imbalance in 'ls1x_dma_issue_pending' - wrong count at exit ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/tty/serial/pch_uart.c:1403:30: warning: restricted upf_t degrades to integer ../drivers/tty/serial/pch_uart.c:1407:32: warning: invalid assignment: &= ../drivers/tty/serial/pch_uart.c:1407:32: left side has type int ../drivers/tty/serial/pch_uart.c:1407:32: right side has type restricted upf_t ../drivers/dma/pch_dma.c:839:14: warning: incorrect type in assignment (different address spaces) ../drivers/dma/pch_dma.c:839:14: expected struct pch_dma_regs *regs ../drivers/dma/pch_dma.c:839:14: got void [noderef] __iomem *membase ../drivers/dma/pch_dma.c:872:34: warning: incorrect type in assignment (different address spaces) ../drivers/dma/pch_dma.c:872:34: expected void [noderef] __iomem *membase ../drivers/dma/pch_dma.c:872:34: got struct pch_dma_desc_regs * ../drivers/usb/renesas_usbhs/mod.c: In function ‘usbhs_status_get_each_irq’: ../drivers/usb/renesas_usbhs/mod.c:195:13: warning: variable ‘intenb0’ set but not used [-Wunused-but-set-variable] 195 | u16 intenb0, intenb1; | ^~~~~~~ ../drivers/usb/renesas_usbhs/mod_gadget.c: In function ‘usbhs_mod_gadget_probe’: ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:57: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~ ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:54: note: directive argument in the range [-2147483641, 2147483646] 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~~~~~ ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:17: note: ‘snprintf’ output between 4 and 14 bytes into a destination of size 8 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/usb/renesas_usbhs/mod_host.c:779:28: warning: incorrect type in assignment (different base types) ../drivers/usb/renesas_usbhs/mod_host.c:779:28: expected restricted __le16 [addressable] [usertype] wValue ../drivers/usb/renesas_usbhs/mod_host.c:779:28: got int ../drivers/tty/serial/samsung_tty.c: In function ‘s3c24xx_serial_get_options.constprop’: ../drivers/tty/serial/samsung_tty.c:2340:49: warning: ‘%d’ directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~ ../drivers/tty/serial/samsung_tty.c:2340:35: note: directive argument in the range [0, 255] 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c:2340:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c: In function ‘s3c24xx_serial_init_port’: ../drivers/tty/serial/samsung_tty.c:1792:49: warning: ‘%d’ directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~ In function ‘s3c24xx_serial_enable_baudclk’, inlined from ‘s3c24xx_serial_init_port’ at ../drivers/tty/serial/samsung_tty.c:1898:8: ../drivers/tty/serial/samsung_tty.c:1792:35: note: directive argument in the range [0, 254] 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c:1792:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../sound/soc/sunxi/sun4i-spdif.c:179 struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../sound/soc/ti/davinci-i2s.c:113:44: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:120:39: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:121:43: warning: incorrect type in initializer (different base types) ../sound/soc/ti/davinci-i2s.c:121:43: expected unsigned char ../sound/soc/ti/davinci-i2s.c:121:43: got restricted snd_pcm_format_t [usertype] ../sound/soc/ti/davinci-i2s.c:122:43: warning: incorrect type in initializer (different base types) ../sound/soc/ti/davinci-i2s.c:122:43: expected unsigned char ../sound/soc/ti/davinci-i2s.c:122:43: got restricted snd_pcm_format_t [usertype] ../sound/soc/ti/davinci-i2s.c:501:53: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:597:32: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:599:42: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:599:29: warning: incorrect type in assignment (different base types) ../sound/soc/ti/davinci-i2s.c:599:29: expected restricted snd_pcm_format_t [assigned] [usertype] fmt ../sound/soc/ti/davinci-i2s.c:599:29: got unsigned char const ../drivers/tty/serial/samsung_tty.c: note: in included file: ../include/linux/serial_core.h:787:34: warning: context imbalance in 's3c24xx_serial_console_write' - unexpected unlock ../drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:433:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../sound/soc/ti/davinci-mcasp.c:1939:73: warning: incorrect type in argument 1 (different base types) ../sound/soc/ti/davinci-mcasp.c:1939:73: expected restricted __be32 const [usertype] *p ../sound/soc/ti/davinci-mcasp.c:1939:73: got unsigned int const [usertype] * ../drivers/md/raid5-ppl.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/md/raid5-cache.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../net/core/dev.c:5636:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4113:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5594:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/tty/serial/sh-sci.c: note: in included file (through ../include/linux/serial_sci.h): ../include/linux/serial_core.h:787:34: warning: context imbalance in 'sci_dma_rx_submit' - unexpected unlock Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/dma/ioat/dca.c:220:54: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:220:54: expected void const volatile [noderef] __iomem *addr ../drivers/dma/ioat/dca.c:220:54: got void * ../drivers/dma/ioat/dca.c:225:55: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:225:55: expected void const volatile [noderef] __iomem *addr ../drivers/dma/ioat/dca.c:225:55: got void * ../drivers/dma/ioat/dca.c:276:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:276:42: expected void *iobase ../drivers/dma/ioat/dca.c:276:42: got void [noderef] __iomem *iobase ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: warning: incorrect type in argument 2 (different base types) ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: expected unsigned int [usertype] irq_mask ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: got restricted __le32 [usertype] status_lo ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: warning: invalid assignment: |= ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: left side has type restricted __le32 ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: right side has type unsigned long ../drivers/dma/ioat/dma.c:463:5: warning: context imbalance in 'ioat_check_space_lock' - different lock contexts for basic block ../drivers/rapidio/rio-driver.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio-sysfs.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/switches/idtcps.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/switches/idt_gen2.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/switches/idt_gen3.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio-scan.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio_cm.c: In function ‘rio_txcq_handler’: ../drivers/rapidio/rio_cm.c:669:21: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 669 | int rc; | ^~ ../drivers/spi/spi-ti-qspi.c:266:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:266:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:266:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:269:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:269:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:269:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:272:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:272:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:272:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:275:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:275:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:275:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:376:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:378:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:380:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:382:42: warning: cast to restricted __be32 ../drivers/rapidio/rio_cm.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio_cm.c:379:17: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:398:23: warning: cast to restricted __be32 ../drivers/rapidio/rio_cm.c:399:21: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:425:17: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:436:27: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:457:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:460:32: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:491:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:491:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:529:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:531:32: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:806:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:806:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:806:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:807:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:807:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:807:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:812:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:812:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:812:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:813:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:813:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:813:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:814:22: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:814:22: expected unsigned short [usertype] msg_len ../drivers/rapidio/rio_cm.c:814:22: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:974:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:974:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:974:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:975:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:975:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:975:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:980:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:980:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:980:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:981:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:981:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:981:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1029:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1029:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:1029:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1030:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1030:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:1030:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1031:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1031:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:1031:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1032:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1032:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:1032:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1403:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1403:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:1403:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1404:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1404:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:1404:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1409:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1409:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:1409:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1410:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1410:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:1410:21: got restricted __be16 [usertype] ../drivers/mmc/host/dw_mmc.c:606:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:606:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:606:29: got unsigned int * ../drivers/mmc/host/dw_mmc.c:606:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:606:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:606:29: got unsigned int * ../drivers/mmc/host/dw_mmc.c:619:25: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:619:25: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:678:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:678:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:678:29: got restricted __le32 * ../drivers/mmc/host/dw_mmc.c:678:29: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:678:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:678:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:678:29: got restricted __le32 * ../drivers/mmc/host/dw_mmc.c:678:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/rapidio/devices/tsi721.c:1793:44: warning: cast to restricted __le64 ../drivers/rapidio/devices/tsi721.c:137:35: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:137:35: expected restricted __le32 ../drivers/rapidio/devices/tsi721.c:137:35: got restricted __be32 ../drivers/rapidio/devices/tsi721.c:139:35: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:139:35: expected restricted __le32 ../drivers/rapidio/devices/tsi721.c:139:35: got unsigned int ../drivers/rapidio/devices/tsi721.c:185:25: warning: cast to restricted __be32 ../drivers/rapidio/devices/tsi721.c:185:25: warning: cast from restricted __le32 ../drivers/rapidio/devices/tsi721.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/devices/tsi721.c:2267:29: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:2267:29: expected unsigned long long [usertype] ../drivers/rapidio/devices/tsi721.c:2267:29: got restricted __le64 [usertype] ../drivers/rapidio/devices/tsi721.c:2527:50: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:2527:50: expected unsigned long long [usertype] ../drivers/rapidio/devices/tsi721.c:2527:50: got restricted __le64 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:457:16: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/sh_flctl.c:480:26: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:495:38: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:511:24: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:511:24: expected unsigned int val ../drivers/mtd/nand/raw/sh_flctl.c:511:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:524:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:524:24: expected unsigned long ../drivers/mtd/nand/raw/sh_flctl.c:524:24: got restricted __be32 [usertype] ../drivers/rapidio/devices/rio_mport_cdev.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/ntb/ntb_transport.c:1810:43: warning: incorrect type in argument 1 (different address spaces) ../drivers/ntb/ntb_transport.c:1810:43: expected void *dst ../drivers/ntb/ntb_transport.c:1810:43: got void [noderef] __iomem *offset ../drivers/ntb/ntb_transport.c:1810:56: warning: incorrect type in argument 2 (different address spaces) ../drivers/ntb/ntb_transport.c:1810:56: expected void const [noderef] __user *src ../drivers/ntb/ntb_transport.c:1810:56: got void *buf ../drivers/md/raid5.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/md/raid5.c:104:9: warning: context imbalance in 'raid5_quiesce' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: got unsigned int [usertype] ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? .pylintrc: warning: ignored by one of the .gitignore files ../drivers/dma/mediatek/mtk-hsdma.c:450:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:450:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:450:17: got unsigned long long [usertype] src ../drivers/dma/mediatek/mtk-hsdma.c:451:17: warning: restricted __le32 degrades to integer ../drivers/dma/mediatek/mtk-hsdma.c:451:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:451:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:451:17: got unsigned int ../drivers/dma/mediatek/mtk-hsdma.c:455:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:455:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:455:17: got unsigned long long [usertype] dest ../drivers/dma/mediatek/mtk-hsdma.c:456:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:456:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:456:17: got int ../drivers/dma/mediatek/mtk-hsdma.c:579:33: warning: restricted __le32 degrades to integer ../drivers/dma/mediatek/mtk-hsdma.c:877:18: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:877:18: expected restricted __le32 [usertype] ddone ../drivers/dma/mediatek/mtk-hsdma.c:877:18: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:878:16: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:878:16: expected restricted __le32 [usertype] ls0 ../drivers/dma/mediatek/mtk-hsdma.c:878:16: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:882:18: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:882:18: expected restricted __le32 [usertype] ddone ../drivers/dma/mediatek/mtk-hsdma.c:882:18: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:883:16: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:883:16: expected restricted __le32 [usertype] ls0 ../drivers/dma/mediatek/mtk-hsdma.c:883:16: got unsigned long ../drivers/dma/xilinx/xilinx_dma.c:1038:39: warning: context imbalance in 'xilinx_dma_chan_handle_cyclic' - unexpected unlock Warning: ../drivers/dma/dmatest.c:152 struct member '' not described in 'dmatest_info' ../net/core/dev.c:5636:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4113:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5594:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/pci/controller/dwc/pcie-designware-debugfs.c:868:27: warning: symbol 'dw_pcie_ptm_ops' was not declared. Should it be static? Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../sound/soc/loongson/loongson_dma.c:336:39: warning: symbol 'loongson_i2s_component' was not declared. Should it be static? ../drivers/dma/idxd/cdev.c:507:24: warning: incorrect type in return expression (different base types) ../drivers/dma/idxd/cdev.c:507:24: expected restricted __poll_t ../drivers/dma/idxd/cdev.c:507:24: got int ../sound/soc/intel/atom/sst/sst_loader.c:212:43: warning: incorrect type in argument 2 (different address spaces) ../sound/soc/intel/atom/sst/sst_loader.c:212:43: expected void *destn ../sound/soc/intel/atom/sst/sst_loader.c:212:43: got void [noderef] __iomem * ../crypto/async_tx/raid6test.c:21:14: warning: symbol 'dataoffs' was not declared. Should it be static? ../drivers/tty/serial/imx.c:2095:13: warning: context imbalance in 'imx_uart_console_device_lock' - wrong count at exit ../drivers/tty/serial/imx.c:2102:13: warning: context imbalance in 'imx_uart_console_device_unlock' - unexpected unlock ../drivers/dma/bcm-sba-raid.c:575:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:575:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:575:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:594:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:594:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:594:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:663:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:663:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:663:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:682:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:682:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:682:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:783:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:783:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:783:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:801:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:801:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:801:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:821:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:821:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:821:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:930:41: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:930:41: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:930:41: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:949:41: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:949:41: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:949:41: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:964:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:964:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:964:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:983:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:983:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:983:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1004:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1004:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1004:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1031:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1031:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1031:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1107:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1107:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1107:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1127:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1127:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1127:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1144:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1144:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1144:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1164:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1164:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1164:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1188:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1188:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1188:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1213:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1213:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1213:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1242:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1242:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1242:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1265:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1265:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1265:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1285:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1285:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1285:25: got restricted __le64 [usertype] ../drivers/dma/hisi_dma.c:744:21: warning: cast to restricted __le16 ../drivers/dma/hisi_dma.c:744:21: warning: restricted __le16 degrades to integer ../drivers/dma/hisi_dma.c:744:21: warning: restricted __le16 degrades to integer ../drivers/gpu/drm/xlnx/zynqmp_disp.c:133:42: warning: array of flexible structures ../drivers/dma/loongson1-apb-dma.c:385:9: warning: context imbalance in 'ls1x_dma_pause' - wrong count at exit ../drivers/dma/loongson1-apb-dma.c:133:9: warning: context imbalance in 'ls1x_dma_resume' - wrong count at exit ../drivers/dma/loongson1-apb-dma.c:474:9: warning: context imbalance in 'ls1x_dma_issue_pending' - wrong count at exit ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/usb/renesas_usbhs/mod.c: In function ‘usbhs_status_get_each_irq’: ../drivers/usb/renesas_usbhs/mod.c:195:13: warning: variable ‘intenb0’ set but not used [-Wunused-but-set-variable] 195 | u16 intenb0, intenb1; | ^~~~~~~ Warning: ../sound/soc/sunxi/sun4i-spdif.c:179 struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/md/raid5.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/md/raid5.c:104:9: warning: context imbalance in 'raid5_quiesce' - different lock contexts for basic block ../drivers/md/raid5-cache.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/md/raid5-ppl.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/tty/serial/pch_uart.c:1403:30: warning: restricted upf_t degrades to integer ../drivers/tty/serial/pch_uart.c:1407:32: warning: invalid assignment: &= ../drivers/tty/serial/pch_uart.c:1407:32: left side has type int ../drivers/tty/serial/pch_uart.c:1407:32: right side has type restricted upf_t ../drivers/tty/serial/samsung_tty.c: In function ‘s3c24xx_serial_get_options.constprop’: ../drivers/tty/serial/samsung_tty.c:2340:49: warning: ‘%d’ directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~ ../drivers/tty/serial/samsung_tty.c:2340:35: note: directive argument in the range [0, 255] 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c:2340:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c: In function ‘s3c24xx_serial_init_port’: ../drivers/tty/serial/samsung_tty.c:1792:49: warning: ‘%d’ directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~ In function ‘s3c24xx_serial_enable_baudclk’, inlined from ‘s3c24xx_serial_init_port’ at ../drivers/tty/serial/samsung_tty.c:1898:8: ../drivers/tty/serial/samsung_tty.c:1792:35: note: directive argument in the range [0, 254] 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c:1792:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sound/soc/ti/davinci-i2s.c:113:44: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:120:39: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:121:43: warning: incorrect type in initializer (different base types) ../sound/soc/ti/davinci-i2s.c:121:43: expected unsigned char ../sound/soc/ti/davinci-i2s.c:121:43: got restricted snd_pcm_format_t [usertype] ../sound/soc/ti/davinci-i2s.c:122:43: warning: incorrect type in initializer (different base types) ../sound/soc/ti/davinci-i2s.c:122:43: expected unsigned char ../sound/soc/ti/davinci-i2s.c:122:43: got restricted snd_pcm_format_t [usertype] ../sound/soc/ti/davinci-i2s.c:501:53: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:597:32: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:599:42: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:599:29: warning: incorrect type in assignment (different base types) ../sound/soc/ti/davinci-i2s.c:599:29: expected restricted snd_pcm_format_t [assigned] [usertype] fmt ../sound/soc/ti/davinci-i2s.c:599:29: got unsigned char const ../drivers/tty/serial/samsung_tty.c: note: in included file: ../include/linux/serial_core.h:787:34: warning: context imbalance in 's3c24xx_serial_console_write' - unexpected unlock ../drivers/dma/pch_dma.c:839:14: warning: incorrect type in assignment (different address spaces) ../drivers/dma/pch_dma.c:839:14: expected struct pch_dma_regs *regs ../drivers/dma/pch_dma.c:839:14: got void [noderef] __iomem *membase ../drivers/dma/pch_dma.c:872:34: warning: incorrect type in assignment (different address spaces) ../drivers/dma/pch_dma.c:872:34: expected void [noderef] __iomem *membase ../drivers/dma/pch_dma.c:872:34: got struct pch_dma_desc_regs * ../drivers/usb/renesas_usbhs/mod_gadget.c: In function ‘usbhs_mod_gadget_probe’: ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:57: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~ ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:54: note: directive argument in the range [-2147483641, 2147483646] 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~~~~~ ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:17: note: ‘snprintf’ output between 4 and 14 bytes into a destination of size 8 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sound/soc/ti/davinci-mcasp.c:1939:73: warning: incorrect type in argument 1 (different base types) ../sound/soc/ti/davinci-mcasp.c:1939:73: expected restricted __be32 const [usertype] *p ../sound/soc/ti/davinci-mcasp.c:1939:73: got unsigned int const [usertype] * ../drivers/usb/renesas_usbhs/mod_host.c:779:28: warning: incorrect type in assignment (different base types) ../drivers/usb/renesas_usbhs/mod_host.c:779:28: expected restricted __le16 [addressable] [usertype] wValue ../drivers/usb/renesas_usbhs/mod_host.c:779:28: got int Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/tty/serial/sh-sci.c: note: in included file (through ../include/linux/serial_sci.h): ../include/linux/serial_core.h:787:34: warning: context imbalance in 'sci_dma_rx_submit' - unexpected unlock ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: warning: incorrect type in argument 2 (different base types) ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: expected unsigned int [usertype] irq_mask ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: got restricted __le32 [usertype] status_lo ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: warning: invalid assignment: |= ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: left side has type restricted __le32 ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: right side has type unsigned long ../drivers/mmc/host/dw_mmc.c:606:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:606:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:606:29: got unsigned int * ../drivers/mmc/host/dw_mmc.c:606:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:606:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:606:29: got unsigned int * ../drivers/mmc/host/dw_mmc.c:619:25: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:619:25: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:678:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:678:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:678:29: got restricted __le32 * ../drivers/mmc/host/dw_mmc.c:678:29: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:678:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:678:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:678:29: got restricted __le32 * ../drivers/mmc/host/dw_mmc.c:678:29: warning: restricted __le32 degrades to integer ../drivers/rapidio/rio.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/dma/ioat/dma.c:463:5: warning: context imbalance in 'ioat_check_space_lock' - different lock contexts for basic block ../drivers/rapidio/rio_cm.c: In function ‘rio_txcq_handler’: ../drivers/rapidio/rio_cm.c:669:21: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 669 | int rc; | ^~ ../drivers/rapidio/rio-driver.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio-sysfs.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/dma/ioat/dca.c:220:54: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:220:54: expected void const volatile [noderef] __iomem *addr ../drivers/dma/ioat/dca.c:220:54: got void * ../drivers/dma/ioat/dca.c:225:55: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:225:55: expected void const volatile [noderef] __iomem *addr ../drivers/dma/ioat/dca.c:225:55: got void * ../drivers/dma/ioat/dca.c:276:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:276:42: expected void *iobase ../drivers/dma/ioat/dca.c:276:42: got void [noderef] __iomem *iobase ../drivers/rapidio/rio-scan.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio_cm.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio_cm.c:379:17: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:398:23: warning: cast to restricted __be32 ../drivers/rapidio/rio_cm.c:399:21: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:425:17: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:436:27: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:457:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:460:32: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:491:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:491:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:529:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:531:32: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:806:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:806:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:806:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:807:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:807:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:807:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:812:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:812:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:812:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:813:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:813:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:813:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:814:22: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:814:22: expected unsigned short [usertype] msg_len ../drivers/rapidio/rio_cm.c:814:22: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:974:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:974:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:974:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:975:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:975:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:975:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:980:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:980:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:980:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:981:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:981:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:981:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1029:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1029:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:1029:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1030:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1030:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:1030:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1031:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1031:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:1031:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1032:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1032:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:1032:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1403:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1403:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:1403:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1404:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1404:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:1404:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1409:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1409:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:1409:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1410:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1410:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:1410:21: got restricted __be16 [usertype] ../drivers/rapidio/switches/idtcps.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/switches/idt_gen2.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/switches/idt_gen3.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/devices/tsi721.c:1793:44: warning: cast to restricted __le64 ../drivers/rapidio/devices/tsi721.c:137:35: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:137:35: expected restricted __le32 ../drivers/rapidio/devices/tsi721.c:137:35: got restricted __be32 ../drivers/rapidio/devices/tsi721.c:139:35: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:139:35: expected restricted __le32 ../drivers/rapidio/devices/tsi721.c:139:35: got unsigned int ../drivers/rapidio/devices/tsi721.c:185:25: warning: cast to restricted __be32 ../drivers/rapidio/devices/tsi721.c:185:25: warning: cast from restricted __le32 ../drivers/rapidio/devices/tsi721.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/devices/tsi721.c:2267:29: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:2267:29: expected unsigned long long [usertype] ../drivers/rapidio/devices/tsi721.c:2267:29: got restricted __le64 [usertype] ../drivers/rapidio/devices/tsi721.c:2527:50: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:2527:50: expected unsigned long long [usertype] ../drivers/rapidio/devices/tsi721.c:2527:50: got restricted __le64 [usertype] ../drivers/rapidio/devices/rio_mport_cdev.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/spi/spi-ti-qspi.c:266:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:266:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:266:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:269:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:269:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:269:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:272:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:272:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:272:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:275:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:275:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:275:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:376:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:378:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:380:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:382:42: warning: cast to restricted __be32 ../drivers/ntb/ntb_transport.c:1810:43: warning: incorrect type in argument 1 (different address spaces) ../drivers/ntb/ntb_transport.c:1810:43: expected void *dst ../drivers/ntb/ntb_transport.c:1810:43: got void [noderef] __iomem *offset ../drivers/ntb/ntb_transport.c:1810:56: warning: incorrect type in argument 2 (different address spaces) ../drivers/ntb/ntb_transport.c:1810:56: expected void const [noderef] __user *src ../drivers/ntb/ntb_transport.c:1810:56: got void *buf ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: got unsigned int [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:457:16: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/sh_flctl.c:480:26: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:495:38: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:511:24: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:511:24: expected unsigned int val ../drivers/mtd/nand/raw/sh_flctl.c:511:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:524:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:524:24: expected unsigned long ../drivers/mtd/nand/raw/sh_flctl.c:524:24: got restricted __be32 [usertype] ../drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:433:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? .pylintrc: warning: ignored by one of the .gitignore files ../drivers/dma/mediatek/mtk-hsdma.c:450:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:450:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:450:17: got unsigned long long [usertype] src ../drivers/dma/mediatek/mtk-hsdma.c:451:17: warning: restricted __le32 degrades to integer ../drivers/dma/mediatek/mtk-hsdma.c:451:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:451:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:451:17: got unsigned int ../drivers/dma/mediatek/mtk-hsdma.c:455:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:455:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:455:17: got unsigned long long [usertype] dest ../drivers/dma/mediatek/mtk-hsdma.c:456:17: warning: incorrect type in assignment (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:456:17: expected restricted __le32 volatile ../drivers/dma/mediatek/mtk-hsdma.c:456:17: got int ../drivers/dma/mediatek/mtk-hsdma.c:579:33: warning: restricted __le32 degrades to integer ../drivers/dma/mediatek/mtk-hsdma.c:877:18: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:877:18: expected restricted __le32 [usertype] ddone ../drivers/dma/mediatek/mtk-hsdma.c:877:18: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:878:16: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:878:16: expected restricted __le32 [usertype] ls0 ../drivers/dma/mediatek/mtk-hsdma.c:878:16: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:882:18: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:882:18: expected restricted __le32 [usertype] ddone ../drivers/dma/mediatek/mtk-hsdma.c:882:18: got unsigned long ../drivers/dma/mediatek/mtk-hsdma.c:883:16: warning: incorrect type in initializer (different base types) ../drivers/dma/mediatek/mtk-hsdma.c:883:16: expected restricted __le32 [usertype] ls0 ../drivers/dma/mediatek/mtk-hsdma.c:883:16: got unsigned long ../drivers/dma/idxd/cdev.c:507:24: warning: incorrect type in return expression (different base types) ../drivers/dma/idxd/cdev.c:507:24: expected restricted __poll_t ../drivers/dma/idxd/cdev.c:507:24: got int ../crypto/async_tx/raid6test.c:21:14: warning: symbol 'dataoffs' was not declared. Should it be static? ../drivers/dma/xilinx/xilinx_dma.c:1038:39: warning: context imbalance in 'xilinx_dma_chan_handle_cyclic' - unexpected unlock ../drivers/pci/controller/dwc/pcie-designware-debugfs.c:868:27: warning: symbol 'dw_pcie_ptm_ops' was not declared. Should it be static? ../net/core/dev.c:5636:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4113:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5594:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block Warning: ../drivers/dma/dmatest.c:152 struct member '' not described in 'dmatest_info' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'last_interrupt' not described in 'xdma_chan' Warning: ../drivers/dma/xilinx/xdma.c:75 struct member 'stop_requested' not described in 'xdma_chan' ../drivers/dma/bcm-sba-raid.c:575:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:575:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:575:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:594:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:594:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:594:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:663:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:663:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:663:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:682:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:682:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:682:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:783:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:783:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:783:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:801:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:801:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:801:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:821:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:821:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:821:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:930:41: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:930:41: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:930:41: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:949:41: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:949:41: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:949:41: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:964:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:964:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:964:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:983:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:983:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:983:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1004:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1004:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1004:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1031:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1031:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1031:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1107:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1107:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1107:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1127:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1127:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1127:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1144:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1144:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1144:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1164:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1164:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1164:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1188:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1188:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1188:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1213:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1213:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1213:25: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1242:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1242:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1242:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1265:33: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1265:33: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1265:33: got restricted __le64 [usertype] ../drivers/dma/bcm-sba-raid.c:1285:25: warning: incorrect type in assignment (different base types) ../drivers/dma/bcm-sba-raid.c:1285:25: expected unsigned long long [usertype] ../drivers/dma/bcm-sba-raid.c:1285:25: got restricted __le64 [usertype] ../drivers/gpu/drm/xlnx/zynqmp_disp.c:133:42: warning: array of flexible structures ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/dma/hisi_dma.c:744:21: warning: cast to restricted __le16 ../drivers/dma/hisi_dma.c:744:21: warning: restricted __le16 degrades to integer ../drivers/dma/hisi_dma.c:744:21: warning: restricted __le16 degrades to integer ../drivers/tty/serial/imx.c:2095:13: warning: context imbalance in 'imx_uart_console_device_lock' - wrong count at exit ../drivers/tty/serial/imx.c:2102:13: warning: context imbalance in 'imx_uart_console_device_unlock' - unexpected unlock ../sound/soc/loongson/loongson_dma.c:336:39: warning: symbol 'loongson_i2s_component' was not declared. Should it be static? ../drivers/dma/loongson1-apb-dma.c:385:9: warning: context imbalance in 'ls1x_dma_pause' - wrong count at exit ../drivers/dma/loongson1-apb-dma.c:133:9: warning: context imbalance in 'ls1x_dma_resume' - wrong count at exit ../drivers/dma/loongson1-apb-dma.c:474:9: warning: context imbalance in 'ls1x_dma_issue_pending' - wrong count at exit ../sound/soc/intel/atom/sst/sst_loader.c:212:43: warning: incorrect type in argument 2 (different address spaces) ../sound/soc/intel/atom/sst/sst_loader.c:212:43: expected void *destn ../sound/soc/intel/atom/sst/sst_loader.c:212:43: got void [noderef] __iomem * ../drivers/dma/pch_dma.c:839:14: warning: incorrect type in assignment (different address spaces) ../drivers/dma/pch_dma.c:839:14: expected struct pch_dma_regs *regs ../drivers/dma/pch_dma.c:839:14: got void [noderef] __iomem *membase ../drivers/dma/pch_dma.c:872:34: warning: incorrect type in assignment (different address spaces) ../drivers/dma/pch_dma.c:872:34: expected void [noderef] __iomem *membase ../drivers/dma/pch_dma.c:872:34: got struct pch_dma_desc_regs * ../drivers/usb/renesas_usbhs/mod.c: In function ‘usbhs_status_get_each_irq’: ../drivers/usb/renesas_usbhs/mod.c:195:13: warning: variable ‘intenb0’ set but not used [-Wunused-but-set-variable] 195 | u16 intenb0, intenb1; | ^~~~~~~ ../drivers/tty/serial/pch_uart.c:1403:30: warning: restricted upf_t degrades to integer ../drivers/tty/serial/pch_uart.c:1407:32: warning: invalid assignment: &= ../drivers/tty/serial/pch_uart.c:1407:32: left side has type int ../drivers/tty/serial/pch_uart.c:1407:32: right side has type restricted upf_t ../drivers/tty/serial/samsung_tty.c: In function ‘s3c24xx_serial_get_options.constprop’: ../drivers/tty/serial/samsung_tty.c:2340:49: warning: ‘%d’ directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~ ../drivers/tty/serial/samsung_tty.c:2340:35: note: directive argument in the range [0, 255] 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c:2340:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 2340 | sprintf(clk_name, "clk_uart_baud%d", clk_sel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c: In function ‘s3c24xx_serial_init_port’: ../drivers/tty/serial/samsung_tty.c:1792:49: warning: ‘%d’ directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~ In function ‘s3c24xx_serial_enable_baudclk’, inlined from ‘s3c24xx_serial_init_port’ at ../drivers/tty/serial/samsung_tty.c:1898:8: ../drivers/tty/serial/samsung_tty.c:1792:35: note: directive argument in the range [0, 254] 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~~~~~~~~~~~~~~~~ ../drivers/tty/serial/samsung_tty.c:1792:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 1792 | sprintf(clk_name, "clk_uart_baud%d", clk_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/tty/serial/samsung_tty.c: note: in included file: ../include/linux/serial_core.h:787:34: warning: context imbalance in 's3c24xx_serial_console_write' - unexpected unlock Warning: ../sound/soc/sunxi/sun4i-spdif.c:179 struct member 'mclk_multiplier' not described in 'sun4i_spdif_quirks' ../drivers/md/raid5-cache.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/usb/renesas_usbhs/mod_gadget.c: In function ‘usbhs_mod_gadget_probe’: ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:57: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~ ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:54: note: directive argument in the range [-2147483641, 2147483646] 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~~~~~ ../drivers/usb/renesas_usbhs/mod_gadget.c:1140:17: note: ‘snprintf’ output between 4 and 14 bytes into a destination of size 8 1140 | snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/md/raid5.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/md/raid5.c:104:9: warning: context imbalance in 'raid5_quiesce' - different lock contexts for basic block ../drivers/md/raid5-ppl.c: note: in included file: ../drivers/md/raid5.h:271:14: warning: array of flexible structures ../drivers/tty/serial/sh-sci.c: note: in included file (through ../include/linux/serial_sci.h): ../include/linux/serial_core.h:787:34: warning: context imbalance in 'sci_dma_rx_submit' - unexpected unlock ../drivers/usb/renesas_usbhs/mod_host.c:779:28: warning: incorrect type in assignment (different base types) ../drivers/usb/renesas_usbhs/mod_host.c:779:28: expected restricted __le16 [addressable] [usertype] wValue ../drivers/usb/renesas_usbhs/mod_host.c:779:28: got int ../sound/soc/ti/davinci-i2s.c:113:44: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:120:39: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:121:43: warning: incorrect type in initializer (different base types) ../sound/soc/ti/davinci-i2s.c:121:43: expected unsigned char ../sound/soc/ti/davinci-i2s.c:121:43: got restricted snd_pcm_format_t [usertype] ../sound/soc/ti/davinci-i2s.c:122:43: warning: incorrect type in initializer (different base types) ../sound/soc/ti/davinci-i2s.c:122:43: expected unsigned char ../sound/soc/ti/davinci-i2s.c:122:43: got restricted snd_pcm_format_t [usertype] ../sound/soc/ti/davinci-i2s.c:501:53: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:597:32: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:599:42: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/ti/davinci-i2s.c:599:29: warning: incorrect type in assignment (different base types) ../sound/soc/ti/davinci-i2s.c:599:29: expected restricted snd_pcm_format_t [assigned] [usertype] fmt ../sound/soc/ti/davinci-i2s.c:599:29: got unsigned char const ../sound/soc/ti/davinci-mcasp.c:1939:73: warning: incorrect type in argument 1 (different base types) ../sound/soc/ti/davinci-mcasp.c:1939:73: expected restricted __be32 const [usertype] *p ../sound/soc/ti/davinci-mcasp.c:1939:73: got unsigned int const [usertype] * Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing0' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing1' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'timing2' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dmach' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'pio_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'addr_data' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'sg_io' not described in 'mxs_i2c_dev' Warning: ../drivers/i2c/busses/i2c-mxs.c:129 struct member 'dma_read' not described in 'mxs_i2c_dev' ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: warning: incorrect type in argument 2 (different base types) ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: expected unsigned int [usertype] irq_mask ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1127:78: got restricted __le32 [usertype] status_lo ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: warning: invalid assignment: |= ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: left side has type restricted __le32 ../drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:1128:62: right side has type unsigned long ../drivers/dma/ioat/dma.c:463:5: warning: context imbalance in 'ioat_check_space_lock' - different lock contexts for basic block ../drivers/rapidio/rio_cm.c: In function ‘rio_txcq_handler’: ../drivers/rapidio/rio_cm.c:669:21: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 669 | int rc; | ^~ ../drivers/dma/ioat/dca.c:220:54: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:220:54: expected void const volatile [noderef] __iomem *addr ../drivers/dma/ioat/dca.c:220:54: got void * ../drivers/dma/ioat/dca.c:225:55: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:225:55: expected void const volatile [noderef] __iomem *addr ../drivers/dma/ioat/dca.c:225:55: got void * ../drivers/dma/ioat/dca.c:276:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/dma/ioat/dca.c:276:42: expected void *iobase ../drivers/dma/ioat/dca.c:276:42: got void [noderef] __iomem *iobase ../drivers/rapidio/rio.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio-driver.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio-sysfs.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio-scan.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio_cm.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/rio_cm.c:379:17: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:398:23: warning: cast to restricted __be32 ../drivers/rapidio/rio_cm.c:399:21: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:425:17: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:436:27: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:457:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:460:32: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:491:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:491:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:529:9: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:531:32: warning: cast to restricted __be16 ../drivers/rapidio/rio_cm.c:806:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:806:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:806:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:807:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:807:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:807:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:812:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:812:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:812:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:813:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:813:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:813:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:814:22: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:814:22: expected unsigned short [usertype] msg_len ../drivers/rapidio/rio_cm.c:814:22: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:974:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:974:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:974:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:975:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:975:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:975:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:980:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:980:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:980:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:981:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:981:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:981:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1029:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1029:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:1029:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1030:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1030:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:1030:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1031:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1031:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:1031:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1032:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1032:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:1032:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1403:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1403:26: expected unsigned int [usertype] src_id ../drivers/rapidio/rio_cm.c:1403:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1404:26: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1404:26: expected unsigned int [usertype] dst_id ../drivers/rapidio/rio_cm.c:1404:26: got restricted __be32 [usertype] ../drivers/rapidio/rio_cm.c:1409:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1409:21: expected unsigned short [usertype] dst_ch ../drivers/rapidio/rio_cm.c:1409:21: got restricted __be16 [usertype] ../drivers/rapidio/rio_cm.c:1410:21: warning: incorrect type in assignment (different base types) ../drivers/rapidio/rio_cm.c:1410:21: expected unsigned short [usertype] src_ch ../drivers/rapidio/rio_cm.c:1410:21: got restricted __be16 [usertype] ../drivers/rapidio/switches/idtcps.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/switches/idt_gen2.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/devices/tsi721.c:1793:44: warning: cast to restricted __le64 ../drivers/rapidio/devices/tsi721.c:137:35: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:137:35: expected restricted __le32 ../drivers/rapidio/devices/tsi721.c:137:35: got restricted __be32 ../drivers/rapidio/devices/tsi721.c:139:35: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:139:35: expected restricted __le32 ../drivers/rapidio/devices/tsi721.c:139:35: got unsigned int ../drivers/rapidio/devices/tsi721.c:185:25: warning: cast to restricted __be32 ../drivers/rapidio/devices/tsi721.c:185:25: warning: cast from restricted __le32 ../drivers/rapidio/devices/tsi721.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/devices/tsi721.c:2267:29: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:2267:29: expected unsigned long long [usertype] ../drivers/rapidio/devices/tsi721.c:2267:29: got restricted __le64 [usertype] ../drivers/rapidio/devices/tsi721.c:2527:50: warning: incorrect type in assignment (different base types) ../drivers/rapidio/devices/tsi721.c:2527:50: expected unsigned long long [usertype] ../drivers/rapidio/devices/tsi721.c:2527:50: got restricted __le64 [usertype] ../drivers/rapidio/switches/idt_gen3.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/rapidio/devices/rio_mport_cdev.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/mmc/host/dw_mmc.c:606:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:606:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:606:29: got unsigned int * ../drivers/mmc/host/dw_mmc.c:606:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:606:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:606:29: got unsigned int * ../drivers/mmc/host/dw_mmc.c:619:25: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:619:25: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:678:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:678:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:678:29: got restricted __le32 * ../drivers/mmc/host/dw_mmc.c:678:29: warning: restricted __le32 degrades to integer ../drivers/mmc/host/dw_mmc.c:678:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/mmc/host/dw_mmc.c:678:29: expected void const volatile [noderef] __iomem *addr ../drivers/mmc/host/dw_mmc.c:678:29: got restricted __le32 * ../drivers/mmc/host/dw_mmc.c:678:29: warning: restricted __le32 degrades to integer ../drivers/spi/spi-ti-qspi.c:266:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:266:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:266:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:269:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:269:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:269:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:272:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:272:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:272:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:275:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:275:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:275:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:376:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:378:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:380:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:382:42: warning: cast to restricted __be32 ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1240:43: got unsigned int [usertype] ../drivers/ntb/ntb_transport.c:1810:43: warning: incorrect type in argument 1 (different address spaces) ../drivers/ntb/ntb_transport.c:1810:43: expected void *dst ../drivers/ntb/ntb_transport.c:1810:43: got void [noderef] __iomem *offset ../drivers/ntb/ntb_transport.c:1810:56: warning: incorrect type in argument 2 (different address spaces) ../drivers/ntb/ntb_transport.c:1810:56: expected void const [noderef] __user *src ../drivers/ntb/ntb_transport.c:1810:56: got void *buf ../drivers/mtd/nand/raw/sh_flctl.c:457:16: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/sh_flctl.c:480:26: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:495:38: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:511:24: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:511:24: expected unsigned int val ../drivers/mtd/nand/raw/sh_flctl.c:511:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:524:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:524:24: expected unsigned long ../drivers/mtd/nand/raw/sh_flctl.c:524:24: got restricted __be32 [usertype] ../drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:433:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?