Buildresult: mpe-quick/powerpc-allyesconfig/powerpc-gcc12 built on Oct 10 2022, 16:35
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 10 2022, 16:35
Duration:
0:12:37.405159
Builder:
ka7
Revision:
powerpc: Add -Wimplicit-fallthrough to arch CFLAGS (
c719d28628a5c74f07b8250f8e6f092e9015ba82)
Target:
mpe-quick/powerpc-allyesconfig/powerpc-gcc12
Branch:
mpe-quick
Compiler:
powerpc-gcc12
(powerpc64-linux-gcc (GCC) 12.2.0 / GNU ld (GNU Binutils) 2.39)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible errors
arch/powerpc/boot/dts/fsl/p1020rdb-pd.dtb: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dtb: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/boot/dts/mgcoge.dtb: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/bluestone.dtb: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/xpedite5200.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/xpedite5200_xmon.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" 2990 | ceph_pr_addr(&con->peer_addr.in_addr), con->error_msg); 210 | switch (error->error) { 696 | "%s: Poll Failed: 0x%08x 0x%08x 0x%08x\n", 449 | printk(KERN_ERR "%s: ERROR Reading crb_init area: " include/linux/compiler.h:373:45: error: call to '__compiletime_assert_635' declared with attribute error: BUILD_BUG_ON failed: (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) & (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) - 1)) != 0 include/linux/compiler.h:373:45: error: call to '__compiletime_assert_635' declared with attribute error: BUILD_BUG_ON failed: (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) & (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) - 1)) != 0 make[6]: *** [scripts/Makefile.build:293: drivers/net/ethernet/netronome/nfp/bpf/jit.o] Error 1 make[5]: *** [scripts/Makefile.build:518: drivers/net/ethernet/netronome/nfp] Error 2 make[4]: *** [scripts/Makefile.build:518: drivers/net/ethernet/netronome] Error 2 2401 | for (i = 0, fabric = error->desc; i < error->num_entries; i++) { make[3]: *** [scripts/Makefile.build:518: drivers/net/ethernet] Error 2 make[2]: *** [scripts/Makefile.build:518: drivers/net] Error 2 make[1]: *** [Makefile:1060: drivers] Error 2 make: *** [Makefile:152: sub-make] Error 2
Possible warnings (2837)
scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property arch/powerpc/boot/dts/fsl/mpc8641_hpcn_36b.dtb: Warning (interrupts_property): /pcie@fffe08000: Missing #interrupt-cells in interrupt-parent arch/powerpc/boot/dts/fsl/p1025rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1025rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1025rdb_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1025rdb_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/icon.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/makalu.dtb: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pd.dtb: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dtb: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/boot/dts/fsl/p1020rdb-pc_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/mgcoge.dtb: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_sbc310.dtb: Warning (interrupts_property): /pcie@fef08000: Missing #interrupt-cells in interrupt-parent arch/powerpc/boot/dts/fsl/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8641_hpcn.dtb: Warning (interrupts_property): /pcie@ffe08000: Missing #interrupt-cells in interrupt-parent arch/powerpc/boot/dts/fsl/p1020rdb.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/uc101.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core1.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core1.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dtb: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/o2i.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core0.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core0.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/kernel/trace/ftrace.c:971:50: warning: taking address of packed member of 'struct ftrace_graph_ent' may result in an unaligned pointer value [-Waddress-of-packed-member] arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe250000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe250000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe260000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe260000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe270000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe270000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/currituck.dtb: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] arch/powerpc/boot/dts/xpedite5200.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc8610_hpcd.dtb: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/glacier.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/stxssa8555.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/redwood.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/xpedite5200_xmon.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" include/linux/thread_info.h:119:17: warning: 'fast_sops' may be used uninitialized [-Wmaybe-uninitialized] arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' include/linux/thread_info.h:119:17: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] arch/powerpc/kernel/vdso.c:531:67: warning: array subscript 'int[0]' is partly outside array bounds of 'char[1]' [-Warray-bounds] block/partitions/atari.c:72:14: warning: taking address of packed member of 'struct rootsector' may result in an unaligned pointer value [-Waddress-of-packed-member] block/partitions/atari.c:135:22: warning: taking address of packed member of 'struct rootsector' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/codecs/onyx.c:380:44: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] kernel/trace/trace.c:8490:40: warning: comparison between two arrays [-Warray-compare] kernel/power/user.c:443:50: warning: taking address of packed member of 'struct compat_resume_swap_area' may result in an unaligned pointer value [-Waddress-of-packed-member] kernel/power/user.c:444:48: warning: taking address of packed member of 'struct compat_resume_swap_area' may result in an unaligned pointer value [-Waddress-of-packed-member] mm/hugetlb.c:3880:47: warning: expression does not compute the number of elements in this array; element type is 'long unsigned int', not 'u32' {aka 'unsigned int'} [-Wsizeof-array-div] include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] arch/powerpc/xmon/xmon.c:4034:38: warning: this statement may fall through [-Wimplicit-fallthrough=] block/partitions/karma.c:44:13: warning: taking address of packed member of 'struct disklabel' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/core.c:97:26: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/core.c:100:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] arch/powerpc/kvm/book3s_32_mmu.c:252:56: warning: this statement may fall through [-Wimplicit-fallthrough=] sound/aoa/soundbus/i2sbus/pcm.c:486:21: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:487:21: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:499:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:508:23: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:511:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:514:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:515:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:586:43: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:627:22: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/soundbus/i2sbus/pcm.c:671:30: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] kernel/time/posix-cpu-timers.c:1018:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] kernel/time/posix-cpu-timers.c:760:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] arch/powerpc/kernel/nvram_64.c:811:17: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/thread_info.h:119:17: warning: 'lbuf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'user_auxv' may be used uninitialized [-Wmaybe-uninitialized] fs/ceph/mds_client.c:1714:30: warning: taking address of packed member of 'struct ceph_mds_cap_release' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ceph/mdsmap.c:209:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ecryptfs/keystore.c:1156:48: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ecryptfs/keystore.c:1175:34: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/dlm/lowcomms.c:891:23: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/dlm/lowcomms.c:892:30: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:111:51: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:126:35: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:131:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:132:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:133:56: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:399:35: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:404:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:405:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/control_compat.c:406:56: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ceph/debugfs.c:40:45: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'configfs_example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'configfs_example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'hw_break_module_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hw_break_module_exit': 'cold' [-Wmissing-attributes] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kdb_hello_cmd_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kdb_hello_cmd_exit': 'cold' [-Wmissing-attributes] net/8021q/vlan_core.c:36:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ext2/super.c:898:29: warning: 'opts.s_mount_opt' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kprobe_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kprobe_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kretprobe_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kretprobe_exit': 'cold' [-Wmissing-attributes] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rpmsg_sample_client_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rpmsg_sample_client_init': 'cold' [-Wmissing-attributes] fs/ext4/extents.c:3696:31: warning: 'zero_ex2.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/extents.c:3696:31: warning: 'zero_ex2.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/extents.c:3696:31: warning: 'zero_ex2.ee_block' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/extents.c:3694:23: warning: 'zero_ex1.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/extents.c:3694:23: warning: 'zero_ex1.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/extents.c:3694:23: warning: 'zero_ex1.ee_block' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'trace_event_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'trace_event_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'trace_printk_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'trace_printk_exit': 'cold' [-Wmissing-attributes] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] arch/powerpc/platforms/powermac/feature.c:1472:20: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtty_dev_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtty_dev_exit': 'cold' [-Wmissing-attributes] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mdpy_dev_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mdpy_dev_exit': 'cold' [-Wmissing-attributes] sound/core/timer_compat.c:54:42: warning: taking address of packed member of 'struct snd_timer_gparams32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/timer_compat.c:55:42: warning: taking address of packed member of 'struct snd_timer_gparams32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/firewire/fireworks/fireworks_command.c:219:32: warning: converting a packed 'struct snd_efw_hwinfo' pointer (alignment 1) to a '__be32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] sound/firewire/fireworks/fireworks_command.c:260:9: warning: converting a packed 'struct snd_efw_phys_meters' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] sound/firewire/fireworks/fireworks_command.c:266:31: warning: converting a packed 'struct snd_efw_phys_meters' pointer (alignment 1) to a '__be32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mdpy_fb_init': 'cold' [-Wmissing-attributes] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/firewire/fireworks/fireworks_proc.c:152:18: warning: taking address of packed member of 'struct snd_efw_phys_meters' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mbochs_dev_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mbochs_dev_exit': 'cold' [-Wmissing-attributes] fs/cifs/smb2pdu.c:581:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2pdu.c:1714:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2pdu.c:1797:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2pdu.c:1820:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2pdu.c:1854:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2pdu.c:1899:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2pdu.c:3799:30: warning: taking address of packed member of 'struct smb2_set_info_req' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] sound/core/pcm_compat.c:218:33: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:226:36: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:229:39: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:230:37: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:231:36: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:232:36: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:233:40: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:234:40: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:235:46: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:236:48: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:239:52: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:495:30: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:496:41: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:497:42: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:525:37: warning: taking address of packed member of 'struct snd_pcm_mmap_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:526:38: warning: taking address of packed member of 'struct snd_pcm_mmap_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:528:47: warning: taking address of packed member of 'struct snd_pcm_mmap_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:531:41: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/pcm_compat.c:532:42: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/condition.c:406:33: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/condition.c:409:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/condition.c:415:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/condition.c:416:34: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/condition.c:425:38: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/condition.c:679:38: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2file.c:92:39: warning: taking address of packed member of 'struct smb2_file_all_info' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/domain.c:56:43: warning: taking address of packed member of 'struct tomoyo_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/domain.c:139:43: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'preemptirq_delay_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'preemptirq_delay_exit': 'cold' [-Wmissing-attributes] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kmemleak_test_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kmemleak_test_exit': 'cold' [-Wmissing-attributes] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 3) & -256 | 240' to '240' [-Woverflow] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:256:32: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:483:38: warning: taking address of packed member of 'struct tomoyo_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:502:49: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:539:41: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:541:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:542:63: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:564:49: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:566:44: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:569:50: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:578:41: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:580:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/gc.c:581:58: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 3) & -256 | 240' to '240' [-Woverflow] sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 21) & -256 | 130' to '130' [-Woverflow] sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 3) & -256' to '0' [-Woverflow] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/isa/opti9xx/miro.c:886:54: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_miro_read(chip, 3) & -256 | 240' to '240' [-Woverflow] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:111:33: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:113:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:121:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:122:43: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:164:33: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:166:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:173:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/memory.c:175:31: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:39:37: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:40:42: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:41:40: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:42:27: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:72:37: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:93:36: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/rawmidi_compat.c:94:36: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] crypto/lrw.c:290:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] kernel/extable.c:49:59: warning: comparison between two arrays [-Warray-compare] crypto/xts.c:219:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] lib/zstd/zstd_opt.h:855:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] lib/zstd/zstd_opt.h:855:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] lib/zstd/zstd_opt.h:547:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] lib/zstd/zstd_opt.h:547:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/btree.c:48:53: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/btree.c:60:53: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_async_probe_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_async_probe_exit': 'cold' [-Wmissing-attributes] fs/hfs/extent.c:297:26: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/extent.c:300:26: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/super.c:547:30: warning: taking address of packed member of 'struct hfsplus_vh' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:340:61: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:343:61: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:478:53: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:479:38: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:479:56: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:495:53: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:495:62: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/inode.c:495:79: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hpfs/anode.c:209:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bplus_internal_node[0]' [-Wzero-length-bounds] fs/hpfs/anode.c:210:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bplus_internal_node[0]' [-Wzero-length-bounds] fs/hfs/mdb.c:218:30: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/mdb.c:285:70: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/mdb.c:286:38: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/mdb.c:287:70: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/mdb.c:288:38: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/part_tbl.c:77:21: warning: taking address of packed member of 'struct old_pmap' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/base/regmap/regcache-rbtree.c:129:22: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/base/regmap/regcache-rbtree.c:130:25: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/base/regmap/regcache-rbtree.c:242:32: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/base/regmap/regcache-rbtree.c:243:26: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] sound/usb/misc/ua101.c:1129:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] sound/usb/misc/ua101.c:1130:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] sound/usb/misc/ua101.c:203:56: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] sound/usb/misc/ua101.c:297:40: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'stkbuf' may be used uninitialized [-Wmaybe-uninitialized] net/bluetooth/mgmt.c:328:34: warning: taking address of packed member of 'struct mgmt_rp_read_commands' may result in an unaligned pointer value [-Waddress-of-packed-member] net/bluetooth/mgmt.c:336:34: warning: taking address of packed member of 'struct mgmt_rp_read_commands' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/unicode.c:40:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/unicode.c:41:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/unicode.c:74:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/unicode.c:75:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/unicode.c:134:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/part_tbl.c:77:44: warning: taking address of packed member of 'struct old_pmap' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] fs/hfsplus/xattr.c:104:30: warning: taking address of packed member of 'struct hfs_btree_header_rec' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'addr' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] net/can/gw.c:658:49: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] net/can/gw.c:674:48: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] net/can/gw.c:690:49: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] net/can/gw.c:706:49: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] net/ceph/messenger.c:452:42: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:474:43: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:481:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:485:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:684:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:708:52: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:1794:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:1948:47: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2029:29: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2032:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2034:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2043:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2044:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2049:31: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2052:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2100:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2110:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2144:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2201:45: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2408:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2987:44: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:2990:30: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] net/ceph/mon_client.c:79:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/mon_client.c:206:49: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/mon_client.c:1172:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] lib/test_rhashtable.c:512:25: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] lib/test_rhashtable.c:517:25: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] lib/test_rhashtable.c:523:33: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] lib/test_rhashtable.c:532:25: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] net/ceph/cls_lock_client.c:274:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/bluetooth/ecdh_helper.c:122:55: warning: argument 2 of type 'const u8[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] net/ceph/osd_client.c:4929:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'nfs4flexfilelayout_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'nfs4flexfilelayout_exit': 'cold' [-Wmissing-attributes] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] net/ceph/debugfs.c:49:41: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/debugfs.c:85:44: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/nfsd/vfs.c:255:21: warning: 'dentry' may be used uninitialized [-Wmaybe-uninitialized] fs/jffs2/summary.c:130:44: warning: converting a packed 'struct jffs2_sum_inode_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:154:44: warning: converting a packed 'struct jffs2_sum_dirent_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:173:44: warning: converting a packed 'struct jffs2_sum_xattr_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:188:44: warning: converting a packed 'struct jffs2_sum_xref_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:278:69: warning: converting a packed 'struct jffs2_sum_inode_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:312:69: warning: converting a packed 'struct jffs2_sum_dirent_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:328:69: warning: converting a packed 'struct jffs2_sum_xattr_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/jffs2/summary.c:339:69: warning: converting a packed 'struct jffs2_sum_xref_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'write_buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] net/ethernet/eth.c:168:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] net/ethernet/eth.c:169:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] net/ethernet/eth.c:174:28: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/char/tpm/tpm2-space.c:421:40: warning: taking address of packed member of 'struct tpm2_cap_handles' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/notify/fdinfo.c:65:61: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] net/core/dev.c:4338:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] net/core/dev.c:4366:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] crypto/ecc.c:1093:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'tcrypt_mod_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tcrypt_mod_fini': 'cold' [-Wmissing-attributes] sound/pci/mixart/mixart_core.c:461:50: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] sound/pci/mixart/mixart_core.c:463:63: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] sound/pci/mixart/mixart_core.c:487:80: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] sound/pci/mixart/mixart_core.c:488:71: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] sound/pci/mixart/mixart_core.c:475:77: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] drivers/block/rbd.c:2007:20: warning: 'dummy' is used uninitialized [-Wuninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'ps3vram_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ps3vram_exit': 'cold' [-Wmissing-attributes] include/linux/thread_info.h:119:17: warning: 'devname' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'addr' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'info' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'info' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'info' may be used uninitialized [-Wmaybe-uninitialized] drivers/crypto/chelsio/chtls/chtls_io.c:177:17: warning: taking address of packed member of 'struct flowc_packed' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_hw.c:136:24: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/spinlock.h:324:28: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_hw.c:151:22: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_hw.c:163:24: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_hw.c:181:22: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_hw.c:192:24: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:157:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:207:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:248:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:267:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:417:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:467:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:510:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:529:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/dir.c:1048:50: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] lib/dynamic_debug.c:985:31: warning: comparison between two arrays [-Warray-compare] fs/ntfs/namei.c:188:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/namei.c:242:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/namei.c:315:32: warning: converting a packed 'MFT_RECORD' pointer (alignment 1) to a 'struct dentry' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/super.c:597:17: warning: converting a packed 'NTFS_BOOT_SECTOR' pointer (alignment 1) to a 'le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/unistr.c:220:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/unistr.c:229:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/unistr.c:231:36: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ocfs2/dir.c:1175:46: warning: taking address of packed member of 'struct ocfs2_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ocfs2/dir.c:2772:22: warning: taking address of packed member of 'struct ocfs2_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ocfs2/ioctl.c:213:35: warning: taking address of packed member of 'struct ocfs2_info_label' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ocfs2/ioctl.c:232:35: warning: taking address of packed member of 'struct ocfs2_info_uuid' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] net/ipv6/ndisc.c:1430:57: warning: converting a packed 'struct nd_opt_hdr' pointer (alignment 1) to a 'struct route_info' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/dma/stm32-mdma.c:781:13: warning: 'ccr' may be used uninitialized [-Wmaybe-uninitialized] drivers/fsi/fsi-master-ast-cf.c:459:19: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] net/netfilter/ipvs/ip_vs_core.c:2110:18: warning: 'iphdr.protocol' may be used uninitialized [-Wmaybe-uninitialized] net/ipv6/exthdrs.c:234:30: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/exthdrs.c:241:50: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:73:29: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:104:47: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:106:47: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:114:32: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:116:32: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:121:24: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/soc/kirkwood/kirkwood-dma.c:94:24: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] sound/soc/kirkwood/kirkwood-dma.c:97:36: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] sound/soc/kirkwood/kirkwood-dma.c:98:36: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] fs/reiserfs/stree.c:104:9: warning: converting a packed 'const struct reiserfs_key' pointer (alignment 1) to a '__u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/reiserfs/stree.c:105:9: warning: converting a packed 'const struct reiserfs_key' pointer (alignment 1) to a '__u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/reiserfs/stree.c:1495:21: warning: taking address of packed member of 'struct reiserfs_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:72:30: warning: taking address of packed member of 'struct xenix_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:73:26: warning: taking address of packed member of 'struct xenix_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:127:30: warning: taking address of packed member of 'struct sysv2_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:128:26: warning: taking address of packed member of 'struct sysv2_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:151:30: warning: taking address of packed member of 'struct coh_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:152:26: warning: taking address of packed member of 'struct coh_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:172:30: warning: taking address of packed member of 'struct v7_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:173:26: warning: taking address of packed member of 'struct v7_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/balloc.c:101:22: warning: taking address of packed member of 'struct logicalVolIntegrityDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/balloc.c:101:43: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] fs/udf/balloc.c:101:43: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] fs/udf/ialloc.c:38:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/ialloc.c:40:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/ialloc.c:99:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/ialloc.c:101:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hid/uhid.c:240:54: warning: taking address of packed member of 'struct uhid_get_report_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hid/uhid.c:284:54: warning: taking address of packed member of 'struct uhid_set_report_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/inode.c:1952:30: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/inode.c:2214:38: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/inode.c:2231:38: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_bpf_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_bpf_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_ubsan_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_ubsan_exit': 'cold' [-Wmissing-attributes] lib/test_ubsan.c:107:16: warning: array subscript 'long long int[0]' is partly outside array bounds of 'volatile int[1]' [-Warray-bounds] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_module_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_module_exit': 'cold' [-Wmissing-attributes] fs/reiserfs/procfs.c:312:37: warning: taking address of packed member of 'struct reiserfs_super_block_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_static_key_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_static_key_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_user_copy_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_user_copy_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_static_key_base_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_static_key_base_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_kmod_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_kmod_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'percpu_test_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'percpu_test_exit': 'cold' [-Wmissing-attributes] fs/udf/super.c:2444:61: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] lib/crc32.c:209:5: warning: 'crc32_le_base' specifies less restrictive attribute than its target 'crc32_le': 'pure' [-Wmissing-attributes] lib/crc32.c:210:5: warning: '__crc32c_le_base' specifies less restrictive attribute than its target '__crc32c_le': 'pure' [-Wmissing-attributes] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hid/hid-cp2112.c:966:37: warning: taking address of packed member of 'struct cp2112_string_report' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hid/hid-cp2112.c:1013:37: warning: taking address of packed member of 'struct cp2112_string_report' may result in an unaligned pointer value [-Waddress-of-packed-member] net/mac80211/rx.c:322:22: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] net/phonet/socket.c:223:47: warning: converting a packed 'struct sockaddr_pn' pointer (alignment 1) to a 'struct sockaddr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] fs/xfs/libxfs/xfs_attr_remote.c:131:35: warning: storing the address of local variable '__here' in '*failaddr' [-Wdangling-pointer=] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'ev' may be used uninitialized [-Wmaybe-uninitialized] net/netfilter/nfnetlink_queue.c:493:35: warning: taking address of packed member of 'struct nfqnl_msg_packet_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/mip6.c:234:41: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/mip6.c:256:50: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/ip6_tunnel.c:419:61: warning: converting a packed 'struct ipv6_opt_hdr' pointer (alignment 1) to a 'struct frag_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] net/netfilter/nfnetlink_osf.c:188:1: warning: function may return address of local variable [-Wreturn-local-addr] net/netfilter/nf_conntrack_core.c:1293:16: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'iovstack' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] net/sctp/sm_statefuns.c:780:21: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/sm_statefuns.c:783:32: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/sm_statefuns.c:1792:21: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/sm_statefuns.c:1910:21: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/input/joystick/analog.c:440:17: warning: 'snprintf' argument 4 overlaps destination object 'analog' [-Wrestrict] drivers/ipack/carriers/tpci200.c:113:25: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:121:25: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:375:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:387:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:411:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:425:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:440:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'i2c_stub_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'i2c_stub_exit': 'cold' [-Wmissing-attributes] fs/xfs/libxfs/xfs_inode_fork.c:731:13: warning: the comparison will always evaluate as 'true' for the address of 'i_df' will never be NULL [-Waddress] net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/isdn/capi/kcapi.c:849:44: warning: argument 2 of type 'u8 *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=] drivers/isdn/capi/kcapi.c:919:38: warning: argument 2 of type 'u8 *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=] net/smc/smc_clc.c:55:32: warning: converting a packed 'struct smc_clc_msg_hdr' pointer (alignment 1) to a 'struct smc_clc_msg_proposal' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_clc.c:81:32: warning: converting a packed 'struct smc_clc_msg_hdr' pointer (alignment 1) to a 'struct smc_clc_msg_decline' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_clc.c:130:34: warning: taking address of packed member of 'struct smc_clc_ipv6_prefix' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_clc.c:225:59: warning: taking address of packed member of 'struct smc_clc_ipv6_prefix' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_clc.c:339:32: warning: converting a packed 'struct smc_clc_msg_hdr' pointer (alignment 1) to a 'struct smc_clc_msg_decline' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] sound/soc/codecs/wm0010.c:666:17: warning: converting a packed 'struct dfw_pllrec' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/unaligned/access_ok.h:40:24: warning: array subscript -1 is outside array bounds of 'struct retrieve_data_struct_cmd[1]' [-Warray-bounds] net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:641:42: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:651:42: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:668:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:682:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:706:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:833:49: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:848:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/iio/accel/mma9553.c:887:34: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/libxfs/xfs_rmap_btree.c:194:22: warning: taking address of packed member of 'struct xfs_rmap_key' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/sm_make_chunk.c:1742:23: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/input/mouse/synaptics.c:989:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/leds/led-class-flash.c:215:16: warning: 'sprintf' argument 3 overlaps destination object 'buf' [-Wrestrict] drivers/infiniband/core/mad.c:894:35: warning: converting a packed 'struct ib_smp' pointer (alignment 1) to a 'const struct ib_mad_hdr' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2102:47: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2104:57: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2107:37: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2129:47: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2131:57: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2189:47: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2192:57: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2195:37: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2269:35: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2280:45: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2283:37: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2311:58: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2325:53: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2337:49: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2345:79: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2762:40: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2763:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2764:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2770:43: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2775:49: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2933:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2938:31: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:2943:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/input/mouse/cypress_ps2.c:539:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] net/sctp/socket.c:2736:52: warning: taking address of packed member of 'struct sctp_paddrparams' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/socket.c:3077:44: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/socket.c:5209:48: warning: taking address of packed member of 'struct sctp_paddrinfo' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/socket.c:5613:52: warning: taking address of packed member of 'struct sctp_paddrparams' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'params' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'sas' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/infiniband/core/cm.c:1291:27: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1513:27: warning: taking address of packed member of 'struct cm_rej_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1542:32: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1566:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1569:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1580:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1583:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1753:27: warning: taking address of packed member of 'struct cm_mra_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1771:27: warning: taking address of packed member of 'struct cm_rej_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:1999:38: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:2070:27: warning: taking address of packed member of 'struct cm_rep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/infiniband/core/cm.c:2152:27: warning: taking address of packed member of 'struct cm_rtu_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1892:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1893:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/infiniband/core/cm.c:2466:27: warning: taking address of packed member of 'struct cm_dreq_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:2532:27: warning: taking address of packed member of 'struct cm_drep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:2604:27: warning: taking address of packed member of 'struct cm_drep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3097:27: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3193:44: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3196:44: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3250:30: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3326:27: warning: taking address of packed member of 'struct cm_apr_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3476:27: warning: taking address of packed member of 'struct cm_sidr_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:3624:27: warning: taking address of packed member of 'struct cm_sidr_rep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/input/touchscreen/atmel_mxt_ts.c:1644:30: warning: taking address of packed member of 'struct mxt_object' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'abs' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/md/bcache/super.c:2040:38: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bio_vec[0]' [-Wzero-length-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/input/touchscreen/ektf2127.c:88:9: warning: 'touches' may be used uninitialized [-Wmaybe-uninitialized] drivers/md/persistent-data/dm-space-map-common.c:458:30: warning: taking address of packed member of 'struct disk_index_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/md/persistent-data/dm-space-map-common.c:465:30: warning: taking address of packed member of 'struct disk_index_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'tbuf' may be used uninitialized [-Wmaybe-uninitialized] drivers/isdn/hardware/eicon/di.c:138:51: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:164:32: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:165:31: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:166:31: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:212:39: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:214:65: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:175:47: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:182:47: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:216:64: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:271:48: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:277:50: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:285:54: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:286:54: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:287:55: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:293:63: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:312:60: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:313:47: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:314:47: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:317:52: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:325:67: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:326:67: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:323:45: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:328:67: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:329:68: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:333:70: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:334:63: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/isdn/hardware/eicon/di.c:339:65: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] drivers/input/touchscreen/hideep.c:376:21: warning: 'unmask_code' may be used uninitialized [-Wmaybe-uninitialized] net/netfilter/nf_tables_core.c:153:17: warning: 'regs' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buffer' may be used uninitialized [-Wmaybe-uninitialized] net/netfilter/nf_tables_api.c:3618:50: warning: 'ctx.table' may be used uninitialized [-Wmaybe-uninitialized] net/wireless/radiotap.c:119:34: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:352:16: warning: 'id_reg' may be used uninitialized [-Wmaybe-uninitialized] net/netfilter/nf_tables_api.c:4511:45: warning: 'ctx.table' may be used uninitialized [-Wmaybe-uninitialized] net/netfilter/nf_tables_api.c:4135:33: warning: 'ctx.table' may be used uninitialized [-Wmaybe-uninitialized] drivers/md/raid5-ppl.c:349:22: warning: taking address of packed member of 'struct ppl_header_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/md/raid5-ppl.c:353:30: warning: taking address of packed member of 'struct ppl_header_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/media/v4l2-mediabus.h:116:34: warning: 'mbus_fmt' may be used uninitialized [-Wmaybe-uninitialized] include/media/v4l2-mediabus.h:118:34: warning: 'mbus_fmt.field' may be used uninitialized [-Wmaybe-uninitialized] include/media/v4l2-mediabus.h:119:39: warning: 'mbus_fmt.colorspace' may be used uninitialized [-Wmaybe-uninitialized] include/media/v4l2-mediabus.h:120:38: warning: 'mbus_fmt.ycbcr_enc' may be used uninitialized [-Wmaybe-uninitialized] include/media/v4l2-mediabus.h:121:41: warning: 'mbus_fmt.quantization' may be used uninitialized [-Wmaybe-uninitialized] include/media/v4l2-mediabus.h:122:38: warning: 'mbus_fmt.xfer_func' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/platform/am437x/am437x-vpfe.c:1453:17: warning: 'mbus_fmt' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] drivers/infiniband/hw/bnxt_re/qplib_sp.c:229:29: warning: array subscript 0 is outside array bounds of 'struct bnxt_qplib_sgid_tbl[230584300921369395]' [-Warray-bounds] drivers/infiniband/hw/bnxt_re/qplib_sp.c:288:29: warning: array subscript 0 is outside array bounds of 'struct bnxt_qplib_sgid_tbl[230584300921369395]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14902:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14903:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14905:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14906:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14907:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14908:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14913:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14914:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14915:17: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] fs/xfs/xfs_ioctl.c:174:25: warning: converting a packed 'struct xfs_fid64' pointer (alignment 1) to a 'struct fid' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/isdn/hardware/eicon/message.c:11162:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11163:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11164:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11165:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11166:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11167:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11168:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11169:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11170:78: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11170:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11171:78: warning: array subscript 1 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11171:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11172:78: warning: array subscript 2 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11172:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11173:78: warning: array subscript 3 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:11173:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14936:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14937:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14939:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14940:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14941:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14942:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14936:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14937:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14939:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14940:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14941:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:14942:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9138:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9139:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9140:73: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9141:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9112:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9113:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9114:50: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/message.c:9118:56: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'maint_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'maint_exit': 'cold' [-Wmissing-attributes] drivers/isdn/hardware/eicon/debug.c:2091:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2092:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2094:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2095:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2096:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2097:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2101:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2102:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2103:17: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2119:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2120:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2122:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2123:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2124:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2125:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:1178:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:1179:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:1180:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:1181:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2119:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2120:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2122:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2123:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2124:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2125:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2119:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2120:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2122:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2123:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2124:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] drivers/isdn/hardware/eicon/debug.c:2125:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] include/linux/string.h:274:24: warning: '__builtin_strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] drivers/media/platform/cros-ec-cec/cros-ec-cec.c:107:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/cros-ec-cec/cros-ec-cec.c:132:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/cros-ec-cec/cros-ec-cec.c:157:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/exynos-gsc/gsc-core.c:428:24: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/exynos-gsc/gsc-core.c:468:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/exynos-gsc/gsc-core.c:469:17: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mfd/cros_ec.c:91:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/exynos-gsc/gsc-m2m.c:354:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_verbs.c:1034:21: warning: taking address of packed member of 'struct iser_login_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_verbs.c:1035:22: warning: taking address of packed member of 'struct iser_login_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_verbs.c:1060:30: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_verbs.c:1061:31: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/infiniband/hw/mlx4/mad.c:1543:31: warning: taking address of packed member of 'struct mlx4_tunnel_mad' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mad.c:1590:59: warning: taking address of packed member of 'struct mlx4_tunnel_mad' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mad.c:1917:39: warning: taking address of packed member of 'struct mlx4_mad_rcv_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_initiator.c:277:25: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_initiator.c:669:15: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hysdn_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'hysdn_init': 'cold' [-Wmissing-attributes] drivers/infiniband/ulp/isert/ib_isert.c:200:25: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:820:33: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:821:34: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:851:24: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:852:25: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:876:27: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:877:27: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:953:27: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:962:28: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:985:24: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1014:41: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1074:51: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1311:33: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1409:33: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1562:48: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1840:44: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1853:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1855:33: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1868:41: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1941:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1945:32: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1960:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1964:33: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1978:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1982:35: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1996:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:1999:33: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2001:40: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2031:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2033:42: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2048:41: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2197:23: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2205:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2208:36: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2216:28: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/isert/ib_isert.c:2236:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/i40iw/i40iw_utils.c:749:39: warning: taking address of packed member of 'struct i40iw_dma_mem' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:229:44: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:231:44: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:244:36: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:246:36: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/pci/intel/ipu3/ipu3-cio2.c:1101:32: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/pci/intel/ipu3/ipu3-cio2.c:1360:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/srpt/ib_srpt.c:1050:53: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mcg.c:268:54: warning: converting a packed 'struct ib_sa_mad' pointer (alignment 1) to a 'struct ib_mad' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mcg.c:304:54: warning: converting a packed 'struct ib_sa_mad' pointer (alignment 1) to a 'struct ib_mad' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mcg.c:348:62: warning: converting a packed 'struct ib_sa_mad' pointer (alignment 1) to a 'struct ib_mad' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mcg.c:894:44: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mcg.c:900:79: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mcg.c:957:44: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'essid' may be used uninitialized [-Wmaybe-uninitialized] drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c:160:52: warning: 'stat' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c:242:35: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c:243:35: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx5/main.c:508:16: warning: 'mac' may be used uninitialized [-Wmaybe-uninitialized] drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c:160:52: warning: 'stat' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1313:25: warning: converting a packed 'struct ocrdma_rdma_stats_req' pointer (alignment 1) to a 'struct ocrdma_mbx_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_hw.c:2911:25: warning: taking address of packed member of 'struct ocrdma_get_dcbx_cfg_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_hw.c:3135:25: warning: taking address of packed member of 'struct ocrdma_modify_eqd_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:664:39: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:667:41: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/pci/ivtv/ivtv-ioctl.c:733:47: warning: taking address of packed member of 'struct v4l2_dbg_register' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:107:48: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:164:22: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:224:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:270:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:281:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:292:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:334:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:349:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:366:46: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:399:52: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:421:18: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:447:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:472:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:490:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:612:48: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:626:38: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'tmp_str' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:319:39: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:322:41: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/i2c/tvp7002.c:700:18: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] drivers/isdn/hisax/st5481_usb.c:151:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/misc/genwqe/card_ddcb.c:592:9: warning: converting a packed 'struct ddcb' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/nes/nes_cm.c:1033:24: warning: array subscript 'union all_known_options[2]' is partly outside array bounds of 'char[12]' [-Warray-bounds] drivers/infiniband/hw/nes/nes_cm.c:1036:24: warning: array subscript 'union all_known_options[2]' is partly outside array bounds of 'char[12]' [-Warray-bounds] drivers/infiniband/hw/nes/nes_cm.c:1041:16: warning: array subscript 'union all_known_options[2]' is partly outside array bounds of 'char[12]' [-Warray-bounds] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_alb.c:282:15: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_alb.c:282:15: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_alb.c:847:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_alb.c:847:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/bonding/bond_alb.c:1433:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/dvb-frontends/ts2020.c:446:47: warning: taking address of packed member of 'struct dtv_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] drivers/mtd/nand/onenand/onenand_base.c:3096:29: warning: 'tmp_retlen' may be used uninitialized [-Wmaybe-uninitialized] drivers/mtd/nand/onenand/onenand_base.c:3096:29: warning: 'tmp_retlen' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/dvb-frontends/drxk_hard.c:6550:29: warning: taking address of packed member of 'struct dtv_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/nfc/st21nfca/dep.c:148:23: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/nfc/st21nfca/dep.c:676:19: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/workqueue.h:235:34: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/workqueue.h:236:32: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/nfc/st21nfca/dep.c:687:26: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1435:39: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1436:25: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/dvb-frontends/drxk_hard.c:1038:26: warning: 'wait_cmd' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/dvb-frontends/drxk_hard.c:6707:21: warning: 'err' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/ethernet/3com/typhoon.c:1735:56: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:1740:60: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:1741:41: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:1745:60: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:1746:41: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:2009:53: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:2026:45: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/nvme/host/lightnvm.c:476:57: warning: converting a packed 'struct nvme_nvm_id12' pointer (alignment 1) to a 'struct nvme_nvm_id20' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/media/platform/ti-vpe/vpe.c:1631:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/ti-vpe/vpe.c:1632:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/i2c/s5k5baf.c:393:27: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/s5k5baf.c:572:28: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/s5k5baf.c:573:46: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/s5k5baf.c:572:28: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/s5k5baf.c:573:46: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/s5k5baf.c:572:28: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/s5k5baf.c:573:46: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/media/i2c/ir-kbd-i2c.c:535:49: warning: taking address of packed member of 'struct code_block' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/i2c/ir-kbd-i2c.c:545:49: warning: taking address of packed member of 'struct code_block' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/plip/plip.c:552:20: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/pci/controller/pcie-altera.c:370:16: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1832:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/ethernet/apm/xgene/xgene_enet_main.c:33:36: warning: array 'xgene_enet_acpi_match' assumed to have one element net/netfilter/xt_ipvs.c:74:25: warning: 'iph.protocol' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_oobtest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_oobtest_exit': 'cold' [-Wmissing-attributes] drivers/mtd/nand/raw/diskonchip.c:1047:22: warning: taking address of packed member of 'struct NFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1048:22: warning: taking address of packed member of 'struct NFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1049:22: warning: taking address of packed member of 'struct NFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1156:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1157:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1158:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1159:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1160:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1161:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1198:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1199:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1200:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1201:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1202:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1203:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_pagetest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_pagetest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_readtest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_readtest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_speedtest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_speedtest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_stresstest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_stresstest_exit': 'cold' [-Wmissing-attributes] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1832:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_subpagetest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_subpagetest_exit': 'cold' [-Wmissing-attributes] drivers/net/ppp/pptp.c:402:26: warning: taking address of packed member of 'struct sockaddr_pppox' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'tort_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tort_exit': 'cold' [-Wmissing-attributes] drivers/platform/chrome/cros_ec_debugfs.c:234:15: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'ecc_test_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ecc_test_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_nandbiterrs_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_nandbiterrs_exit': 'cold' [-Wmissing-attributes] drivers/media/usb/dvb-usb/dvb-usb-remote.c:363:20: warning: argument 2 of type 'u8[5]' {aka 'unsigned char[5]'} with mismatched bound [-Warray-parameter=] drivers/media/v4l2-core/v4l2-ctrls.c:3554:39: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-ctrls.c:3556:39: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/ubi/fastmap.c:764:38: warning: taking address of packed member of 'struct ubi_fm_scan_pool' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/ubi/fastmap.c:768:41: warning: taking address of packed member of 'struct ubi_fm_scan_pool' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'dscc4_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'dscc4_driver_init': 'cold' [-Wmissing-attributes] include/linux/string.h:352:16: warning: writing 4 bytes into a region of size between 18446744073709551613 and 2 [-Wstringop-overflow=] drivers/media/platform/fsl-viu.c:258:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:259:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:268:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:271:30: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:273:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:277:46: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:284:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:285:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:288:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:444:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:445:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:446:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:711:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:712:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:713:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:991:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:992:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:993:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:994:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:995:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:996:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:998:25: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:998:51: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1016:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1017:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1018:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1023:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1072:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1073:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1074:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1089:48: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1110:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1119:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1149:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1150:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1220:30: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1221:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1226:30: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1227:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1307:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1308:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1309:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1310:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1311:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1312:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1313:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1314:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1315:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:1316:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:944:34: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:950:41: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:953:41: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:23: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1003:34: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:23: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1004:41: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:2240:24: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:3301:17: warning: converting a packed 'struct rx_hdr' pointer (alignment 1) to a '__le16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:3309:30: warning: taking address of packed member of 'struct rx_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:3356:25: warning: converting a packed 'MICBuffer' pointer (alignment 1) to a '__le16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:4350:17: warning: converting a packed 'MICBuffer' pointer (alignment 1) to a '__le16' {aka 'const short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:4726:24: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/cisco/airo.c:7693:24: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/macvlan.c:238:13: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/macvlan.c:417:13: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/atmel/at76c50x-usb.c:1793:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/atmel/at76c50x-usb.c:1793:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2036:25: warning: taking address of packed member of 'struct htt_data_tx_completion' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/htt_rx.c:2513:70: warning: taking address of packed member of 'struct htt_tx_fetch_confirm' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/htt.h:1534:24: warning: array subscript 65535 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/usb/net1080.c:372:32: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/net1080.c:373:35: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/renesas-ceu.c:842:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/renesas-ceu.c:843:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/ipw2x00/ipw2200.c:3792:65: warning: taking address of packed member of 'struct clx2_queue' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/ipw2x00/ipw2200.c:10280:38: warning: taking address of packed member of 'struct tfd_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/rcar_jpu.c:800:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/rcar_jpu.c:801:45: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi.c:3504:33: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi.c:3550:33: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi.c:3602:33: warning: taking address of packed member of 'struct wmi_10_4_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi.c:5238:28: warning: taking address of packed member of 'struct wmi_service_ready_event' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi.c:5276:28: warning: taking address of packed member of 'struct wmi_10x_service_ready_event' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/power/supply/max17042_battery.c:588:41: warning: taking address of packed member of 'struct max17042_config_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/common.c:3812:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/common.c:3812:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/common.c:3813:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/common.c:3813:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/ethernet/brocade/bna/bfa_ioc.c:1299:9: warning: converting a packed 'struct bfi_ioc_image_hdr' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/common.c:3814:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/common.c:3814:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/pwm/pwm-cros-ec.c:40:39: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/pwm/pwm-cros-ec.c:68:39: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/fw.c:185:29: warning: taking address of packed member of 'struct iwl_mfu_assert_dump_notif' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bfa_cee.c:37:9: warning: converting a packed 'struct bfa_cee_stats' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:309:43: warning: taking address of packed member of 'struct iwl_mcc_update_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi-tlv.c:859:36: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/ipw2x00/libipw_rx.c:1454:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/ipw2x00/libipw_rx.c:1454:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlwifi/dvm/lib.c:936:63: warning: taking address of packed member of 'struct iwlagn_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/lib.c:965:51: warning: taking address of packed member of 'struct iwlagn_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/lib.c:968:51: warning: taking address of packed member of 'struct iwlagn_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/ops.c:1640:19: warning: taking address of packed member of 'struct iwl_wowlan_status' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-mac.c:1342:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-mac.c:1343:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-mac.c:1347:25: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-mac.c:1348:29: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-mac.c:1386:50: warning: taking address of packed member of 'struct il_rx_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-mac.c:3821:55: warning: taking address of packed member of 'struct il_tx_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:88:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:89:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:90:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:91:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:111:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:112:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:113:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/orinoco/hw.c:114:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/calib.c:481:56: warning: taking address of packed member of 'struct iwl_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/calib.c:516:56: warning: taking address of packed member of 'struct iwl_enhance_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:131:46: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:153:50: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:159:46: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:166:30: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:177:61: warning: taking address of packed member of 'struct vl600_pkt_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:190:34: warning: taking address of packed member of 'struct ethhdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:255:67: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1017:47: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v6' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1018:42: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v6' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1037:47: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v7' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1038:42: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v7' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1074:47: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1075:42: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/rapidio/rio.c:1085:57: warning: array subscript 'pnum' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] drivers/net/wireless/intersil/orinoco/scan.c:101:61: warning: taking address of packed member of 'struct symbol_scan_apinfo' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/intersil/prism54/islpci_mgt.c:90:38: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/prism54/islpci_mgt.c:91:38: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:9: warning: converting a packed 'struct statistics_general_common' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:9: warning: converting a packed 'struct statistics_rx_non_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:9: warning: converting a packed 'struct statistics_rx_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:9: warning: converting a packed 'struct statistics_rx_ht_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:9: warning: converting a packed 'struct statistics_rx_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:9: warning: converting a packed 'struct statistics_tx' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:17: warning: converting a packed 'struct statistics_bt_activity' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:382:24: warning: taking address of packed member of 'struct iwl_bt_notif_statistics' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:400:24: warning: taking address of packed member of 'struct iwl_notif_statistics' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/rapidio/rio-sysfs.c:79:51: warning: array subscript 255 is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] drivers/net/wireless/intel/iwlwifi/mvm/rx.c:795:33: warning: taking address of packed member of 'struct mvm_statistics_load_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/rx.c:796:36: warning: taking address of packed member of 'struct mvm_statistics_load_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/rx.c:801:33: warning: taking address of packed member of 'struct mvm_statistics_load' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/rx.c:802:36: warning: taking address of packed member of 'struct mvm_statistics_load' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/p54/fwio.c:59:46: warning: taking address of packed member of 'struct bootrec' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/4965-calib.c:408:57: warning: taking address of packed member of 'struct il_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/rapidio/rio-scan.c:743:47: warning: array subscript 'prev_port' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] drivers/rapidio/rio-scan.c:590:47: warning: array subscript 'prev_port' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] drivers/rapidio/rio-scan.c:556:55: warning: array subscript 'prev_port' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] drivers/net/wireless/broadcom/b43/xmit.c:457:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:461:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:465:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:479:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:483:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:487:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:519:34: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:523:34: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43/xmit.c:527:34: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/p54/txrx.c:310:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intersil/p54/txrx.c:310:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/3945.c:427:50: warning: taking address of packed member of 'struct il_rx_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/3945.c:437:35: warning: taking address of packed member of 'struct il_rx_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/3945.c:517:39: warning: converting a packed 'struct il_rx_pkt' pointer (alignment 1) to a 'struct ieee80211_hdr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/3945.c:2442:55: warning: taking address of packed member of 'struct il3945_tx_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/3945.c:468:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/3945.c:468:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/3945.c:471:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/intel/iwlegacy/3945.c:471:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1926:45: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed_ba_tfd[0]' [-Wzero-length-bounds] drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1926:45: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed_ba_tfd[0]' [-Wzero-length-bounds] drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1926:45: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed_ba_tfd[0]' [-Wzero-length-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:334:26: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:227:34: warning: array subscript '<unknown>' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:231:18: warning: array subscript 1 is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:243:26: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:243:35: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:347:35: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:348:25: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:409:26: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:453:20: warning: array subscript 1 is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:458:25: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:459:25: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:17: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:48: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:48: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:48: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] include/linux/spinlock.h:318:16: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/ethernet/chelsio/cxgb3/l2t.c:462:17: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] drivers/net/wireless/intel/iwlwifi/mvm/quota.c:310:38: warning: taking address of packed member of 'struct iwl_time_quota_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/sta.c:929:30: warning: taking address of packed member of 'struct iwl_scd_txq_cfg_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/media/usb/gspca/sn9c20x.c:1565:61: warning: taking address of packed member of 'struct v4l2_dbg_register' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'ifr' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'ifr' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'ifr' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/ethernet/broadcom/tg3.c:17876:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds] drivers/net/ethernet/broadcom/tg3.c:17876:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:3753:21: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:385:44: warning: 'data[2]' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:384:43: warning: 'data[1]' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:383:42: warning: 'data[0]' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:436:44: warning: 'data[2]' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:435:43: warning: 'data[1]' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:434:42: warning: 'data[0]' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/ath/ath6kl/htc_mbox.c:2275:20: warning: array subscript 'struct htc_frame_hdr[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] drivers/net/wireless/ath/ath6kl/htc_mbox.c:2285:46: warning: array subscript 'struct htc_frame_hdr[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/intel/iwlwifi/mvm/offloading.c:156:51: warning: taking address of packed member of 'struct iwl_ns_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:834:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:835:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:836:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:837:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:838:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:839:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:840:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath6kl/main.c:841:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/marvell/mwl8k.c:1352:22: warning: taking address of packed member of 'struct mwl8k_dma_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwl8k.c:1928:14: warning: taking address of packed member of 'struct mwl8k_dma_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwl8k.c:1276:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/marvell/mwl8k.c:1276:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/broadcom/b43legacy/xmit.c:127:24: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/intel/iwlwifi/mvm/d3.c:264:64: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/d3.c:294:52: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/d3.c:297:52: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1411:40: warning: taking address of packed member of 'struct iwl_nvm_get_info_regulatory' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/wmm.c:946:33: warning: converting a packed 'struct mwifiex_ie_types_data' pointer (alignment 1) to a 'struct mwifiex_ie_types_wmm_queue_status' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wcn36xx/main.c:722:23: warning: taking address of packed member of 'struct wcn36xx_hal_supported_rates' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wcn36xx/main.c:733:23: warning: taking address of packed member of 'struct wcn36xx_hal_supported_rates' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/ath/wil6210/main.c:1166:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1167:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1168:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1169:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1170:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1213:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v0' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1214:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v0' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1222:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1224:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1225:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/main.c:1226:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:639:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:639:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:642:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:642:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ath/main.c:67:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ath/main.c:67:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:386:38: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:392:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:395:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:432:38: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:438:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:603:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:623:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:640:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:720:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:729:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:738:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:740:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:768:46: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:771:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:778:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:787:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:805:48: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:807:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:855:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:861:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:863:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:866:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:868:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:870:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:872:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:874:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:892:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:935:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:937:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:957:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:958:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:959:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:961:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:967:48: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:970:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1154:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1155:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1178:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1209:38: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1226:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1276:39: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1277:45: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1404:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1407:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1410:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1413:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1597:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1654:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1817:38: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c:687:15: warning: taking address of packed member of 'struct d11txh' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:34:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:35:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:37:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:39:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:40:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:44:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:47:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:58:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:60:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:61:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:64:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:67:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:71:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:72:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:73:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:82:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:83:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:84:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:88:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:89:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:91:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:94:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:102:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:107:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:111:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:117:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:123:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:124:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:126:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:130:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:134:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:141:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:145:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:149:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:153:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:158:44: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:161:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:167:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:172:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:173:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:174:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:290:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:313:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:314:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:315:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:321:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:324:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:325:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:326:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:359:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:447:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:542:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:543:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:544:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:550:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:553:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:554:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:555:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:560:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:607:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:699:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:712:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:713:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:753:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:754:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:755:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:58:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:177:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:178:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:190:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/scan.c:697:48: warning: taking address of packed member of 'struct mwifiex_ie_types_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/scan.c:2386:48: warning: taking address of packed member of 'struct mwifiex_ie_types_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/scan.c:2425:40: warning: taking address of packed member of 'struct mwifiex_ie_types_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/scan.c:2450:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wcn36xx/smd.c:2058:31: warning: taking address of packed member of 'struct wcn36xx_hal_feat_caps_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2132:22: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2202:30: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c:57:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:4106:17: warning: converting a packed 'struct shm_acparams' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:6653:23: warning: taking address of packed member of 'struct d11txh' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/cfg80211.c:804:37: warning: array subscript 255 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:81:52: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:129:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:134:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1356:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1378:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1659:25: warning: taking address of packed member of 'struct coalesce_receive_filt_rule' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1683:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1691:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1709:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1736:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1760:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1862:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c:52:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/marvell/mwifiex/uap_cmd.c:726:19: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/carl9170/rx.c:601:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ath/carl9170/rx.c:601:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ath/carl9170/rx.c:602:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/ath/carl9170/rx.c:602:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/ath/wil6210/debugfs.c:1107:9: warning: converting a packed 'volatile struct vring_tx_desc' pointer (alignment 1) to a 'u32' {aka 'volatile unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/marvell/mwifiex/ie.c:134:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/ie.c:176:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/ie.c:183:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/ie.c:190:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/ie.c:246:40: warning: taking address of packed member of 'struct mwifiex_ie' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:602:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:603:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:664:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:679:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:682:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:696:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:702:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:705:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:709:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:712:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:713:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:714:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:717:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:718:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:719:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:725:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:730:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:823:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:824:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:830:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:835:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:836:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:837:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:844:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:868:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:952:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:960:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:975:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:977:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:978:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:995:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1011:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1031:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1060:39: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1061:45: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1163:38: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1168:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1172:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1174:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1175:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1176:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1177:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1339:39: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1491:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1536:48: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/ath/wil6210/txrx_edma.c:207:46: warning: taking address of packed member of 'struct wil_ring_rx_enhanced_dma' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/txrx_edma.c:1114:46: warning: taking address of packed member of 'struct wil_ring_tx_enhanced_dma' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:127:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:128:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:130:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:132:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:133:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:136:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:138:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:145:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:147:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:148:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:151:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:154:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:157:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:158:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:166:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:167:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:168:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:173:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:174:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:177:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:180:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:193:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:196:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:197:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:216:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:217:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:218:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:222:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:223:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:225:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:227:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:234:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:238:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:241:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:246:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:251:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:254:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:257:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:263:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:266:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:269:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:272:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:276:44: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:279:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:284:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:288:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:289:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:290:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:409:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:664:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/aic94xx/aic94xx_sds.c:699:9: warning: converting a packed 'struct asd_manuf_sec' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_main.c:1443:37: warning: converting a packed 'struct pdu_base' pointer (alignment 1) to a 'struct iscsi_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_main.c:1453:44: warning: converting a packed 'struct pdu_base' pointer (alignment 1) to a 'struct iscsi_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c:290:22: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c:335:30: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/wireless/ath/wil6210/wil6210.h:1090:35: warning: 'hdr_sz' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/aic94xx/aic94xx_tmf.c:309:36: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] drivers/net/wireless/marvell/mwifiex/11h.c:153:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] drivers/rtc/rtc-cros-ec.c:45:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/rtc/rtc-cros-ec.c:73:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:60:36: warning: taking address of packed member of 'struct be_bsg_vendor_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:67:36: warning: taking address of packed member of 'struct be_bsg_vendor_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:159:28: warning: taking address of packed member of 'struct tcp_connect_and_offload_in_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:403:28: warning: taking address of packed member of 'struct be_cmd_get_all_if_id_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:934:28: warning: taking address of packed member of 'struct be_cmd_req_logout_fw_sess' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:973:28: warning: taking address of packed member of 'struct be_cmd_reopen_session_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:1029:28: warning: taking address of packed member of 'struct be_cmd_get_session_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:1062:28: warning: taking address of packed member of 'struct be_cmd_get_boot_target_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:1449:28: warning: taking address of packed member of 'struct be_invalidate_connection_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:1485:28: warning: taking address of packed member of 'struct be_tcp_upload_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:1534:28: warning: taking address of packed member of 'struct invldt_cmds_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:754:28: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:769:38: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:797:28: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:831:38: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:875:28: warning: taking address of packed member of 'struct be_cmd_req_mcc_create_ext' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:892:38: warning: taking address of packed member of 'struct be_cmd_req_mcc_create_ext' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:951:28: warning: taking address of packed member of 'struct be_cmd_req_q_destroy' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:997:28: warning: taking address of packed member of 'struct be_defq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1039:38: warning: taking address of packed member of 'struct be_defq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1097:28: warning: taking address of packed member of 'struct be_wrbq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1107:38: warning: taking address of packed member of 'struct be_wrbq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1138:28: warning: taking address of packed member of 'struct be_post_template_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1144:38: warning: taking address of packed member of 'struct be_post_template_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1161:28: warning: taking address of packed member of 'struct be_remove_template_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1191:36: warning: taking address of packed member of 'struct be_post_sgl_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1198:46: warning: taking address of packed member of 'struct be_post_sgl_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1250:28: warning: taking address of packed member of 'struct be_cmd_set_vlan_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1287:28: warning: taking address of packed member of 'struct be_mgmt_controller_attributes' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1348:28: warning: taking address of packed member of 'struct be_fw_cfg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1503:28: warning: taking address of packed member of 'struct be_cmd_get_port_name' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1540:28: warning: taking address of packed member of 'struct be_cmd_set_host_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1583:28: warning: taking address of packed member of 'struct be_cmd_set_features' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1657:28: warning: taking address of packed member of 'struct be_post_sgl_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1763:36: warning: taking address of packed member of 'struct iscsi_cleanup_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:1772:36: warning: taking address of packed member of 'struct iscsi_cleanup_req_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/usb/uvc/uvc_ctrl.c:1573:53: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:387:25: warning: taking address of packed member of 'struct rsi_radio_caps' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:499:25: warning: taking address of packed member of 'struct rsi_peer_notify' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:553:25: warning: taking address of packed member of 'struct rsi_aggr_params' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:600:25: warning: taking address of packed member of 'struct rsi_bb_rf_prog' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:651:25: warning: taking address of packed member of 'struct rsi_vap_caps' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:751:25: warning: taking address of packed member of 'struct rsi_set_key' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:800:25: warning: taking address of packed member of 'struct rsi_config_vals' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1004:25: warning: taking address of packed member of 'struct rsi_chan_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1084:25: warning: taking address of packed member of 'struct rsi_dynamic_s' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1296:25: warning: taking address of packed member of 'struct rsi_auto_rate' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1384:25: warning: taking address of packed member of 'struct rsi_eeprom_read_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1427:25: warning: taking address of packed member of 'struct rsi_block_unblock_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1498:25: warning: taking address of packed member of 'struct rsi_request_ps' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1563:25: warning: taking address of packed member of 'struct rsi_ant_sel_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:1612:25: warning: taking address of packed member of 'struct rsi_wowlan_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_hal.c:98:25: warning: taking address of packed member of 'struct rsi_mgmt_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_hal.c:203:25: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_hal.c:238:41: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_hal.c:398:25: warning: taking address of packed member of 'struct rsi_bt_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_hal.c:442:25: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/soc/qcom/smp2p.c:213:48: warning: taking address of packed member of 'struct smp2p_smem_item' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/soc/qcom/smp2p.c:361:24: warning: taking address of packed member of 'struct smp2p_smem_item' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct fcoe_percpu_s[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct fcoe_percpu_s[1]' [-Warray-bounds] drivers/net/ethernet/emulex/benet/be_cmds.c:1011:32: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1029:38: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1062:32: warning: taking address of packed member of 'struct be_cmd_req_mac_query' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1103:32: warning: taking address of packed member of 'struct be_cmd_req_pmac_add' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1178:32: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1215:38: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1256:32: warning: taking address of packed member of 'struct be_cmd_req_mcc_ext_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1290:38: warning: taking address of packed member of 'struct be_cmd_req_mcc_ext_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1321:32: warning: taking address of packed member of 'struct be_cmd_req_mcc_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1334:38: warning: taking address of packed member of 'struct be_cmd_req_mcc_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1373:32: warning: taking address of packed member of 'struct be_cmd_req_eth_tx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1392:38: warning: taking address of packed member of 'struct be_cmd_req_eth_tx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1429:32: warning: taking address of packed member of 'struct be_cmd_req_eth_rx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1435:38: warning: taking address of packed member of 'struct be_cmd_req_eth_rx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1496:32: warning: taking address of packed member of 'struct be_cmd_req_q_destroy' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1523:32: warning: taking address of packed member of 'struct be_cmd_req_q_destroy' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1546:32: warning: taking address of packed member of 'struct be_cmd_req_if_create' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1781:32: warning: taking address of packed member of 'struct be_cmd_req_get_fat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1831:40: warning: taking address of packed member of 'struct be_cmd_req_get_fat' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1878:32: warning: taking address of packed member of 'struct be_cmd_req_get_fw_version' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1914:32: warning: taking address of packed member of 'struct be_cmd_req_modify_eq_delay' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:1964:32: warning: taking address of packed member of 'struct be_cmd_req_vlan_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:2061:32: warning: taking address of packed member of 'struct be_cmd_req_set_flow_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:2241:32: warning: taking address of packed member of 'struct be_cmd_req_enable_disable_beacon' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:2273:32: warning: taking address of packed member of 'struct be_cmd_req_get_beacon_state' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:2553:32: warning: taking address of packed member of 'struct be_cmd_write_flashrom' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:2599:32: warning: taking address of packed member of 'struct be_cmd_read_flash_crc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:3232:32: warning: taking address of packed member of 'struct be_cmd_req_acpi_wol_magic_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:3549:30: warning: taking address of packed member of 'struct mgmt_hba_attribs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:3723:32: warning: taking address of packed member of 'struct be_cmd_req_get_mac_list' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:3846:32: warning: taking address of packed member of 'struct be_cmd_req_set_mac_list' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:3906:32: warning: taking address of packed member of 'struct be_cmd_req_set_hsw_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:3961:32: warning: taking address of packed member of 'struct be_cmd_req_get_hsw_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:4054:32: warning: taking address of packed member of 'struct be_cmd_req_acpi_wol_magic_config_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:4548:32: warning: taking address of packed member of 'struct be_cmd_req_set_profile_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:4699:32: warning: taking address of packed member of 'struct be_cmd_req_manage_iface_filters' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/emulex/benet/be_cmds.c:4921:32: warning: taking address of packed member of 'struct be_cmd_req_get_active_profile' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c:577:54: warning: 'ofdmpowerlevel' may be used uninitialized [-Wmaybe-uninitialized] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_sdio.c:1223:14: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/rsi/rsi_91x_sdio.c:237:19: warning: 'resp' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/ath/ath9k/eeprom_def.c:99:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_def.c:113:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_4k.c:40:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_4k.c:54:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_9287.c:43:9: warning: converting a packed 'struct ar9287_eeprom' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_9287.c:56:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:2418:39: warning: the comparison will always evaluate as 'true' for the address of 'value' will never be NULL [-Waddress] drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:914:54: warning: 'ofdmpowerlevel' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:524:49: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/scsi/fcoe/fcoe_ctlr.c:1978:37: warning: argument 1 of type 'unsigned char[32]' with mismatched bound [-Warray-parameter=] drivers/scsi/esas2r/esas2r_ioctl.c:1450:46: warning: taking address of packed member of 'struct atto_express_ioctl' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/esas2r/esas2r_ioctl.c:1455:62: warning: taking address of packed member of 'struct atto_express_ioctl' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/esas2r/esas2r_ioctl.c:1910:33: warning: 'dma_addr' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/wireless/ti/wl12xx/main.c:1451:35: warning: taking address of packed member of 'struct wl12xx_fw_status' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:646:54: warning: 'ofdmpowerlevel' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/scsi/ibmvscsi/ibmvscsi.c:724:44: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:1895:36: warning: array subscript 'struct hclge_query_an_speed_dup_cmd[0]' is partly outside array bounds of 'struct hclge_desc[1]' [-Warray-bounds] drivers/scsi/ibmvscsi_tgt/libsrp.c:222:22: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ibmvscsi_tgt/libsrp.c:239:47: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1944:44: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1945:44: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1948:52: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1950:44: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:488:9: warning: converting a packed 'struct sas_identify_frame' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/base.c:1439:44: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/base.c:1787:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/base.c:1846:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/base.c:2705:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/realtek/rtlwifi/base.c:2705:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/scsi/hisi_sas/hisi_sas_v2_hw.c:911:9: warning: converting a packed 'struct sas_identify_frame' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ti/wl18xx/main.c:1203:35: warning: taking address of packed member of 'struct wl18xx_fw_status' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/core.c:918:31: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/core.c:965:26: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:599:9: warning: converting a packed 'struct sas_identify_frame' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/regulator/s5m8767.c:935:35: warning: array subscript [0, 36] is outside array bounds of 'struct regulator_desc[37]' [-Warray-bounds] drivers/regulator/s5m8767.c:940:43: warning: array subscript 37 is above array bounds of 'struct regulator_desc[37]' [-Warray-bounds] drivers/regulator/s5m8767.c:938:43: warning: array subscript -1 is below array bounds of 'struct regulator_desc[37]' [-Warray-bounds] drivers/net/ethernet/ibm/ibmvnic.c:776:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'adapter->napi + (sizetype)((long unsigned int)i * 368)' must not be NULL [-Waddress] drivers/net/wireless/realtek/rtlwifi/ps.c:526:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/realtek/rtlwifi/ps.c:526:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/realtek/rtlwifi/ps.c:1004:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/wireless/realtek/rtlwifi/ps.c:1004:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/scsi/megaraid/megaraid_sas_base.c:937:35: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:938:40: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:941:30: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:942:35: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:4227:37: warning: taking address of packed member of 'union MR_PD_DDF_TYPE' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:4722:37: warning: taking address of packed member of 'struct megasas_ctrl_prop' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:4723:37: warning: taking address of packed member of 'struct megasas_ctrl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:4724:37: warning: taking address of packed member of 'struct megasas_ctrl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:4725:37: warning: taking address of packed member of 'struct megasas_ctrl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/libfc/fc_lport.c:369:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/libfc/fc_lport.c:374:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:7521:39: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:7522:43: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:7523:42: warning: taking address of packed member of 'struct compat_megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:7540:35: warning: taking address of packed member of 'struct compat_megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:7541:47: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/scsi/lpfc/lpfc_sli.c:4259:29: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] drivers/scsi/lpfc/lpfc_sli.c:4260:29: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] drivers/scsi/lpfc/lpfc_sli.c:4285:29: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] drivers/scsi/lpfc/lpfc_sli.c:4578:11: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] drivers/scsi/lpfc/lpfc_sli.c:4579:11: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] drivers/net/wireless/realtek/rtlwifi/regd.c:430:45: warning: the comparison will always evaluate as 'false' for the address of 'regd' will never be NULL [-Waddress] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ti/wlcore/cmd.c:1254:19: warning: taking address of packed member of 'struct wl12xx_arp_rsp_template' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/libsas/sas_task.c:17:44: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fusion.c:1053:19: warning: taking address of packed member of 'struct megasas_init_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fusion.c:1080:29: warning: taking address of packed member of 'struct megasas_init_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] drivers/scsi/osd/osd_initiator.c:1857:56: warning: taking address of packed member of 'struct osd_sense_attributes_data_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:117:16: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:124:16: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:165:16: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:185:47: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:286:30: warning: taking address of packed member of 'struct MR_FW_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:333:23: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:456:40: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:576:40: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fp.c:1181:40: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'qlogic_cs_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'qlogic_cs_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'aha152x_cs_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'aha152x_cs_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'sym53c500_cs_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'sym53c500_cs_driver_init': 'cold' [-Wmissing-attributes] drivers/net/ethernet/mellanox/mlx4/main.c:2542:49: warning: 'idx' may be used uninitialized [-Wmaybe-uninitialized] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:642:25: warning: taking address of packed member of 'struct vxge_hw_common_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:1020:17: warning: taking address of packed member of 'struct vxge_hw_common_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:1452:9: warning: converting a packed 'struct vxge_hw_xmac_vpath_tx_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:1483:9: warning: converting a packed 'struct vxge_hw_xmac_vpath_rx_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:1734:9: warning: converting a packed 'struct vxge_hw_xmac_aggr_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:1768:9: warning: converting a packed 'struct vxge_hw_xmac_port_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1730:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1731:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1793:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1794:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1845:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1846:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1898:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1899:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] drivers/net/wireless/ti/wlcore/boot.c:127:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] drivers/net/wireless/ti/wlcore/boot.c:124:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:844:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_init.c:7286:13: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_init.c:7296:9: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_init.c:7316:13: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_init.c:7326:9: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:844:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla4xxx/ql4_nx.c:2109:46: warning: converting a packed 'struct qla4_83xx_pex_dma_descriptor' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:825:10: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:826:10: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/fwserial/fwserial.c:1614:26: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/fwserial/fwserial.c:1622:26: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/fwserial/fwserial.c:2472:9: warning: converting a packed 'struct fwserial_unit_directory_data' pointer (alignment 1) to a 'u32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/fwserial/fwserial.c:2473:1: warning: converting a packed 'struct fwserial_unit_directory_data' pointer (alignment 1) to a 'u32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/fwserial/fwserial.c:2679:59: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] drivers/scsi/qla2xxx/qla_dbg.c:458:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_dbg.c:783:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_dbg.c:788:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_dbg.c:949:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_dbg.c:952:43: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_dbg.c:957:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:844:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gdm_usb_lte_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'gdm_usb_lte_init': 'cold' [-Wmissing-attributes] drivers/net/ethernet/mellanox/mlx4/en_rx.c:737:45: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gdm_usb_mux_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'gdm_usb_mux_init': 'cold' [-Wmissing-attributes] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_bsg.c:39:21: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_bsg.c:1353:25: warning: taking address of packed member of 'struct qla_port_param' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_bsg.c:1960:13: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_bsg.c:2087:63: warning: taking address of packed member of 'struct qla_serdes_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_bsg.c:2129:63: warning: taking address of packed member of 'struct qla_serdes_reg_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_bsg.c:2300:25: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/thunderbolt/xdomain.c:210:22: warning: array subscript 'const struct tb_xdp_error_response[0]' is partly outside array bounds of 'struct tb_xdp_properties_changed_response[1]' [-Warray-bounds] drivers/thunderbolt/xdomain.c:597:16: warning: 'sprintf' argument 3 overlaps destination object 'buf' [-Wrestrict] drivers/target/target_core_transport.c:2680:28: warning: storing the address of local variable 'compl' in '*cmd.compl' [-Wdangling-pointer=] drivers/scsi/lpfc/lpfc_bsg.c:1228:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:1314:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:1636:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:1827:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:2093:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:2274:25: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:2380:26: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:3846:35: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:4033:35: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:4579:35: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:4691:36: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:4963:33: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:5149:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:5437:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:5572:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/tty/serial/8250/8250_core.c:247:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] include/asm-generic/bitops/non-atomic.h:106:27: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u8[1]' {aka 'unsigned char[1]'} [-Warray-bounds] include/linux/list.h:63:20: warning: storing the address of local variable 'head' in '*(struct list_head *)mlist.prev' [-Wdangling-pointer=] drivers/scsi/qla2xxx/qla_nx2.c:2362:25: warning: converting a packed 'struct qla8044_minidump_entry_hdr' pointer (alignment 1) to a 'struct qla8044_minidump_entry_rdmem' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_nx2.c:2969:36: warning: converting a packed 'struct qla8044_pex_dma_descriptor' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_mr.c:3317:25: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_nx2.c:1193:39: warning: 'agt_ctrl' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2413:37: warning: 'r_data' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:3034:35: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:3084:37: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:695:17: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2235:25: warning: 'read_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:921:65: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:247:15: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:135:9: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:3712:9: warning: 'spi_val' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:3193:30: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2780:14: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2767:30: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2726:29: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2677:38: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2644:37: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2615:29: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2554:37: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2507:48: warning: 'c_value_r' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2519:37: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/qla2xxx/qla_nx2.c:2344:29: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] drivers/staging/greybus/authentication.c:232:47: warning: taking address of packed member of 'struct cap_ioc_get_ims_certificate' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/greybus/authentication.c:250:40: warning: taking address of packed member of 'struct cap_ioc_authenticate' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_target.c:410:33: warning: converting a packed 'struct atio_from_isp' pointer (alignment 1) to a 'struct vp_rpt_id_entry_24xx' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_target.c:2687:21: warning: taking address of packed member of 'struct ctio7_to_24xx' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:449:25: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1457:52: warning: 'msg' may be used uninitialized [-Wmaybe-uninitialized] drivers/target/target_core_user.c:1031:33: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/target/target_core_user.c:1032:34: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/target/target_core_user.c:1047:25: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/target/target_core_user.c:1051:15: warning: taking address of packed member of 'struct tcmu_cmd_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/target/target_core_user.c:1088:26: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/chipidea/host.c:231:36: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/usb/class/usbtmc.c:1030:57: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/class/usbtmc.c:1034:22: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/class/usbtmc.c:1241:58: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/class/usbtmc.c:1245:22: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] drivers/uwb/drp.c:732:40: warning: taking address of packed member of 'struct uwb_ie_drp_avail' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:458:55: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:617:41: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:718:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:791:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:848:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:875:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:933:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:955:39: warning: taking address of packed member of 'struct qlcnic_nic_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:958:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:976:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:1002:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:1557:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'spi_loopback_test_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'spi_loopback_test_driver_init': 'cold' [-Wmissing-attributes] drivers/net/ethernet/qlogic/qed/qed_mcp.c:2751:28: warning: 'resp' may be used uninitialized [-Wmaybe-uninitialized] drivers/staging/greybus/uart.c:540:24: warning: 'newline.flow_control' is used uninitialized [-Wuninitialized] drivers/net/ethernet/sfc/falcon/falcon.c:1831:24: warning: taking address of packed member of 'struct falcon_nvconfig' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c:830:47: warning: converting a packed 'struct qlcnic_pex_dma_descriptor' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/spinlock.h:279:17: warning: 'flags' may be used uninitialized [-Wmaybe-uninitialized] drivers/scsi/megaraid.c:721:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:721:55: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:856:41: warning: taking address of packed member of 'struct mbox_out' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:999:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:999:55: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:1062:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:1062:56: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:3547:79: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:3564:79: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid.c:214:13: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] drivers/scsi/megaraid.c:265:21: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] drivers/scsi/megaraid.c:237:21: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] drivers/scsi/megaraid.c:240:21: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] drivers/scsi/megaraid.c:3896:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] drivers/scsi/megaraid.c:3599:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] drivers/scsi/megaraid.c:3638:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] drivers/scsi/megaraid.c:3693:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] drivers/scsi/megaraid.c:3941:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/ethernet/qlogic/qed/qed_iwarp.c:1684:33: warning: converting a packed 'struct ethhdr' pointer (alignment 1) to a 'struct vlan_ethhdr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8188eu/core/rtw_cmd.c:456:102: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:294:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:295:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:296:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:297:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:1489:57: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:1494:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:1497:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:1512:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:1513:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:1514:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/gdth.c:4266:9: warning: 'paddr' may be used uninitialized [-Wmaybe-uninitialized] drivers/usb/gadget/udc/bdc/bdc_ep.c:543:41: warning: the comparison will always evaluate as 'false' for the address of 'queue' will never be NULL [-Waddress] drivers/usb/gadget/udc/bdc/bdc_ep.c:543:66: warning: the comparison will always evaluate as 'false' for the address of 'usb_req' will never be NULL [-Waddress] drivers/staging/rtl8188eu/core/rtw_ioctl_set.c:313:54: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/most/usb/usb.c:235:31: warning: array subscript 0 is outside array bounds of 'struct most_interface[5852393424400238]' [-Warray-bounds] drivers/scsi/myrs.c:832:18: warning: 'sshdr.sense_key' may be used uninitialized [-Wmaybe-uninitialized] drivers/usb/host/whci/asl.c:50:31: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/whci/asl.c:51:31: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/whci/asl.c:72:31: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8192_pci_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8192_pci_driver_init': 'cold' [-Wmissing-attributes] drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4667:69: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4683:49: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4687:49: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4691:49: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8192_usb_module_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8192_usb_module_init': 'cold' [-Wmissing-attributes] drivers/usb/host/whci/pzl.c:202:47: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:1453:36: warning: taking address of packed member of 'struct ipr_hostrcb_cfg_ch_not' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/net2272.c:1787:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/net2272.c:1788:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:2401:30: warning: taking address of packed member of 'struct ipr_hostrcb_type_30_error' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/net2272.c:1789:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:3067:33: warning: taking address of packed member of 'struct ipr_driver_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:3091:33: warning: taking address of packed member of 'struct ipr_driver_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:3112:33: warning: taking address of packed member of 'struct ipr_driver_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:3133:33: warning: taking address of packed member of 'struct ipr_dump_location_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:6017:25: warning: taking address of packed member of 'struct ipr_ioarcb_add_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:7452:15: warning: taking address of packed member of 'struct ipr_mode_page28' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ipr.c:7514:27: warning: taking address of packed member of 'struct ipr_mode_page28' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/net2280.c:674:17: warning: taking address of packed member of 'struct net2280_ep_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/net2280.c:840:19: warning: taking address of packed member of 'struct net2280_dma_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/snps_udc_core.c:1578:35: warning: taking address of packed member of 'struct udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/kernel.h:1000:10: warning: array subscript -98 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] include/linux/kernel.h:1000:10: warning: array subscript -98 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] drivers/usb/gadget/udc/snps_udc_core.c:3112:37: warning: taking address of packed member of 'struct udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/goku_udc.c:1265:32: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/goku_udc.c:1266:34: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/goku_udc.c:1267:32: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/ehci-hub.c:141:38: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '<unknown>' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:541:22: warning: array subscript 'portnum' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:167:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:199:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:179:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:662:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/gadget/udc/m66592-udc.c:1086:9: warning: converting a packed 'struct usb_ctrlrequest' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/tty/nozomi.c:892:9: warning: converting a packed 'struct ctrl_dl' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/tty/nozomi.c:1015:39: warning: taking address of packed member of 'struct port' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/tty/nozomi.c:1505:9: warning: converting a packed 'struct ctrl_ul' pointer (alignment 1) to a 'u32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/r8a66597-udc.c:1287:9: warning: converting a packed 'struct usb_ctrlrequest' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/renesas_usb3.c:925:9: warning: converting a packed 'struct usb_ctrlrequest' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/ehci-dbg.c:873:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:1338:35: warning: array subscript -2 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hcd.c:326:33: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/usb/host/ehci-hub.c:891:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:892:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:1281:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:110:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:73:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:59:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:427:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:447:57: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:488:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:491:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:464:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:471:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:320:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:258:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hcd.c:786:42: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_exit': 'cold' [-Wmissing-attributes] drivers/usb/gadget/function/f_tcm.c:1117:33: warning: taking address of packed member of 'struct command_iu' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/usb/gadget/composite.c:628:22: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:643:30: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:679:30: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:1074:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:1079:52: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:1084:60: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:1091:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/misc/usbtest.c:347:29: warning: taking address of packed member of 'struct usb_endpoint_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/oxu210hp-hcd.c:3136:35: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/oxu210hp-hcd.c:3455:36: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] drivers/staging/rtlwifi/base.c:1403:44: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/base.c:1706:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/base.c:1736:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/base.c:1768:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/base.c:2734:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/staging/rtlwifi/base.c:2734:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/staging/rtl8192e/rtllib_softmac.c:925:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:926:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:930:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:931:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:936:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:937:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:944:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:945:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:946:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:949:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192e/rtllib_softmac.c:950:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8723bs/core/rtw_cmd.c:899:78: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/core/rtw_cmd.c:903:104: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/core/rtw_cmd.c:908:64: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/tty/ehv_bytechan.c:157:23: warning: 'ev_byte_channel_send' reading 16 bytes from a region of size 1 [-Wstringop-overread] drivers/staging/rtlwifi/core.c:868:31: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/core.c:933:26: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] arch/powerpc/include/asm/epapr_hcalls.h:297:27: warning: array subscript 'uint32_t {aka const unsigned int}[0]' is partly outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:298:27: warning: array subscript 1 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:299:27: warning: array subscript 2 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:300:27: warning: array subscript 3 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:297:27: warning: array subscript 'uint32_t {aka const unsigned int}[0]' is partly outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:298:27: warning: array subscript 1 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:299:27: warning: array subscript 2 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:300:27: warning: array subscript 3 is outside array bounds of 'const char[1]' [-Warray-bounds] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2664:58: warning: the comparison will always evaluate as 'false' for the address of 'data' will never be NULL [-Waddress] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:761:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:762:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:766:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:767:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:771:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:772:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] include/linux/unaligned/access_ok.h:40:24: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:780:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:781:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:782:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:785:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:786:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] drivers/usb/storage/uas.c:158:45: warning: taking address of packed member of 'struct sense_iu' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/storage/uas.c:296:28: warning: taking address of packed member of 'struct iu' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] drivers/staging/rtl8723bs/core/rtw_ioctl_set.c:421:63: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_ccmp_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_ccmp_exit': 'cold' [-Wmissing-attributes] drivers/usb/typec/tcpm/tcpm.c:1635:50: warning: taking address of packed member of 'struct pd_message' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/typec/tcpm/tcpm.c:1644:44: warning: taking address of packed member of 'struct pd_message' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/ps.c:507:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/staging/rtlwifi/ps.c:507:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/staging/rtlwifi/ps.c:983:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/staging/rtlwifi/ps.c:983:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_tkip_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_tkip_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_wep_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_wep_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8188e_usb_drv_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8188e_usb_drv_init': 'cold' [-Wmissing-attributes] drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:5757:77: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:5758:77: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:5759:77: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'qlogicfas408_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'qlogicfas408_exit': 'cold' [-Wmissing-attributes] drivers/staging/vme/devices/vme_user.c:327:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:328:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:329:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:329:63: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:330:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:330:64: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:373:48: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:373:63: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:374:48: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:375:48: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:375:63: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8822be_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8822be_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'device_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'device_driver_init': 'cold' [-Wmissing-attributes] drivers/usb/host/xhci-dbgcap.c:46:57: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/xhci-dbgcap.c:57:57: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/xhci-dbgcap.c:69:57: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'vt6656_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'vt6656_driver_init': 'cold' [-Wmissing-attributes] drivers/usb/host/xhci-mvebu.c:36:28: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] drivers/usb/host/xhci-mvebu.c:36:59: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] drivers/usb/host/xhci-mvebu.c:40:27: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] drivers/staging/wlan-ng/hfa384x_usb.c:1839:22: warning: taking address of packed member of 'struct hfa384x_downloadbuffer' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:1840:22: warning: taking address of packed member of 'struct hfa384x_downloadbuffer' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:1841:22: warning: taking address of packed member of 'struct hfa384x_downloadbuffer' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:2645:22: warning: taking address of packed member of 'struct hfa384x_tx_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:3380:22: warning: taking address of packed member of 'struct hfa384x_rx_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:3381:22: warning: taking address of packed member of 'struct hfa384x_rx_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:3573:22: warning: taking address of packed member of 'struct hfa384x_inf_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:601:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:602:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:603:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:604:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:620:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:621:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:622:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:623:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:646:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:647:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:648:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:649:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:681:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:682:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:683:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:684:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:685:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:705:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:706:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:707:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:708:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:709:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:729:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:730:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:731:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:732:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:733:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:753:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:754:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:755:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:756:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:757:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:785:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:786:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:787:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:788:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:789:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:809:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:810:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:811:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:812:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:813:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:833:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:834:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:835:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:836:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:837:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:1003:35: warning: taking address of packed member of 'union hfa384x_infodata' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:1008:35: warning: taking address of packed member of 'union hfa384x_infodata' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:1474:22: warning: taking address of packed member of 'struct hfa384x_assoc_status' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:1475:22: warning: taking address of packed member of 'struct hfa384x_assoc_status' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2sta.c:1742:22: warning: taking address of packed member of 'struct hfa384x_inf_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:621:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:622:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:623:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:624:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:630:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:631:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:632:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:633:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:639:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:640:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:641:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/prism2fw.c:642:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:297:63: warning: taking address of packed member of 'struct vnt_tx_datahead_g' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:330:63: warning: taking address of packed member of 'struct vnt_tx_datahead_g_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:354:63: warning: taking address of packed member of 'struct vnt_tx_datahead_a_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:385:63: warning: taking address of packed member of 'struct vnt_tx_datahead_ab' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:428:44: warning: taking address of packed member of 'struct vnt_rts_g' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:472:44: warning: taking address of packed member of 'struct vnt_rts_g_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:491:44: warning: taking address of packed member of 'struct vnt_rts_ab' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:520:44: warning: taking address of packed member of 'struct vnt_rts_a_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vt6656/rxtx.c:1045:20: warning: taking address of packed member of 'struct vnt_beacon_buffer' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/sl811-hcd.c:1291:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'synth_dec_pc_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'synth_dec_pc_exit': 'cold' [-Wmissing-attributes] drivers/staging/rtl8723bs/include/osdep_service.h:269:49: warning: 'snprintf' argument 4 overlaps destination object 'thread_name' [-Wrestrict] drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:287:50: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1456:54: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtlwifi/phydm/phydm_debug.c:2146:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2164:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2176:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2188:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2206:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2222:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2240:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2257:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2296:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2326:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2372:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2385:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2421:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2438:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2458:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2476:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2641:56: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2664:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2692:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtlwifi/phydm/phydm_debug.c:2707:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:1472:54: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtw_drv_halt': 'cold' [-Wmissing-attributes] include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtw_drv_entry': 'cold' [-Wmissing-attributes] drivers/staging/rtlwifi/phydm/phydm_psd.c:373:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)((int)i + 1) * 16)' must not be NULL [-Waddress]
Full Log
# git rev-parse -q --verify c719d28628a5c74f07b8250f8e6f092e9015ba82^{commit} c719d28628a5c74f07b8250f8e6f092e9015ba82 already have revision, skipping fetch # git checkout -q -f -B kisskb c719d28628a5c74f07b8250f8e6f092e9015ba82 # git clean -qxdf # < git log -1 # commit c719d28628a5c74f07b8250f8e6f092e9015ba82 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Thu Nov 1 21:34:19 2018 +1100 # # powerpc: Add -Wimplicit-fallthrough to arch CFLAGS # # Warn whenever a switch statement has a fallthrough without a comment # annotating it. # # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c719d28628a5c74f07b8250f8e6f092e9015ba82 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allyesconfig # Added to kconfig CONFIG_PROFILE_ALL_BRANCHES=n # Added to kconfig CONFIG_ENABLE_WARN_DEPRECATED=n # Added to kconfig CONFIG_ENABLE_MUST_CHECK=n # Added to kconfig CONFIG_DEBUG_INFO=n # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property arch/powerpc/boot/dts/fsl/mpc8641_hpcn_36b.dtb: Warning (interrupts_property): /pcie@fffe08000: Missing #interrupt-cells in interrupt-parent arch/powerpc/boot/dts/fsl/p1025rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1025rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1025rdb_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1025rdb_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/icon.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/makalu.dtb: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pd.dtb: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dtb: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/boot/dts/fsl/p1020rdb-pc_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_32b.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/mgcoge.dtb: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_sbc310.dtb: Warning (interrupts_property): /pcie@fef08000: Missing #interrupt-cells in interrupt-parent arch/powerpc/boot/dts/fsl/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8641_hpcn.dtb: Warning (interrupts_property): /pcie@ffe08000: Missing #interrupt-cells in interrupt-parent arch/powerpc/boot/dts/fsl/p1020rdb.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/uc101.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core1.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core1.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dtb: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb_36b.dtb: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/o2i.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core0.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/p1020rdb-pc_camp_core0.dtb: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/kernel/trace/ftrace.c: In function 'prepare_ftrace_return': /kisskb/src/arch/powerpc/kernel/trace/ftrace.c:971:50: warning: taking address of packed member of 'struct ftrace_graph_ent' may result in an unaligned pointer value [-Waddress-of-packed-member] 971 | if (ftrace_push_return_trace(parent, ip, &trace.depth, 0, | ^~~~~~~~~~~~ arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe250000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe250000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe260000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe260000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe270000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): /pcie@ffe270000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/mm/page_alloc.c: In function 'mem_init_print_info': /kisskb/src/mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7147:9: note: in expansion of macro 'adj_init_size' 7147 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7147:9: note: in expansion of macro 'adj_init_size' 7147 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7147:9: note: in expansion of macro 'adj_init_size' 7147 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7147:9: note: in expansion of macro 'adj_init_size' 7147 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7149:9: note: in expansion of macro 'adj_init_size' 7149 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7149:9: note: in expansion of macro 'adj_init_size' 7149 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7149:9: note: in expansion of macro 'adj_init_size' 7149 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7149:9: note: in expansion of macro 'adj_init_size' 7149 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7150:9: note: in expansion of macro 'adj_init_size' 7150 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7150:9: note: in expansion of macro 'adj_init_size' 7150 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7150:9: note: in expansion of macro 'adj_init_size' 7150 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7150:9: note: in expansion of macro 'adj_init_size' 7150 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7151:9: note: in expansion of macro 'adj_init_size' 7151 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7151:9: note: in expansion of macro 'adj_init_size' 7151 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7151:9: note: in expansion of macro 'adj_init_size' 7151 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7151:9: note: in expansion of macro 'adj_init_size' 7151 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7152:9: note: in expansion of macro 'adj_init_size' 7152 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7152:9: note: in expansion of macro 'adj_init_size' 7152 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: warning: comparison between two arrays [-Warray-compare] 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7152:9: note: in expansion of macro 'adj_init_size' 7152 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7143:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7143 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7152:9: note: in expansion of macro 'adj_init_size' 7152 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/currituck.dtb: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/sched/task_stack.h:9, from /kisskb/src/kernel/dma/debug.c:20: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'filter_write' at /kisskb/src/kernel/dma/debug.c:831:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'filter_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/dma/debug.c:819:14: note: 'buf' declared here 819 | char buf[NAME_MAX_LEN]; | ^~~ arch/powerpc/boot/dts/xpedite5200.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc8610_hpcd.dtb: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/glacier.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/stxssa8555.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/redwood.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/xpedite5200_xmon.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/ipc/sem.c:73: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'do_semtimedop' at /kisskb/src/ipc/sem.c:1969:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'fast_sops' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'do_semtimedop': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/ipc/sem.c:1948:23: note: 'fast_sops' declared here 1948 | struct sembuf fast_sops[SEMOPM_FAST]; | ^~~~~~~~~ arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:10, from /kisskb/src/arch/powerpc/kvm/powerpc.c:23: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kvm_vcpu_ioctl_set_one_reg' at /kisskb/src/arch/powerpc/kvm/powerpc.c:1707:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kvm_vcpu_ioctl_set_one_reg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/powerpc.c:1700:30: note: 'val' declared here 1700 | union kvmppc_one_reg val; | ^~~ In function 'vdso_fixup_datapage', inlined from 'vdso_setup' at /kisskb/src/arch/powerpc/kernel/vdso.c:652:6, inlined from 'vdso_init' at /kisskb/src/arch/powerpc/kernel/vdso.c:782:6: /kisskb/src/arch/powerpc/kernel/vdso.c:531:67: warning: array subscript 'int[0]' is partly outside array bounds of 'char[1]' [-Warray-bounds] 531 | *((int *)(vdso64_kbase + sym64->st_value - VDSO64_LBASE)) = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 532 | (vdso64_pages << PAGE_SHIFT) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 533 | (sym64->st_value - VDSO64_LBASE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/vdso.c: In function 'vdso_init': /kisskb/src/arch/powerpc/kernel/vdso.c:63:13: note: object 'vdso64_start' of size 1 63 | extern char vdso64_start, vdso64_end; | ^~~~~~~~~~~~ /kisskb/src/block/partitions/atari.c: In function 'atari_partition': /kisskb/src/block/partitions/atari.c:72:14: warning: taking address of packed member of 'struct rootsector' may result in an unaligned pointer value [-Waddress-of-packed-member] 72 | pi = &rs->part[0]; | ^~~~~~~~~~~~ /kisskb/src/block/partitions/atari.c:135:22: warning: taking address of packed member of 'struct rootsector' may result in an unaligned pointer value [-Waddress-of-packed-member] 135 | pi = &rs->icdpart[0]; | ^~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/codecs/onyx.c: In function 'onyx_snd_single_bit_get': /kisskb/src/sound/aoa/codecs/onyx.c:380:44: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 380 | ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; | ^~~~~~~~~~~~ /kisskb/src/sound/aoa/codecs/onyx.c:370:12: note: 'c' was declared here 370 | u8 c; | ^ /kisskb/src/kernel/trace/trace.c: In function 'tracer_alloc_buffers': /kisskb/src/kernel/trace/trace.c:8490:40: warning: comparison between two arrays [-Warray-compare] 8490 | if (__stop___trace_bprintk_fmt != __start___trace_bprintk_fmt) | ^~ /kisskb/src/kernel/trace/trace.c:8490:40: note: use '&__stop___trace_bprintk_fmt[0] != &__start___trace_bprintk_fmt[0]' to compare the addresses In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/arch/powerpc/include/asm/sections.h:7, from /kisskb/src/include/linux/interrupt.h:20, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/user.c:12: /kisskb/src/kernel/power/user.c: In function 'snapshot_compat_ioctl': /kisskb/src/kernel/power/user.c:443:50: warning: taking address of packed member of 'struct compat_resume_swap_area' may result in an unaligned pointer value [-Waddress-of-packed-member] 443 | err = get_user(swap_area.offset, &u_swap_area->offset); /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/kernel/power/user.c:443:23: note: in expansion of macro 'get_user' 443 | err = get_user(swap_area.offset, &u_swap_area->offset); | ^~~~~~~~ /kisskb/src/kernel/power/user.c:444:48: warning: taking address of packed member of 'struct compat_resume_swap_area' may result in an unaligned pointer value [-Waddress-of-packed-member] 444 | err |= get_user(swap_area.dev, &u_swap_area->dev); /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/kernel/power/user.c:444:24: note: in expansion of macro 'get_user' 444 | err |= get_user(swap_area.dev, &u_swap_area->dev); | ^~~~~~~~ /kisskb/src/mm/hugetlb.c: In function 'hugetlb_fault_mutex_hash': /kisskb/src/mm/hugetlb.c:3880:47: warning: expression does not compute the number of elements in this array; element type is 'long unsigned int', not 'u32' {aka 'unsigned int'} [-Wsizeof-array-div] 3880 | hash = jhash2((u32 *)&key, sizeof(key)/sizeof(u32), 0); | ^ /kisskb/src/mm/hugetlb.c:3880:47: note: add parentheses around the second 'sizeof' to silence this warning /kisskb/src/mm/hugetlb.c:3869:23: note: array 'key' declared here 3869 | unsigned long key[2]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/memblock.h:17, from /kisskb/src/arch/powerpc/mm/numa.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'topology_write' at /kisskb/src/arch/powerpc/mm/numa.c:1589:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'topology_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/mm/numa.c:1585:14: note: 'kbuf' declared here 1585 | char kbuf[4]; /* "on" or "off" plus null. */ | ^~~~ /kisskb/src/arch/powerpc/xmon/xmon.c: In function 'do_spu_cmd': /kisskb/src/arch/powerpc/xmon/xmon.c:4034:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 4034 | if (isxdigit(subcmd) || subcmd == '\n') /kisskb/src/arch/powerpc/xmon/xmon.c:4036:9: note: here 4036 | case 'f': | ^~~~ /kisskb/src/block/partitions/karma.c: In function 'karma_partition': /kisskb/src/block/partitions/karma.c:44:13: warning: taking address of packed member of 'struct disklabel' may result in an unaligned pointer value [-Waddress-of-packed-member] 44 | p = label->d_partitions; | ^~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/core.c: In function 'i2sbus_bus_intr': /kisskb/src/sound/aoa/soundbus/i2sbus/core.c:97:26: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 97 | intreg = in_le32(&dev->intfregs->intr_ctl); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/core.c:100:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | out_le32(&dev->intfregs->intr_ctl, intreg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c: In function 'kvmppc_mmu_book3s_32_xlate_pte': /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c:252:56: warning: this statement may fall through [-Wimplicit-fallthrough=] 252 | pte->may_write = true; | ~~~~~~~~~~~~~~~^~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c:253:33: note: here 253 | case 3: | ^~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c: In function 'i2sbus_pcm_prepare': /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:486:21: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 486 | if (in_le32(&i2sdev->intfregs->serial_format) == sfr | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:487:21: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 487 | && in_le32(&i2sdev->intfregs->data_word_sizes) == dws) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:499:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 499 | out_le32(&i2sdev->intfregs->intr_ctl, I2S_PENDING_CLOCKS_STOPPED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:508:23: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 508 | !(in_le32(&i2sdev->intfregs->intr_ctl) & I2S_PENDING_CLOCKS_STOPPED)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:511:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 511 | out_le32(&i2sdev->intfregs->intr_ctl, I2S_PENDING_CLOCKS_STOPPED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:514:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 514 | out_le32(&i2sdev->intfregs->serial_format, sfr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:515:18: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 515 | out_le32(&i2sdev->intfregs->data_word_sizes, dws); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c: In function 'i2sbus_pcm_trigger': /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:586:43: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 586 | pi->frame_count = in_le32(&i2sdev->intfregs->frame_count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c: In function 'i2sbus_pcm_pointer': /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:627:22: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 627 | fc = in_le32(&i2sdev->intfregs->frame_count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c: In function 'handle_interrupt': /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:671:30: warning: taking address of packed member of 'struct i2s_interface_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 671 | fc = in_le32(&i2sdev->intfregs->frame_count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/posix-cpu-timers.c: In function 'posix_cpu_timer_rearm': /kisskb/src/kernel/time/posix-cpu-timers.c:1018:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] 1018 | bump_cpu_timer(timer, now); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/posix-cpu-timers.c:1009:13: note: 'now' declared here 1009 | u64 now; | ^~~ /kisskb/src/kernel/time/posix-cpu-timers.c: In function 'posix_cpu_timer_get': /kisskb/src/kernel/time/posix-cpu-timers.c:760:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] 760 | if (now < timer->it.cpu.expires) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/posix-cpu-timers.c:718:13: note: 'now' declared here 718 | u64 now; | ^~~ /kisskb/src/arch/powerpc/kernel/nvram_64.c: In function 'dev_nvram_ioctl': /kisskb/src/arch/powerpc/kernel/nvram_64.c:811:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 811 | printk(KERN_WARNING "nvram: Using obsolete PMAC_NVRAM_GET_OFFSET ioctl\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/nvram_64.c:812:9: note: here 812 | case IOC_NVRAM_GET_OFFSET: { | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/kernel/time/test_udelay.c:21: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'udelay_test_write' at /kisskb/src/kernel/time/test_udelay.c:119:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'lbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'udelay_test_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/test_udelay.c:111:14: note: 'lbuf' declared here 111 | char lbuf[32]; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/sys.c:9: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'prctl_set_auxv' at /kisskb/src/kernel/sys.c:2075:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'user_auxv' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'prctl_set_auxv': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/sys.c:2070:23: note: 'user_auxv' declared here 2070 | unsigned long user_auxv[AT_VECTOR_SIZE]; | ^~~~~~~~~ /kisskb/src/fs/ceph/mds_client.c: In function 'ceph_send_cap_releases': /kisskb/src/fs/ceph/mds_client.c:1714:30: warning: taking address of packed member of 'struct ceph_mds_cap_release' may result in an unaligned pointer value [-Waddress-of-packed-member] 1714 | le32_add_cpu(&head->num, 1); | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:336, from /kisskb/src/include/linux/kernel.h:14, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/powerpc/include/asm/bug.h:128, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/fs/ceph/mdsmap.c:4: /kisskb/src/fs/ceph/mdsmap.c: In function 'ceph_mdsmap_decode': /kisskb/src/fs/ceph/mdsmap.c:209:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 209 | ceph_pr_addr(&addr.in_addr), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/fs/ceph/mdsmap.c:207:17: note: in expansion of macro 'dout' 207 | dout("mdsmap_decode %d/%d %lld mds%d.%d %s %s\n", | ^~~~ /kisskb/src/fs/ecryptfs/keystore.c: In function 'decrypt_pki_encrypted_session_key': /kisskb/src/fs/ecryptfs/keystore.c:1156:48: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] 1156 | rc = write_tag_64_packet(auth_tok_sig, &(auth_tok->session_key), | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ecryptfs/keystore.c:1175:34: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] 1175 | rc = parse_tag_65_packet(&(auth_tok->session_key), | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/dlm/lowcomms.c: In function 'sctp_accept_from_sock': /kisskb/src/fs/dlm/lowcomms.c:891:23: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] 891 | make_sockaddr(&prim.ssp_addr, 0, &addr_len); | ^~~~~~~~~~~~~~ /kisskb/src/fs/dlm/lowcomms.c:892:30: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] 892 | ret = addr_to_nodeid(&prim.ssp_addr, &nodeid); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/arch/powerpc/include/asm/sections.h:7, from /kisskb/src/include/linux/interrupt.h:20, from /kisskb/src/sound/core/control.c:23: /kisskb/src/sound/core/control_compat.c: In function 'snd_ctl_elem_info_compat': /kisskb/src/sound/core/control_compat.c:111:51: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 111 | if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:111:13: note: in expansion of macro 'get_user' 111 | if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:126:35: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 126 | if (put_user(data->owner, &data32->owner)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:126:13: note: in expansion of macro 'put_user' 126 | if (put_user(data->owner, &data32->owner)) | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:131:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 131 | if (put_user(data->value.integer.min, &data32->value.integer.min) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:131:21: note: in expansion of macro 'put_user' 131 | if (put_user(data->value.integer.min, &data32->value.integer.min) || | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:132:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 132 | put_user(data->value.integer.max, &data32->value.integer.max) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:132:21: note: in expansion of macro 'put_user' 132 | put_user(data->value.integer.max, &data32->value.integer.max) || | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:133:56: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 133 | put_user(data->value.integer.step, &data32->value.integer.step)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:133:21: note: in expansion of macro 'put_user' 133 | put_user(data->value.integer.step, &data32->value.integer.step)) | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c: In function 'snd_ctl_elem_add_compat': /kisskb/src/sound/core/control_compat.c:399:35: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 399 | if (get_user(data->owner, &data32->owner)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:399:13: note: in expansion of macro 'get_user' 399 | if (get_user(data->owner, &data32->owner)) | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:404:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 404 | if (get_user(data->value.integer.min, &data32->value.integer.min) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:404:21: note: in expansion of macro 'get_user' 404 | if (get_user(data->value.integer.min, &data32->value.integer.min) || | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:405:55: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 405 | get_user(data->value.integer.max, &data32->value.integer.max) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:405:21: note: in expansion of macro 'get_user' 405 | get_user(data->value.integer.max, &data32->value.integer.max) || | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:406:56: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] 406 | get_user(data->value.integer.step, &data32->value.integer.step)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:406:21: note: in expansion of macro 'get_user' 406 | get_user(data->value.integer.step, &data32->value.integer.step)) | ^~~~~~~~ /kisskb/src/fs/ceph/debugfs.c: In function 'mdsmap_show': /kisskb/src/fs/ceph/debugfs.c:40:45: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | ceph_pr_addr(&addr->in_addr), | ^~~~~~~~~~~~~~ In file included from /kisskb/src/samples/configfs/configfs_sample.c:30: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'configfs_example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/configfs/configfs_sample.c:402:1: note: in expansion of macro 'module_init' 402 | module_init(configfs_example_init); | ^~~~~~~~~~~ /kisskb/src/samples/configfs/configfs_sample.c:365:19: note: 'init_module' target declared here 365 | static int __init configfs_example_init(void) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'configfs_example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/configfs/configfs_sample.c:403:1: note: in expansion of macro 'module_exit' 403 | module_exit(configfs_example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/configfs/configfs_sample.c:394:20: note: 'cleanup_module' target declared here 394 | static void __exit configfs_example_exit(void) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/hw_breakpoint/data_breakpoint.c:29: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'hw_break_module_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/hw_breakpoint/data_breakpoint.c:85:1: note: in expansion of macro 'module_init' 85 | module_init(hw_break_module_init); | ^~~~~~~~~~~ /kisskb/src/samples/hw_breakpoint/data_breakpoint.c:53:19: note: 'init_module' target declared here 53 | static int __init hw_break_module_init(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hw_break_module_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/hw_breakpoint/data_breakpoint.c:86:1: note: in expansion of macro 'module_exit' 86 | module_exit(hw_break_module_exit); | ^~~~~~~~~~~ /kisskb/src/samples/hw_breakpoint/data_breakpoint.c:79:20: note: 'cleanup_module' target declared here 79 | static void __exit hw_break_module_exit(void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/debug.c:12: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'sched_feat_write' at /kisskb/src/kernel/sched/debug.c:141:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'sched_feat_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/sched/debug.c:133:14: note: 'buf' declared here 133 | char buf[64]; | ^~~ In file included from /kisskb/src/samples/kdb/kdb_hello.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kdb_hello_cmd_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kdb/kdb_hello.c:55:1: note: in expansion of macro 'module_init' 55 | module_init(kdb_hello_cmd_init); | ^~~~~~~~~~~ /kisskb/src/samples/kdb/kdb_hello.c:32:19: note: 'init_module' target declared here 32 | static int __init kdb_hello_cmd_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kdb_hello_cmd_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kdb/kdb_hello.c:56:1: note: in expansion of macro 'module_exit' 56 | module_exit(kdb_hello_cmd_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kdb/kdb_hello.c:50:20: note: 'cleanup_module' target declared here 50 | static void __exit kdb_hello_cmd_exit(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/net/8021q/vlan_core.c: In function 'vlan_do_receive': /kisskb/src/net/8021q/vlan_core.c:36:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 36 | if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/8021q/vlan_core.c:36:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/8021q/vlan_core.c:36:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/include/linux/if_vlan.h:16, from /kisskb/src/net/8021q/vlan_core.c:4: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/kobject/kobject-example.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kobject/kobject-example.c:141:1: note: in expansion of macro 'module_init' 141 | module_init(example_init); | ^~~~~~~~~~~ /kisskb/src/samples/kobject/kobject-example.c:111:19: note: 'init_module' target declared here 111 | static int __init example_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kobject/kobject-example.c:142:1: note: in expansion of macro 'module_exit' 142 | module_exit(example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kobject/kobject-example.c:136:20: note: 'cleanup_module' target declared here 136 | static void __exit example_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/arch/powerpc/kernel/rtas-proc.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'parse_number' at /kisskb/src/arch/powerpc/kernel/rtas-proc.c:267:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'parse_number': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/rtas-proc.c:261:14: note: 'buf' declared here 261 | char buf[40]; | ^~~ In file included from /kisskb/src/samples/kobject/kset-example.c:12: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kobject/kset-example.c:284:1: note: in expansion of macro 'module_init' 284 | module_init(example_init); | ^~~~~~~~~~~ /kisskb/src/samples/kobject/kset-example.c:240:19: note: 'init_module' target declared here 240 | static int __init example_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kobject/kset-example.c:285:1: note: in expansion of macro 'module_exit' 285 | module_exit(example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kobject/kset-example.c:276:20: note: 'cleanup_module' target declared here 276 | static void __exit example_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/bytestream-example.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/bytestream-example.c:191:1: note: in expansion of macro 'module_init' 191 | module_init(example_init); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/bytestream-example.c:154:19: note: 'init_module' target declared here 154 | static int __init example_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kfifo/bytestream-example.c:192:1: note: in expansion of macro 'module_exit' 192 | module_exit(example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/bytestream-example.c:183:20: note: 'cleanup_module' target declared here 183 | static void __exit example_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/dma-example.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/dma-example.c:140:1: note: in expansion of macro 'module_init' 140 | module_init(example_init); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/dma-example.c:23:19: note: 'init_module' target declared here 23 | static int __init example_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kfifo/dma-example.c:141:1: note: in expansion of macro 'module_exit' 141 | module_exit(example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/dma-example.c:135:20: note: 'cleanup_module' target declared here 135 | static void __exit example_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/inttype-example.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/inttype-example.c:182:1: note: in expansion of macro 'module_init' 182 | module_init(example_init); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/inttype-example.c:147:19: note: 'init_module' target declared here 147 | static int __init example_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kfifo/inttype-example.c:183:1: note: in expansion of macro 'module_exit' 183 | module_exit(example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/inttype-example.c:174:20: note: 'cleanup_module' target declared here 174 | static void __exit example_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/record-example.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/record-example.c:198:1: note: in expansion of macro 'module_init' 198 | module_init(example_init); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/record-example.c:161:19: note: 'init_module' target declared here 161 | static int __init example_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kfifo/record-example.c:199:1: note: in expansion of macro 'module_exit' 199 | module_exit(example_exit); | ^~~~~~~~~~~ /kisskb/src/samples/kfifo/record-example.c:190:20: note: 'cleanup_module' target declared here 190 | static void __exit example_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/dir.c:11: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/ext2/super.c: In function 'ext2_fill_super': /kisskb/src/fs/ext2/super.c:898:29: warning: 'opts.s_mount_opt' may be used uninitialized [-Wmaybe-uninitialized] 898 | set_opt(opts.s_mount_opt, DEBUG); | ^ /kisskb/src/fs/ext2/super.c:837:35: note: 'opts' declared here 837 | struct ext2_mount_options opts; | ^~~~ In file included from /kisskb/src/samples/kprobes/kprobe_example.c:14: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kprobe_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kprobes/kprobe_example.c:115:1: note: in expansion of macro 'module_init' 115 | module_init(kprobe_init) | ^~~~~~~~~~~ /kisskb/src/samples/kprobes/kprobe_example.c:93:19: note: 'init_module' target declared here 93 | static int __init kprobe_init(void) | ^~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kprobe_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kprobes/kprobe_example.c:116:1: note: in expansion of macro 'module_exit' 116 | module_exit(kprobe_exit) | ^~~~~~~~~~~ /kisskb/src/samples/kprobes/kprobe_example.c:109:20: note: 'cleanup_module' target declared here 109 | static void __exit kprobe_exit(void) | ^~~~~~~~~~~ In file included from /kisskb/src/samples/kprobes/kretprobe_example.c:22: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kretprobe_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/kprobes/kretprobe_example.c:103:1: note: in expansion of macro 'module_init' 103 | module_init(kretprobe_init) | ^~~~~~~~~~~ /kisskb/src/samples/kprobes/kretprobe_example.c:78:19: note: 'init_module' target declared here 78 | static int __init kretprobe_init(void) | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kretprobe_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/kprobes/kretprobe_example.c:104:1: note: in expansion of macro 'module_exit' 104 | module_exit(kretprobe_exit) | ^~~~~~~~~~~ /kisskb/src/samples/kprobes/kretprobe_example.c:93:20: note: 'cleanup_module' target declared here 93 | static void __exit kretprobe_exit(void) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/file.c:24: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:21: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rpmsg_sample_client_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/rpmsg.h:260:9: note: in expansion of macro 'module_driver' 260 | module_driver(__rpmsg_driver, register_rpmsg_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:99:1: note: in expansion of macro 'module_rpmsg_driver' 99 | module_rpmsg_driver(rpmsg_sample_client); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/rpmsg.h:14, from /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:22: /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:99:21: note: 'cleanup_module' target declared here 99 | module_rpmsg_driver(rpmsg_sample_client); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:99:1: note: in expansion of macro 'module_rpmsg_driver' 99 | module_rpmsg_driver(rpmsg_sample_client); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rpmsg_sample_client_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rpmsg.h:260:9: note: in expansion of macro 'module_driver' 260 | module_driver(__rpmsg_driver, register_rpmsg_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:99:1: note: in expansion of macro 'module_rpmsg_driver' 99 | module_rpmsg_driver(rpmsg_sample_client); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:99:21: note: 'init_module' target declared here 99 | module_rpmsg_driver(rpmsg_sample_client); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:99:1: note: in expansion of macro 'module_rpmsg_driver' 99 | module_rpmsg_driver(rpmsg_sample_client); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_convert_to_initialized': /kisskb/src/fs/ext4/extents.c:3696:31: warning: 'zero_ex2.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] 3696 | err = ext4_zeroout_es(inode, &zero_ex2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3473:38: note: 'zero_ex2.ee_start_lo' was declared here 3473 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/fs/ext4/extents.c:3696:31: warning: 'zero_ex2.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] 3696 | err = ext4_zeroout_es(inode, &zero_ex2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3473:38: note: 'zero_ex2.ee_start_hi' was declared here 3473 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/fs/ext4/extents.c:3696:31: warning: 'zero_ex2.ee_block' may be used uninitialized [-Wmaybe-uninitialized] 3696 | err = ext4_zeroout_es(inode, &zero_ex2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3473:38: note: 'zero_ex2.ee_block' was declared here 3473 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/fs/ext4/extents.c:3694:23: warning: 'zero_ex1.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] 3694 | err = ext4_zeroout_es(inode, &zero_ex1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3473:28: note: 'zero_ex1.ee_start_lo' was declared here 3473 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/fs/ext4/extents.c:3694:23: warning: 'zero_ex1.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] 3694 | err = ext4_zeroout_es(inode, &zero_ex1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3473:28: note: 'zero_ex1.ee_start_hi' was declared here 3473 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/fs/ext4/extents.c:3694:23: warning: 'zero_ex1.ee_block' may be used uninitialized [-Wmaybe-uninitialized] 3694 | err = ext4_zeroout_es(inode, &zero_ex1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3473:28: note: 'zero_ex1.ee_block' was declared here 3473 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In file included from /kisskb/src/samples/trace_events/trace-events-sample.c:1: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'trace_event_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/trace_events/trace-events-sample.c:134:1: note: in expansion of macro 'module_init' 134 | module_init(trace_event_init); | ^~~~~~~~~~~ /kisskb/src/samples/trace_events/trace-events-sample.c:115:19: note: 'init_module' target declared here 115 | static int __init trace_event_init(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'trace_event_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/trace_events/trace-events-sample.c:135:1: note: in expansion of macro 'module_exit' 135 | module_exit(trace_event_exit); | ^~~~~~~~~~~ /kisskb/src/samples/trace_events/trace-events-sample.c:124:20: note: 'cleanup_module' target declared here 124 | static void __exit trace_event_exit(void) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/trace_printk/trace-printk.c:1: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'trace_printk_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/trace_printk/trace-printk.c:51:1: note: in expansion of macro 'module_init' 51 | module_init(trace_printk_init); | ^~~~~~~~~~~ /kisskb/src/samples/trace_printk/trace-printk.c:29:19: note: 'init_module' target declared here 29 | static int __init trace_printk_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'trace_printk_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/trace_printk/trace-printk.c:52:1: note: in expansion of macro 'module_exit' 52 | module_exit(trace_printk_exit); | ^~~~~~~~~~~ /kisskb/src/samples/trace_printk/trace-printk.c:47:20: note: 'cleanup_module' target declared here 47 | static void __exit trace_printk_exit(void) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/inode.c:14: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/arch/powerpc/platforms/powermac/feature.c: In function 'g5_i2s_enable': /kisskb/src/arch/powerpc/platforms/powermac/feature.c:1472:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1472 | if (macio->type == macio_shasta) | ^ /kisskb/src/arch/powerpc/platforms/powermac/feature.c:1474:9: note: here 1474 | default: | ^~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mtty.c:18: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtty_dev_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mtty.c:1510:1: note: in expansion of macro 'module_init' 1510 | module_init(mtty_dev_init) | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mtty.c:1435:19: note: 'init_module' target declared here 1435 | static int __init mtty_dev_init(void) | ^~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtty_dev_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mtty.c:1511:1: note: in expansion of macro 'module_exit' 1511 | module_exit(mtty_dev_exit) | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mtty.c:1496:20: note: 'cleanup_module' target declared here 1496 | static void __exit mtty_dev_exit(void) | ^~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/namei.c:17: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/samples/vfio-mdev/mdpy.c:19: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mdpy_dev_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mdpy.c:806:1: note: in expansion of macro 'module_init' 806 | module_init(mdpy_dev_init) | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mdpy.c:751:19: note: 'init_module' target declared here 751 | static int __init mdpy_dev_init(void) | ^~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mdpy_dev_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mdpy.c:807:1: note: in expansion of macro 'module_exit' 807 | module_exit(mdpy_dev_exit) | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mdpy.c:794:20: note: 'cleanup_module' target declared here 794 | static void __exit mdpy_dev_exit(void) | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/arch/powerpc/include/asm/sections.h:7, from /kisskb/src/include/linux/interrupt.h:20, from /kisskb/src/include/sound/timer.h:27, from /kisskb/src/sound/core/timer.c:32: /kisskb/src/sound/core/timer_compat.c: In function 'snd_timer_user_gparams_compat': /kisskb/src/sound/core/timer_compat.c:54:42: warning: taking address of packed member of 'struct snd_timer_gparams32' may result in an unaligned pointer value [-Waddress-of-packed-member] 54 | get_user(gparams.period_num, &user->period_num) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/timer_compat.c:54:13: note: in expansion of macro 'get_user' 54 | get_user(gparams.period_num, &user->period_num) || | ^~~~~~~~ /kisskb/src/sound/core/timer_compat.c:55:42: warning: taking address of packed member of 'struct snd_timer_gparams32' may result in an unaligned pointer value [-Waddress-of-packed-member] 55 | get_user(gparams.period_den, &user->period_den)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/timer_compat.c:55:13: note: in expansion of macro 'get_user' 55 | get_user(gparams.period_den, &user->period_den)) | ^~~~~~~~ /kisskb/src/sound/firewire/fireworks/fireworks_command.c: In function 'snd_efw_command_get_hwinfo': /kisskb/src/sound/firewire/fireworks/fireworks_command.c:219:32: warning: converting a packed 'struct snd_efw_hwinfo' pointer (alignment 1) to a '__be32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 219 | NULL, 0, (__be32 *)hwinfo, sizeof(*hwinfo)); | ^~~~ In file included from /kisskb/src/sound/firewire/fireworks/fireworks_command.c:9: /kisskb/src/sound/firewire/fireworks/./fireworks.h:125:8: note: defined here 125 | struct snd_efw_hwinfo { | ^~~~~~~~~~~~~~ /kisskb/src/sound/firewire/fireworks/fireworks_command.c: In function 'snd_efw_command_get_phys_meters': /kisskb/src/sound/firewire/fireworks/fireworks_command.c:260:9: warning: converting a packed 'struct snd_efw_phys_meters' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 260 | u32 *buf = (u32 *)meters; | ^~~ /kisskb/src/sound/firewire/fireworks/./fireworks.h:170:8: note: defined here 170 | struct snd_efw_phys_meters { | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/firewire/fireworks/fireworks_command.c:266:31: warning: converting a packed 'struct snd_efw_phys_meters' pointer (alignment 1) to a '__be32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 266 | NULL, 0, (__be32 *)meters, len); | ^~~~ /kisskb/src/sound/firewire/fireworks/./fireworks.h:170:8: note: defined here 170 | struct snd_efw_phys_meters { | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mdpy-fb.c:24: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mdpy_fb_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mdpy-fb.c:229:1: note: in expansion of macro 'module_init' 229 | module_init(mdpy_fb_init); | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mdpy-fb.c:218:19: note: 'init_module' target declared here 218 | static int __init mdpy_fb_init(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/hash.c:18: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/super.c:27: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/sound/firewire/fireworks/fireworks_proc.c: In function 'proc_read_phys_meters': /kisskb/src/sound/firewire/fireworks/fireworks_proc.c:152:18: warning: taking address of packed member of 'struct snd_efw_phys_meters' may result in an unaligned pointer value [-Waddress-of-packed-member] 152 | linear = meters->values; | ^~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mbochs.c:23: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mbochs_dev_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mbochs.c:1502:1: note: in expansion of macro 'module_init' 1502 | module_init(mbochs_dev_init) | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mbochs.c:1447:19: note: 'init_module' target declared here 1447 | static int __init mbochs_dev_init(void) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mbochs_dev_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mbochs.c:1503:1: note: in expansion of macro 'module_exit' 1503 | module_exit(mbochs_dev_exit) | ^~~~~~~~~~~ /kisskb/src/samples/vfio-mdev/mbochs.c:1490:20: note: 'cleanup_module' target declared here 1490 | static void __exit mbochs_dev_exit(void) | ^~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'add_posix_context': /kisskb/src/fs/cifs/smb2pdu.c:581:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 581 | le32_add_cpu(&req->CreateContextsLength, sizeof(struct create_posix)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'add_lease_context': /kisskb/src/fs/cifs/smb2pdu.c:1714:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1714 | le32_add_cpu(&req->CreateContextsLength, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'add_durable_v2_context': /kisskb/src/fs/cifs/smb2pdu.c:1797:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1797 | le32_add_cpu(&req->CreateContextsLength, sizeof(struct create_durable_v2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'add_durable_reconnect_v2_context': /kisskb/src/fs/cifs/smb2pdu.c:1820:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1820 | le32_add_cpu(&req->CreateContextsLength, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'add_durable_context': /kisskb/src/fs/cifs/smb2pdu.c:1854:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1854 | le32_add_cpu(&req->CreateContextsLength, sizeof(struct create_durable)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'add_twarp_context': /kisskb/src/fs/cifs/smb2pdu.c:1899:22: warning: taking address of packed member of 'struct smb2_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1899 | le32_add_cpu(&req->CreateContextsLength, sizeof(struct crt_twarp_ctxt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/smb2pdu.c: In function 'SMB2_set_info_init': /kisskb/src/fs/cifs/smb2pdu.c:3799:30: warning: taking address of packed member of 'struct smb2_set_info_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 3799 | le32_add_cpu(&req->BufferLength, size[i]); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/atmdev.h:11, from /kisskb/src/net/atm/common.c:11: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'vcc_process_recv_queue' at /kisskb/src/net/atm/common.c:234:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/atm/common.c: In function 'vcc_process_recv_queue': /kisskb/src/net/atm/common.c:226:29: note: object 'queue' of size 96 226 | struct sk_buff_head queue, *rq; | ^~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/include/linux/poll.h:12, from /kisskb/src/include/sound/info.h:25, from /kisskb/src/sound/core/pcm_native.c:33: /kisskb/src/sound/core/pcm_compat.c: In function 'snd_pcm_status_user_compat': /kisskb/src/sound/core/pcm_compat.c:218:33: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 218 | (u32 __user *)(&src->audio_tstamp_data))) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:217:20: note: in expansion of macro 'get_user' 217 | if (ext && get_user(status.audio_tstamp_data, | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:226:36: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 226 | if (put_user(status.state, &src->state) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:226:13: note: in expansion of macro 'put_user' 226 | if (put_user(status.state, &src->state) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:229:39: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 229 | put_user(status.appl_ptr, &src->appl_ptr) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:229:13: note: in expansion of macro 'put_user' 229 | put_user(status.appl_ptr, &src->appl_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:230:37: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 230 | put_user(status.hw_ptr, &src->hw_ptr) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:230:13: note: in expansion of macro 'put_user' 230 | put_user(status.hw_ptr, &src->hw_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:231:36: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | put_user(status.delay, &src->delay) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:231:13: note: in expansion of macro 'put_user' 231 | put_user(status.delay, &src->delay) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:232:36: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 232 | put_user(status.avail, &src->avail) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:232:13: note: in expansion of macro 'put_user' 232 | put_user(status.avail, &src->avail) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:233:40: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 233 | put_user(status.avail_max, &src->avail_max) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:233:13: note: in expansion of macro 'put_user' 233 | put_user(status.avail_max, &src->avail_max) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:234:40: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | put_user(status.overrange, &src->overrange) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:234:13: note: in expansion of macro 'put_user' 234 | put_user(status.overrange, &src->overrange) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:235:46: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 235 | put_user(status.suspended_state, &src->suspended_state) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:235:13: note: in expansion of macro 'put_user' 235 | put_user(status.suspended_state, &src->suspended_state) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:236:48: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 236 | put_user(status.audio_tstamp_data, &src->audio_tstamp_data) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:236:13: note: in expansion of macro 'put_user' 236 | put_user(status.audio_tstamp_data, &src->audio_tstamp_data) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:239:52: warning: taking address of packed member of 'struct snd_pcm_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 239 | put_user(status.audio_tstamp_accuracy, &src->audio_tstamp_accuracy)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:239:13: note: in expansion of macro 'put_user' 239 | put_user(status.audio_tstamp_accuracy, &src->audio_tstamp_accuracy)) | ^~~~~~~~ In file included from /kisskb/src/security/tomoyo/audit.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/sound/core/pcm_compat.c: In function 'snd_pcm_ioctl_sync_ptr_compat': /kisskb/src/sound/core/pcm_compat.c:495:30: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] 495 | if (get_user(sflags, &src->flags) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:495:13: note: in expansion of macro 'get_user' 495 | if (get_user(sflags, &src->flags) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:496:41: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] 496 | get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:496:13: note: in expansion of macro 'get_user' 496 | get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:497:42: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | get_user(scontrol.avail_min, &src->c.control.avail_min)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:497:13: note: in expansion of macro 'get_user' 497 | get_user(scontrol.avail_min, &src->c.control.avail_min)) | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:525:37: warning: taking address of packed member of 'struct snd_pcm_mmap_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 525 | if (put_user(sstatus.state, &src->s.status.state) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:525:13: note: in expansion of macro 'put_user' 525 | if (put_user(sstatus.state, &src->s.status.state) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:526:38: warning: taking address of packed member of 'struct snd_pcm_mmap_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 526 | put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:526:13: note: in expansion of macro 'put_user' 526 | put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:528:47: warning: taking address of packed member of 'struct snd_pcm_mmap_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 528 | put_user(sstatus.suspended_state, &src->s.status.suspended_state) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:528:13: note: in expansion of macro 'put_user' 528 | put_user(sstatus.suspended_state, &src->s.status.suspended_state) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:531:41: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] 531 | put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:531:13: note: in expansion of macro 'put_user' 531 | put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:532:42: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] 532 | put_user(scontrol.avail_min, &src->c.control.avail_min)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:532:13: note: in expansion of macro 'put_user' 532 | put_user(scontrol.avail_min, &src->c.control.avail_min)) | ^~~~~~~~ In file included from /kisskb/src/security/tomoyo/condition.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/condition.c: In function 'tomoyo_commit_condition': /kisskb/src/security/tomoyo/condition.c:406:33: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 406 | atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/condition.c:409:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 409 | atomic_inc(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/condition.c:415:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 415 | atomic_set(&entry->head.users, 1); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/condition.c:416:34: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 416 | list_add(&entry->head.list, &tomoyo_condition_list); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/condition.c:425:38: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 425 | tomoyo_del_condition(&entry->head.list); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/condition.c: In function 'tomoyo_get_condition': /kisskb/src/security/tomoyo/condition.c:679:38: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 679 | tomoyo_del_condition(&entry->head.list); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/inline.c:12: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/checkpoint.c:17: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/cifs/smb2file.c: In function 'smb2_open_file': /kisskb/src/fs/cifs/smb2file.c:92:39: warning: taking address of packed member of 'struct smb2_file_all_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 92 | &smb2_data->IndexNumber); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/domain.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/domain.c: In function 'tomoyo_update_policy': /kisskb/src/security/tomoyo/domain.c:56:43: warning: taking address of packed member of 'struct tomoyo_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 56 | list_add_tail_rcu(&entry->list, list); | ^~~~~~~~~~~~ /kisskb/src/security/tomoyo/domain.c: In function 'tomoyo_update_domain': /kisskb/src/security/tomoyo/domain.c:139:43: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 139 | list_add_tail_rcu(&entry->list, list); | ^~~~~~~~~~~~ In file included from /kisskb/src/kernel/trace/preemptirq_delay_test.c:14: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'preemptirq_delay_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/kernel/trace/preemptirq_delay_test.c:70:1: note: in expansion of macro 'module_init' 70 | module_init(preemptirq_delay_init) | ^~~~~~~~~~~ /kisskb/src/kernel/trace/preemptirq_delay_test.c:54:19: note: 'init_module' target declared here 54 | static int __init preemptirq_delay_init(void) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'preemptirq_delay_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/trace/preemptirq_delay_test.c:71:1: note: in expansion of macro 'module_exit' 71 | module_exit(preemptirq_delay_exit) | ^~~~~~~~~~~ /kisskb/src/kernel/trace/preemptirq_delay_test.c:65:20: note: 'cleanup_module' target declared here 65 | static void __exit preemptirq_delay_exit(void) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/gc.c:17: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/security/tomoyo/environ.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/mm/kmemleak-test.c:25: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'kmemleak_test_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/mm/kmemleak-test.c:96:1: note: in expansion of macro 'module_init' 96 | module_init(kmemleak_test_init); | ^~~~~~~~~~~ /kisskb/src/mm/kmemleak-test.c:47:19: note: 'init_module' target declared here 47 | static int __init kmemleak_test_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kmemleak_test_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/mm/kmemleak-test.c:109:1: note: in expansion of macro 'module_exit' 109 | module_exit(kmemleak_test_exit); | ^~~~~~~~~~~ /kisskb/src/mm/kmemleak-test.c:98:20: note: 'cleanup_module' target declared here 98 | static void __exit kmemleak_test_exit(void) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/file.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c: In function 'snd_opti9xx_configure': /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 3) & -256 | 240' to '240' [-Woverflow] 334 | (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:363:17: note: in expansion of macro 'snd_opti9xx_write_mask' 363 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(3), 0xf0, 0xff); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/data.c:22: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/security/tomoyo/group.c:11: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/gc.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c: In function 'tomoyo_del_domain': /kisskb/src/security/tomoyo/gc.c:256:32: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 256 | tomoyo_del_acl(&acl->list); | ^~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c: In function 'tomoyo_collect_member': /kisskb/src/security/tomoyo/gc.c:483:38: warning: taking address of packed member of 'struct tomoyo_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 483 | tomoyo_try_to_gc(id, &member->list); | ^~~~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c: In function 'tomoyo_collect_acl': /kisskb/src/security/tomoyo/gc.c:502:49: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 502 | tomoyo_try_to_gc(TOMOYO_ID_ACL, &acl->list); | ^~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c: In function 'tomoyo_collect_entry': /kisskb/src/security/tomoyo/gc.c:539:41: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 539 | if (atomic_read(&ptr->users) > 0) | ^~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:541:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 541 | atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS); | ^~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:542:63: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 542 | tomoyo_try_to_gc(TOMOYO_ID_CONDITION, &ptr->list); | ^~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:564:49: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 564 | atomic_read(&group->head.users) > 0) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:566:44: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 566 | atomic_set(&group->head.users, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:569:50: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 569 | &group->head.list); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:578:41: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 578 | if (atomic_read(&ptr->users) > 0) | ^~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:580:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 580 | atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS); | ^~~~~~~~~~~ /kisskb/src/security/tomoyo/gc.c:581:58: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 581 | tomoyo_try_to_gc(TOMOYO_ID_NAME, &ptr->list); | ^~~~~~~~~~ In file included from /kisskb/src/sound/isa/opti9xx/opti92x-cs4231.c:2: /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c: In function 'snd_opti9xx_configure': /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 3) & -256 | 240' to '240' [-Woverflow] 334 | (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:363:17: note: in expansion of macro 'snd_opti9xx_write_mask' 363 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(3), 0xf0, 0xff); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/sound/isa/opti9xx/opti93x.c:2: /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c: In function 'snd_opti9xx_configure': /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 21) & -256 | 130' to '130' [-Woverflow] 334 | (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:398:17: note: in expansion of macro 'snd_opti9xx_write_mask' 398 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(21), 0x82, 0xff); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:334:57: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_opti9xx_read(chip, 3) & -256' to '0' [-Woverflow] 334 | (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/opti92x-ad1848.c:407:17: note: in expansion of macro 'snd_opti9xx_write_mask' 407 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(3), 0x00, 0xff); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/load_policy.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/miro.c: In function 'snd_miro_configure': /kisskb/src/sound/isa/opti9xx/miro.c:886:54: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)snd_miro_read(chip, 3) & -256 | 240' to '240' [-Woverflow] 886 | (snd_miro_read(chip, reg) & ~(mask)) | ((value) & (mask))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/isa/opti9xx/miro.c:1026:17: note: in expansion of macro 'snd_miro_write_mask' 1026 | snd_miro_write_mask(chip, OPTi9XX_MC_REG(3), 0xf0, 0xff); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/memory.c:10: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c: In function 'tomoyo_get_group': /kisskb/src/security/tomoyo/memory.c:111:33: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 111 | atomic_read(&group->head.users) == TOMOYO_GC_IN_PROGRESS) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c:113:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 113 | atomic_inc(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c:121:36: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 121 | atomic_set(&entry->head.users, 1); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c:122:43: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | list_add_tail_rcu(&entry->head.list, list); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c: In function 'tomoyo_get_name': /kisskb/src/security/tomoyo/memory.c:164:33: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 164 | atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c:166:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 166 | atomic_inc(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c:173:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 173 | atomic_set(&ptr->head.users, 1); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/memory.c:175:31: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 175 | list_add_tail(&ptr->head.list, head); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/arch/powerpc/include/asm/sections.h:7, from /kisskb/src/include/linux/interrupt.h:20, from /kisskb/src/include/sound/rawmidi.h:26, from /kisskb/src/sound/core/rawmidi.c:33: /kisskb/src/sound/core/rawmidi_compat.c: In function 'snd_rawmidi_ioctl_params_compat': /kisskb/src/sound/core/rawmidi_compat.c:39:37: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] 39 | if (get_user(params.stream, &src->stream) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:39:13: note: in expansion of macro 'get_user' 39 | if (get_user(params.stream, &src->stream) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:40:42: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | get_user(params.buffer_size, &src->buffer_size) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:40:13: note: in expansion of macro 'get_user' 40 | get_user(params.buffer_size, &src->buffer_size) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:41:40: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] 41 | get_user(params.avail_min, &src->avail_min) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:41:13: note: in expansion of macro 'get_user' 41 | get_user(params.avail_min, &src->avail_min) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:42:27: warning: taking address of packed member of 'struct snd_rawmidi_params32' may result in an unaligned pointer value [-Waddress-of-packed-member] 42 | get_user(val, &src->no_active_sensing)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:42:13: note: in expansion of macro 'get_user' 42 | get_user(val, &src->no_active_sensing)) | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c: In function 'snd_rawmidi_ioctl_status_compat': /kisskb/src/sound/core/rawmidi_compat.c:72:37: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 72 | if (get_user(status.stream, &src->stream)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:72:13: note: in expansion of macro 'get_user' 72 | if (get_user(status.stream, &src->stream)) | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:93:36: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 93 | put_user(status.avail, &src->avail) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:93:13: note: in expansion of macro 'put_user' 93 | put_user(status.avail, &src->avail) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:94:36: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] 94 | put_user(status.xruns, &src->xruns)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:94:13: note: in expansion of macro 'put_user' 94 | put_user(status.xruns, &src->xruns)) | ^~~~~~~~ In file included from /kisskb/src/security/tomoyo/mount.c:9: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/node.c:16: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/security/tomoyo/network.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/lrw.c:290:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 290 | static void free(struct skcipher_instance *inst) | ^~~~ /kisskb/src/crypto/lrw.c:31:1: note: 'free' is declared in header '<stdlib.h>' 30 | #include <crypto/gf128mul.h> +++ |+#include <stdlib.h> 31 | /kisskb/src/kernel/extable.c: In function 'sort_main_extable': /kisskb/src/kernel/extable.c:49:59: warning: comparison between two arrays [-Warray-compare] 49 | if (main_extable_sort_needed && __stop___ex_table > __start___ex_table) { | ^ /kisskb/src/kernel/extable.c:49:59: note: use '&__stop___ex_table[0] > &__start___ex_table[0]' to compare the addresses /kisskb/src/crypto/xts.c:219:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 219 | static void free(struct skcipher_instance *inst) | ^~~~ /kisskb/src/crypto/xts.c:28:1: note: 'free' is declared in header '<stdlib.h>' 27 | #include <crypto/gf128mul.h> +++ |+#include <stdlib.h> 28 | In file included from /kisskb/src/security/tomoyo/realpath.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/securityfs_if.c:9: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/tomoyo.c:9: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/security/tomoyo/util.c:11: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/segment.c:19: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/recovery.c:10: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/lib/zstd/compress.c:2270: In function 'ZSTD_compressBlock_opt_extDict_generic', inlined from 'ZSTD_compressBlock_btopt_extDict' at /kisskb/src/lib/zstd/compress.c:2299:2: /kisskb/src/lib/zstd/zstd_opt.h:855:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 855 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/zstd/compress.c:23: /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt_extDict': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In file included from /kisskb/src/security/tomoyo/common.c:11: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | atomic_dec(&ptr->head.users); | ^~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_condition': /kisskb/src/security/tomoyo/common.h:1183:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1183 | atomic_dec(&cond->head.users); | ^~~~~~~~~~~~~~~~~ /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_group': /kisskb/src/security/tomoyo/common.h:1196:28: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] 1196 | atomic_dec(&group->head.users); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/shrinker.c:12: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In function 'ZSTD_compressBlock_opt_extDict_generic', inlined from 'ZSTD_compressBlock_btopt2_extDict' at /kisskb/src/lib/zstd/compress.c:2311:2: /kisskb/src/lib/zstd/zstd_opt.h:855:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 855 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt2_extDict': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In function 'ZSTD_compressBlock_opt_generic', inlined from 'ZSTD_compressBlock_btopt' at /kisskb/src/lib/zstd/compress.c:2275:2: /kisskb/src/lib/zstd/zstd_opt.h:547:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 547 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In function 'ZSTD_compressBlock_opt_generic', inlined from 'ZSTD_compressBlock_btopt2' at /kisskb/src/lib/zstd/compress.c:2287:2: /kisskb/src/lib/zstd/zstd_opt.h:547:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 547 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt2': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In file included from /kisskb/src/fs/f2fs/extent_cache.c:14: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/sysfs.c:14: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/debug.c:18: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/hfs/btree.c: In function 'hfs_btree_open': /kisskb/src/fs/hfs/btree.c:48:53: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 48 | hfs_inode_read_fork(tree->inode, mdb->drXTExtRec, mdb->drXTFlSize, | ~~~^~~~~~~~~~~~ /kisskb/src/fs/hfs/btree.c:60:53: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 60 | hfs_inode_read_fork(tree->inode, mdb->drCTExtRec, mdb->drCTFlSize, | ~~~^~~~~~~~~~~~ In file included from /kisskb/src/fs/f2fs/xattr.c:22: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/acl.c:13: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/fs/f2fs/trace.c:13: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:37: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ /kisskb/src/fs/f2fs/f2fs.h:2178:54: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from /kisskb/src/drivers/base/test/test_async_driver_probe.c:11: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_async_probe_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/base/test/test_async_driver_probe.c:147:1: note: in expansion of macro 'module_init' 147 | module_init(test_async_probe_init); | ^~~~~~~~~~~ /kisskb/src/drivers/base/test/test_async_driver_probe.c:47:19: note: 'init_module' target declared here 47 | static int __init test_async_probe_init(void) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_async_probe_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/base/test/test_async_driver_probe.c:157:1: note: in expansion of macro 'module_exit' 157 | module_exit(test_async_probe_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/base/test/test_async_driver_probe.c:149:20: note: 'cleanup_module' target declared here 149 | static void __exit test_async_probe_exit(void) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/extent.c: In function 'hfs_free_fork': /kisskb/src/fs/hfs/extent.c:297:26: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 297 | extent = file->ExtRec; | ^~~~ /kisskb/src/fs/hfs/extent.c:300:26: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 300 | extent = file->RExtRec; | ^~~~ /kisskb/src/fs/hfsplus/super.c: In function 'hfsplus_fill_super': /kisskb/src/fs/hfsplus/super.c:547:30: warning: taking address of packed member of 'struct hfsplus_vh' may result in an unaligned pointer value [-Waddress-of-packed-member] 547 | be32_add_cpu(&vhdr->write_count, 1); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/inode.c: In function 'hfs_read_inode': /kisskb/src/fs/hfs/inode.c:340:61: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 340 | hfs_inode_read_fork(inode, rec->file.ExtRec, rec->file.LgLen, | ~~~~~~~~~^~~~~~~ /kisskb/src/fs/hfs/inode.c:343:61: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 343 | hfs_inode_read_fork(inode, rec->file.RExtRec, rec->file.RLgLen, | ~~~~~~~~~^~~~~~~~ /kisskb/src/fs/hfs/inode.c: In function 'hfs_write_inode': /kisskb/src/fs/hfs/inode.c:478:53: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 478 | hfs_inode_write_fork(inode, rec.file.RExtRec, | ~~~~~~~~^~~~~~~~ /kisskb/src/fs/hfs/inode.c:479:38: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 479 | &rec.file.RLgLen, &rec.file.RPyLen); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/inode.c:479:56: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 479 | &rec.file.RLgLen, &rec.file.RPyLen); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/inode.c:495:53: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 495 | hfs_inode_write_fork(inode, rec.file.ExtRec, &rec.file.LgLen, &rec.file.PyLen); | ~~~~~~~~^~~~~~~ /kisskb/src/fs/hfs/inode.c:495:62: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 495 | hfs_inode_write_fork(inode, rec.file.ExtRec, &rec.file.LgLen, &rec.file.PyLen); | ^~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/inode.c:495:79: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] 495 | hfs_inode_write_fork(inode, rec.file.ExtRec, &rec.file.LgLen, &rec.file.PyLen); | ^~~~~~~~~~~~~~~ /kisskb/src/fs/hpfs/anode.c: In function 'hpfs_add_sector_to_btree': /kisskb/src/fs/hpfs/anode.c:209:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bplus_internal_node[0]' [-Wzero-length-bounds] 209 | anode->btree.u.internal[0].down = cpu_to_le32(a); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/fs/hpfs/hpfs_fn.h:26, from /kisskb/src/fs/hpfs/anode.c:10: /kisskb/src/fs/hpfs/hpfs.h:411:32: note: while referencing 'internal' 411 | struct bplus_internal_node internal[0]; /* (internal) 2-word entries giving | ^~~~~~~~ /kisskb/src/fs/hpfs/anode.c:210:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bplus_internal_node[0]' [-Wzero-length-bounds] 210 | anode->btree.u.internal[0].file_secno = cpu_to_le32(-1); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/fs/hpfs/hpfs.h:411:32: note: while referencing 'internal' 411 | struct bplus_internal_node internal[0]; /* (internal) 2-word entries giving | ^~~~~~~~ /kisskb/src/fs/hfs/mdb.c: In function 'hfs_mdb_get': /kisskb/src/fs/hfs/mdb.c:218:30: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 218 | be32_add_cpu(&mdb->drWrCnt, 1); | ^~~~~~~~~~~~~ /kisskb/src/fs/hfs/mdb.c: In function 'hfs_mdb_commit': /kisskb/src/fs/hfs/mdb.c:285:70: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 285 | hfs_inode_write_fork(HFS_SB(sb)->ext_tree->inode, mdb->drXTExtRec, | ~~~^~~~~~~~~~~~ /kisskb/src/fs/hfs/mdb.c:286:38: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 286 | &mdb->drXTFlSize, NULL); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/mdb.c:287:70: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 287 | hfs_inode_write_fork(HFS_SB(sb)->cat_tree->inode, mdb->drCTExtRec, | ~~~^~~~~~~~~~~~ /kisskb/src/fs/hfs/mdb.c:288:38: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] 288 | &mdb->drCTFlSize, NULL); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/part_tbl.c: In function 'hfs_part_find': /kisskb/src/fs/hfs/part_tbl.c:77:21: warning: taking address of packed member of 'struct old_pmap' may result in an unaligned pointer value [-Waddress-of-packed-member] 77 | p = pm->pdEntry; | ^~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_insert': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:129:22: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 129 | rb_link_node(&rbnode->node, parent, new); | ^~~~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c:130:25: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | rb_insert_color(&rbnode->node, root); | ^~~~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_exit': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:242:32: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 242 | next = rb_next(&rbtree_node->node); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c:243:26: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 243 | rb_erase(&rbtree_node->node, &rbtree_ctx->root); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/block/aoe/aoechr.c:13: In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'revalidate' at /kisskb/src/drivers/block/aoe/aoechr.c:119:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoechr.c: In function 'revalidate': /kisskb/src/drivers/block/aoe/aoechr.c:117:37: note: object 'queue' of size 96 117 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'revalidate' at /kisskb/src/drivers/block/aoe/aoechr.c:119:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoechr.c: In function 'revalidate': /kisskb/src/drivers/block/aoe/aoechr.c:117:37: note: object 'queue' of size 96 117 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'resend' at /kisskb/src/drivers/block/aoe/aoecmd.c:493:2: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'resend': /kisskb/src/drivers/block/aoe/aoecmd.c:455:29: note: object 'queue' of size 96 455 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'resend' at /kisskb/src/drivers/block/aoe/aoecmd.c:493:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'resend': /kisskb/src/drivers/block/aoe/aoecmd.c:455:29: note: object 'queue' of size 96 455 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'aoecmd_ata_rw' at /kisskb/src/drivers/block/aoe/aoecmd.c:403:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_ata_rw': /kisskb/src/drivers/block/aoe/aoecmd.c:374:29: note: object 'queue' of size 96 374 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'aoecmd_ata_rw' at /kisskb/src/drivers/block/aoe/aoecmd.c:403:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_ata_rw': /kisskb/src/drivers/block/aoe/aoecmd.c:374:29: note: object 'queue' of size 96 374 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'probe' at /kisskb/src/drivers/block/aoe/aoecmd.c:619:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'probe': /kisskb/src/drivers/block/aoe/aoecmd.c:585:29: note: object 'queue' of size 96 585 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'probe' at /kisskb/src/drivers/block/aoe/aoecmd.c:619:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'probe': /kisskb/src/drivers/block/aoe/aoecmd.c:585:29: note: object 'queue' of size 96 585 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'aoecmd_cfg_rsp' at /kisskb/src/drivers/block/aoe/aoecmd.c:1610:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_cfg_rsp': /kisskb/src/drivers/block/aoe/aoecmd.c:1542:29: note: object 'queue' of size 96 1542 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'aoecmd_cfg_rsp' at /kisskb/src/drivers/block/aoe/aoecmd.c:1610:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_cfg_rsp': /kisskb/src/drivers/block/aoe/aoecmd.c:1542:29: note: object 'queue' of size 96 1542 | struct sk_buff_head queue; | ^~~~~ /kisskb/src/sound/usb/misc/ua101.c: In function 'alloc_stream_urbs': /kisskb/src/sound/usb/misc/ua101.c:1129:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1129 | urb->urb.iso_frame_desc[0].offset = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/sound/usb/misc/ua101.c:20: /kisskb/src/include/linux/usb.h:1580:42: note: while referencing 'iso_frame_desc' 1580 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ /kisskb/src/sound/usb/misc/ua101.c:1130:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1130 | urb->urb.iso_frame_desc[0].length = max_packet_size; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/include/linux/usb.h:1580:42: note: while referencing 'iso_frame_desc' 1580 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ /kisskb/src/sound/usb/misc/ua101.c: In function 'playback_urb_complete': /kisskb/src/sound/usb/misc/ua101.c:203:56: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 203 | urb->urb.iso_frame_desc[0].length / | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/include/linux/usb.h:1580:42: note: while referencing 'iso_frame_desc' 1580 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ /kisskb/src/sound/usb/misc/ua101.c: In function 'playback_tasklet': /kisskb/src/sound/usb/misc/ua101.c:297:40: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 297 | urb->urb.iso_frame_desc[0].length = | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/include/linux/usb.h:1580:42: note: while referencing 'iso_frame_desc' 1580 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/include/linux/blk-mq.h:5, from /kisskb/src/drivers/block/aoe/aoedev.c:8: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'flush' at /kisskb/src/drivers/block/aoe/aoedev.c:317:7: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'flush': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoedev.c:307:14: note: 'buf' declared here 307 | char buf[16]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/arch/powerpc/platforms/pseries/scanlog.c:23: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'scanlog_write' at /kisskb/src/arch/powerpc/platforms/pseries/scanlog.c:120:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'stkbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'scanlog_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/platforms/pseries/scanlog.c:116:14: note: 'stkbuf' declared here 116 | char stkbuf[20]; | ^~~~~~ /kisskb/src/net/bluetooth/mgmt.c: In function 'read_commands': /kisskb/src/net/bluetooth/mgmt.c:328:34: warning: taking address of packed member of 'struct mgmt_rp_read_commands' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | __le16 *opcode = rp->opcodes; | ^~ /kisskb/src/net/bluetooth/mgmt.c:336:34: warning: taking address of packed member of 'struct mgmt_rp_read_commands' may result in an unaligned pointer value [-Waddress-of-packed-member] 336 | __le16 *opcode = rp->opcodes; | ^~ /kisskb/src/fs/hfsplus/unicode.c: In function 'hfsplus_strcasecmp': /kisskb/src/fs/hfsplus/unicode.c:40:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | p1 = s1->unicode; | ^~ /kisskb/src/fs/hfsplus/unicode.c:41:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] 41 | p2 = s2->unicode; | ^~ /kisskb/src/fs/hfsplus/unicode.c: In function 'hfsplus_strcmp': /kisskb/src/fs/hfsplus/unicode.c:74:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | p1 = s1->unicode; | ^~ /kisskb/src/fs/hfsplus/unicode.c:75:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] 75 | p2 = s2->unicode; | ^~ /kisskb/src/fs/hfsplus/unicode.c: In function 'hfsplus_uni2asc': /kisskb/src/fs/hfsplus/unicode.c:134:14: warning: taking address of packed member of 'struct hfsplus_unistr' may result in an unaligned pointer value [-Waddress-of-packed-member] 134 | ip = ustr->unicode; | ^~~~ /kisskb/src/fs/hfsplus/part_tbl.c: In function 'hfs_parse_old_pmap': /kisskb/src/fs/hfsplus/part_tbl.c:77:44: warning: taking address of packed member of 'struct old_pmap' may result in an unaligned pointer value [-Waddress-of-packed-member] 77 | struct old_pmap_entry *p = &pm->pdEntry[i]; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/nsproxy.h:5, from /kisskb/src/kernel/user_namespace.c:9: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'proc_setgroups_write' at /kisskb/src/kernel/user_namespace.c:1151:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'proc_setgroups_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/user_namespace.c:1140:14: note: 'kbuf' declared here 1140 | char kbuf[8], *pos; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/arch/powerpc/platforms/pseries/lparcfg.c:21: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'lparcfg_write' at /kisskb/src/arch/powerpc/platforms/pseries/lparcfg.c:600:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'lparcfg_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/platforms/pseries/lparcfg.c:588:14: note: 'kbuf' declared here 588 | char kbuf[64]; | ^~~~ /kisskb/src/fs/hfsplus/xattr.c: In function 'hfsplus_init_header_node': /kisskb/src/fs/hfsplus/xattr.c:104:30: warning: taking address of packed member of 'struct hfs_btree_header_rec' may result in an unaligned pointer value [-Waddress-of-packed-member] 104 | be32_add_cpu(&head->free_nodes, 0 - map_nodes); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/char/ipmi/ipmi_devintf.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'handle_send_req' at /kisskb/src/drivers/char/ipmi/ipmi_devintf.c:155:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'addr' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'handle_send_req': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/char/ipmi/ipmi_devintf.c:149:26: note: 'addr' declared here 149 | struct ipmi_addr addr; | ^~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/uaccess.h:5, from /kisskb/src/lib/kstrtox.c:21: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtobool_from_user' at /kisskb/src/lib/kstrtox.c:380:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtobool_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:377:14: note: 'buf' declared here 377 | char buf[4]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtoull_from_user' at /kisskb/src/lib/kstrtox.c:401:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtoull_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:401:1: note: in expansion of macro 'kstrto_from_user' 401 | kstrto_from_user(kstrtoull_from_user, kstrtoull, unsigned long long); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtoul_from_user' at /kisskb/src/lib/kstrtox.c:403:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtoul_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:403:1: note: in expansion of macro 'kstrto_from_user' 403 | kstrto_from_user(kstrtoul_from_user, kstrtoul, unsigned long); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtou16_from_user' at /kisskb/src/lib/kstrtox.c:407:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtou16_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:407:1: note: in expansion of macro 'kstrto_from_user' 407 | kstrto_from_user(kstrtou16_from_user, kstrtou16, u16); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtou8_from_user' at /kisskb/src/lib/kstrtox.c:409:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtou8_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:409:1: note: in expansion of macro 'kstrto_from_user' 409 | kstrto_from_user(kstrtou8_from_user, kstrtou8, u8); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtouint_from_user' at /kisskb/src/lib/kstrtox.c:405:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtouint_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:405:1: note: in expansion of macro 'kstrto_from_user' 405 | kstrto_from_user(kstrtouint_from_user, kstrtouint, unsigned int); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtos8_from_user' at /kisskb/src/lib/kstrtox.c:410:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtos8_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:410:1: note: in expansion of macro 'kstrto_from_user' 410 | kstrto_from_user(kstrtos8_from_user, kstrtos8, s8); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtoint_from_user' at /kisskb/src/lib/kstrtox.c:406:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtoint_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:406:1: note: in expansion of macro 'kstrto_from_user' 406 | kstrto_from_user(kstrtoint_from_user, kstrtoint, int); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtos16_from_user' at /kisskb/src/lib/kstrtox.c:408:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtos16_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:408:1: note: in expansion of macro 'kstrto_from_user' 408 | kstrto_from_user(kstrtos16_from_user, kstrtos16, s16); | ^~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'kstrtoll_from_user' at /kisskb/src/lib/kstrtox.c:402:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'kstrtoll_from_user': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:391:14: note: 'buf' declared here 391 | char buf[1 + sizeof(type) * 8 + 1 + 1]; \ | ^~~ /kisskb/src/lib/kstrtox.c:402:1: note: in expansion of macro 'kstrto_from_user' 402 | kstrto_from_user(kstrtoll_from_user, kstrtoll, long long); | ^~~~~~~~~~~~~~~~ /kisskb/src/net/can/gw.c: In function 'cgw_parse_attr': /kisskb/src/net/can/gw.c:658:49: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] 658 | canframecpy(&mod->modframe.and, &mb.cf); | ^~~~~~ /kisskb/src/net/can/gw.c:674:48: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] 674 | canframecpy(&mod->modframe.or, &mb.cf); | ^~~~~~ /kisskb/src/net/can/gw.c:690:49: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] 690 | canframecpy(&mod->modframe.xor, &mb.cf); | ^~~~~~ /kisskb/src/net/can/gw.c:706:49: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] 706 | canframecpy(&mod->modframe.set, &mb.cf); | ^~~~~~ In file included from /kisskb/src/include/linux/filter.h:13, from /kisskb/src/net/bluetooth/l2cap_core.c:35: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'l2cap_segment_le_sdu' at /kisskb/src/net/bluetooth/l2cap_core.c:2416:3, inlined from 'l2cap_chan_send' at /kisskb/src/net/bluetooth/l2cap_core.c:2480:9: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/l2cap_core.c: In function 'l2cap_chan_send': /kisskb/src/net/bluetooth/l2cap_core.c:2449:29: note: object 'seg_queue' of size 96 2449 | struct sk_buff_head seg_queue; | ^~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'l2cap_segment_le_sdu' at /kisskb/src/net/bluetooth/l2cap_core.c:2416:3, inlined from 'l2cap_chan_send' at /kisskb/src/net/bluetooth/l2cap_core.c:2480:9: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/l2cap_core.c: In function 'l2cap_chan_send': /kisskb/src/net/bluetooth/l2cap_core.c:2449:29: note: object 'seg_queue' of size 96 2449 | struct sk_buff_head seg_queue; | ^~~~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'l2cap_segment_sdu' at /kisskb/src/net/bluetooth/l2cap_core.c:2333:3, inlined from 'l2cap_chan_send' at /kisskb/src/net/bluetooth/l2cap_core.c:2537:9: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/l2cap_core.c: In function 'l2cap_chan_send': /kisskb/src/net/bluetooth/l2cap_core.c:2449:29: note: object 'seg_queue' of size 96 2449 | struct sk_buff_head seg_queue; | ^~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'l2cap_segment_sdu' at /kisskb/src/net/bluetooth/l2cap_core.c:2333:3, inlined from 'l2cap_chan_send' at /kisskb/src/net/bluetooth/l2cap_core.c:2537:9: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/l2cap_core.c: In function 'l2cap_chan_send': /kisskb/src/net/bluetooth/l2cap_core.c:2449:29: note: object 'seg_queue' of size 96 2449 | struct sk_buff_head seg_queue; | ^~~~~~~~~ /kisskb/src/net/ceph/messenger.c: In function 'ceph_tcp_connect': /kisskb/src/net/ceph/messenger.c:452:42: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 452 | struct sockaddr_storage *paddr = &con->peer_addr.in_addr; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:336, from /kisskb/src/include/linux/kernel.h:14, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/net/ceph/messenger.c:6: /kisskb/src/net/ceph/messenger.c:474:43: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 474 | dout("connect %s\n", ceph_pr_addr(&con->peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:474:9: note: in expansion of macro 'dout' 474 | dout("connect %s\n", ceph_pr_addr(&con->peer_addr.in_addr)); | ^~~~ /kisskb/src/net/ceph/messenger.c:481:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 481 | ceph_pr_addr(&con->peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:480:17: note: in expansion of macro 'dout' 480 | dout("connect %s EINPROGRESS sk_state = %u\n", | ^~~~ /kisskb/src/net/ceph/messenger.c:485:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 485 | ceph_pr_addr(&con->peer_addr.in_addr), ret); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:308:40: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c: In function 'ceph_con_close': /kisskb/src/net/ceph/messenger.c:684:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 684 | ceph_pr_addr(&con->peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:683:9: note: in expansion of macro 'dout' 683 | dout("con_close %p peer %s\n", con, | ^~~~ /kisskb/src/net/ceph/messenger.c: In function 'ceph_con_open': /kisskb/src/net/ceph/messenger.c:708:52: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 708 | dout("con_open %p %s\n", con, ceph_pr_addr(&addr->in_addr)); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:708:9: note: in expansion of macro 'dout' 708 | dout("con_open %p %s\n", con, ceph_pr_addr(&addr->in_addr)); | ^~~~ /kisskb/src/net/ceph/messenger.c: In function 'verify_hello': /kisskb/src/net/ceph/messenger.c:1794:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1794 | ceph_pr_addr(&con->peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:308:40: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c: In function 'ceph_parse_ips': /kisskb/src/net/ceph/messenger.c:1948:47: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1948 | struct sockaddr_storage *ss = &addr[i].in_addr; | ^~~~~~~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c: In function 'process_banner': /kisskb/src/net/ceph/messenger.c:2029:29: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2029 | !(addr_is_blank(&con->actual_peer_addr.in_addr) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2032:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2032 | ceph_pr_addr(&con->peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:310:44: note: in definition of macro 'pr_warning' 310 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2031:17: note: in expansion of macro 'pr_warn' 2031 | pr_warn("wrong peer, want %s/%d, got %s/%d\n", | ^~~~~~~ /kisskb/src/net/ceph/messenger.c:2034:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2034 | ceph_pr_addr(&con->actual_peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:310:44: note: in definition of macro 'pr_warning' 310 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2031:17: note: in expansion of macro 'pr_warn' 2031 | pr_warn("wrong peer, want %s/%d, got %s/%d\n", | ^~~~~~~ /kisskb/src/net/ceph/messenger.c:2043:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2043 | if (addr_is_blank(&con->msgr->inst.addr.in_addr)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2044:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2044 | int port = addr_port(&con->msgr->inst.addr.in_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2049:31: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2049 | addr_set_port(&con->msgr->inst.addr.in_addr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2052:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2052 | ceph_pr_addr(&con->msgr->inst.addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:2051:17: note: in expansion of macro 'dout' 2051 | dout("process_banner learned my addr is %s\n", | ^~~~ /kisskb/src/net/ceph/messenger.c: In function 'process_connect': /kisskb/src/net/ceph/messenger.c:2100:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2100 | ceph_pr_addr(&con->peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:308:40: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2110:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2110 | ceph_pr_addr(&con->peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:308:40: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2144:37: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2144 | ceph_pr_addr(&con->peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:308:40: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2201:45: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2201 | ceph_pr_addr(&con->peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:308:40: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c: In function 'read_partial_message': /kisskb/src/net/ceph/messenger.c:2408:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2408 | ceph_pr_addr(&con->peer_addr.in_addr), | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:315:41: note: in definition of macro 'pr_info' 315 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c: In function 'con_fault': /kisskb/src/net/ceph/messenger.c:2987:44: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2987 | con, con->state, ceph_pr_addr(&con->peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:2986:9: note: in expansion of macro 'dout' 2986 | dout("fault %p state %lu to peer %s\n", | ^~~~ /kisskb/src/net/ceph/messenger.c:2990:30: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2990 | ceph_pr_addr(&con->peer_addr.in_addr), con->error_msg); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:310:44: note: in definition of macro 'pr_warning' 310 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2989:9: note: in expansion of macro 'pr_warn' 2989 | pr_warn("%s%lld %s %s\n", ENTITY_NAME(con->peer_name), | ^~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/net/bluetooth/smp.c:23: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'le_max_key_size_write' at /kisskb/src/net/bluetooth/smp.c:3447:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'le_max_key_size_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/smp.c:3443:14: note: 'buf' declared here 3443 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'le_min_key_size_write' at /kisskb/src/net/bluetooth/smp.c:3403:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'le_min_key_size_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/smp.c:3399:14: note: 'buf' declared here 3399 | char buf[32]; | ^~~ In file included from /kisskb/src/include/linux/printk.h:336, from /kisskb/src/include/linux/kernel.h:14, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/net/ceph/mon_client.c:4: /kisskb/src/net/ceph/mon_client.c: In function 'ceph_monmap_decode': /kisskb/src/net/ceph/mon_client.c:79:35: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 79 | ceph_pr_addr(&m->mon_inst[i].addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/mon_client.c:78:17: note: in expansion of macro 'dout' 78 | dout("monmap_decode mon%d is %s\n", i, | ^~~~ /kisskb/src/net/ceph/mon_client.c: In function 'reopen_session': /kisskb/src/net/ceph/mon_client.c:206:49: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 206 | monc->cur_mon, ceph_pr_addr(&monc->con.peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:315:41: note: in definition of macro 'pr_info' 315 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/mon_client.c: In function 'handle_auth_reply': /kisskb/src/net/ceph/mon_client.c:1172:38: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1172 | ceph_pr_addr(&monc->con.peer_addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:315:41: note: in definition of macro 'pr_info' 315 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/lib/test_rhashtable.c: In function 'print_ht': /kisskb/src/lib/test_rhashtable.c:512:25: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] 512 | sprintf(buff, "%s\nbucket[%d] -> ", buff, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_rhashtable.c:497:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 497 | char buff[512] = ""; | ^~~~ /kisskb/src/lib/test_rhashtable.c:517:25: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] 517 | sprintf(buff, "%s[[", buff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_rhashtable.c:497:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 497 | char buff[512] = ""; | ^~~~ /kisskb/src/lib/test_rhashtable.c:523:33: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] 523 | sprintf(buff, "%s val %d (tid=%d)%s", buff, p->value.id, p->value.tid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 524 | list? ", " : " "); | ~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_rhashtable.c:497:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 497 | char buff[512] = ""; | ^~~~ /kisskb/src/lib/test_rhashtable.c:532:25: warning: 'sprintf' argument 3 overlaps destination object 'buff' [-Wrestrict] 532 | sprintf(buff, "%s]]%s", buff, !rht_is_a_nulls(pos) ? " -> " : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_rhashtable.c:497:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 497 | char buff[512] = ""; | ^~~~ In file included from /kisskb/src/include/linux/printk.h:336, from /kisskb/src/include/linux/kernel.h:14, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/powerpc/include/asm/bug.h:128, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/net/ceph/cls_lock_client.c:5: /kisskb/src/net/ceph/cls_lock_client.c: In function 'decode_locker': /kisskb/src/net/ceph/cls_lock_client.c:274:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 274 | ceph_pr_addr(&locker->info.addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/cls_lock_client.c:272:9: note: in expansion of macro 'dout' 272 | dout("%s %s%llu cookie %s addr %s\n", __func__, | ^~~~ /kisskb/src/net/bluetooth/ecdh_helper.c:122:55: warning: argument 2 of type 'const u8[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] 122 | int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) | ~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /kisskb/src/net/bluetooth/ecdh_helper.c:23: /kisskb/src/net/bluetooth/ecdh_helper.h:28:56: note: previously declared as 'const u8 *' {aka 'const unsigned char *'} 28 | int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 *private_key); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:336, from /kisskb/src/include/linux/kernel.h:14, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/net/ceph/osd_client.c:5: /kisskb/src/net/ceph/osd_client.c: In function 'decode_watcher': /kisskb/src/net/ceph/osd_client.c:4929:27: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 4929 | ceph_pr_addr(&item->addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:128:38: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:9: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/osd_client.c:4927:9: note: in expansion of macro 'dout' 4927 | dout("%s %s%llu cookie %llu addr %s\n", __func__, | ^~~~ In file included from /kisskb/src/include/linux/kallsyms.h:13, from /kisskb/src/include/linux/filter.h:21, from /kisskb/src/include/net/sock.h:64, from /kisskb/src/include/linux/tcp.h:23, from /kisskb/src/include/linux/ipv6.h:87, from /kisskb/src/include/net/ipv6.h:16, from /kisskb/src/include/linux/sunrpc/clnt.h:28, from /kisskb/src/include/linux/nfs_fs.h:32, from /kisskb/src/fs/nfs/flexfilelayout/flexfilelayout.c:9: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'nfs4flexfilelayout_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/fs/nfs/flexfilelayout/flexfilelayout.c:2411:1: note: in expansion of macro 'module_init' 2411 | module_init(nfs4flexfilelayout_init); | ^~~~~~~~~~~ /kisskb/src/fs/nfs/flexfilelayout/flexfilelayout.c:2383:19: note: 'init_module' target declared here 2383 | static int __init nfs4flexfilelayout_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'nfs4flexfilelayout_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/fs/nfs/flexfilelayout/flexfilelayout.c:2412:1: note: in expansion of macro 'module_exit' 2412 | module_exit(nfs4flexfilelayout_exit); | ^~~~~~~~~~~ /kisskb/src/fs/nfs/flexfilelayout/flexfilelayout.c:2395:20: note: 'cleanup_module' target declared here 2395 | static void __exit nfs4flexfilelayout_exit(void) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/kprobes.h:35, from /kisskb/src/kernel/kprobes.c:34: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_enabled_file_bool' at /kisskb/src/kernel/kprobes.c:2497:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_enabled_file_bool': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/kprobes.c:2492:14: note: 'buf' declared here 2492 | char buf[32]; | ^~~ /kisskb/src/net/ceph/debugfs.c: In function 'monmap_show': /kisskb/src/net/ceph/debugfs.c:49:41: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 49 | ceph_pr_addr(&inst->addr.in_addr)); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ceph/debugfs.c: In function 'osdmap_show': /kisskb/src/net/ceph/debugfs.c:85:44: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] 85 | i, ceph_pr_addr(&addr->in_addr), | ^~~~~~~~~~~~~~ /kisskb/src/fs/nfsd/vfs.c: In function 'nfsd_lookup_dentry': /kisskb/src/fs/nfsd/vfs.c:255:21: warning: 'dentry' may be used uninitialized [-Wmaybe-uninitialized] 255 | *dentry_ret = dentry; | ~~~~~~~~~~~~^~~~~~~~ /kisskb/src/fs/nfsd/vfs.c:206:34: note: 'dentry' declared here 206 | struct dentry *dentry; | ^~~~~~ /kisskb/src/fs/jffs2/summary.c: In function 'jffs2_sum_add_inode_mem': /kisskb/src/fs/jffs2/summary.c:130:44: warning: converting a packed 'struct jffs2_sum_inode_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ In file included from /kisskb/src/fs/jffs2/nodelist.h:22, from /kisskb/src/fs/jffs2/summary.c:23: /kisskb/src/fs/jffs2/summary.h:99:8: note: defined here 99 | struct jffs2_sum_inode_mem | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c: In function 'jffs2_sum_add_dirent_mem': /kisskb/src/fs/jffs2/summary.c:154:44: warning: converting a packed 'struct jffs2_sum_dirent_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 154 | return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:109:8: note: defined here 109 | struct jffs2_sum_dirent_mem | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c: In function 'jffs2_sum_add_xattr_mem': /kisskb/src/fs/jffs2/summary.c:173:44: warning: converting a packed 'struct jffs2_sum_xattr_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 173 | return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:123:8: note: defined here 123 | struct jffs2_sum_xattr_mem | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c: In function 'jffs2_sum_add_xref_mem': /kisskb/src/fs/jffs2/summary.c:188:44: warning: converting a packed 'struct jffs2_sum_xref_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:133:8: note: defined here 133 | struct jffs2_sum_xref_mem | ^~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c: In function 'jffs2_sum_add_kvec': /kisskb/src/fs/jffs2/summary.c:278:69: warning: converting a packed 'struct jffs2_sum_inode_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 278 | return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:99:8: note: defined here 99 | struct jffs2_sum_inode_mem | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c:312:69: warning: converting a packed 'struct jffs2_sum_dirent_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 312 | return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:109:8: note: defined here 109 | struct jffs2_sum_dirent_mem | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c:328:69: warning: converting a packed 'struct jffs2_sum_xattr_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:123:8: note: defined here 123 | struct jffs2_sum_xattr_mem | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c:339:69: warning: converting a packed 'struct jffs2_sum_xref_mem' pointer (alignment 1) to a 'union jffs2_sum_mem' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 339 | return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); | ^~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:133:8: note: defined here 133 | struct jffs2_sum_xref_mem | ^~~~~~~~~~~~~~~~~~ /kisskb/src/fs/jffs2/summary.h:140:7: note: defined here 140 | union jffs2_sum_mem | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/net/decnet/af_decnet.c:102: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from '__dn_setsockopt.constprop' at /kisskb/src/net/decnet/af_decnet.c:1371:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function '__dn_setsockopt.constprop': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/decnet/af_decnet.c:1362:11: note: 'u' declared here 1362 | } u; | ^ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/nfsd/fault_inject.c:9: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'fault_inject_write' at /kisskb/src/fs/nfsd/fault_inject.c:56:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'write_buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'fault_inject_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfsd/fault_inject.c:48:14: note: 'write_buf' declared here 48 | char write_buf[INET6_ADDRSTRLEN]; | ^~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/skbuff.h:19, from /kisskb/src/include/linux/if_arp.h:26, from /kisskb/src/net/bluetooth/6lowpan.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'lowpan_control_write' at /kisskb/src/net/bluetooth/6lowpan.c:1126:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'lowpan_control_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/6lowpan.c:1119:14: note: 'buf' declared here 1119 | char buf[32]; | ^~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/net/ethernet/eth.c:40: /kisskb/src/net/ethernet/eth.c: In function 'eth_type_trans': /kisskb/src/net/ethernet/eth.c:168:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 168 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:168:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 168 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from /kisskb/src/net/ethernet/eth.c:50: /kisskb/src/include/linux/etherdevice.h:133:20: note: in a call to function 'is_multicast_ether_addr_64bits' 133 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:169:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 169 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:169:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/ethernet/eth.c:169:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:174:28: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 174 | else if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | dev->dev_addr))) | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:174:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 174 | else if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | dev->dev_addr))) | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:174:28: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 174 | else if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | dev->dev_addr))) | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/char/tpm/tpm2-space.c: In function 'tpm2_map_response_body': /kisskb/src/drivers/char/tpm/tpm2-space.c:421:40: warning: taking address of packed member of 'struct tpm2_cap_handles' may result in an unaligned pointer value [-Waddress-of-packed-member] 421 | phandle = be32_to_cpup((__be32 *)&data->handles[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/notify/fdinfo.c: In function 'show_mark_fhandle': /kisskb/src/fs/notify/fdinfo.c:65:61: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] 65 | seq_printf(m, "%02x", (int)f.handle.f_handle[i]); | ~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/fs/notify/fdinfo.c:3: /kisskb/src/include/linux/fs.h:946:23: note: while referencing 'f_handle' 946 | unsigned char f_handle[0]; | ^~~~~~~~ /kisskb/src/net/core/dev.c: In function 'netif_receive_generic_xdp': /kisskb/src/net/core/dev.c:4338:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4338 | orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4338:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/net/core/dev.c:94: /kisskb/src/include/linux/etherdevice.h:133:20: note: in a call to function 'is_multicast_ether_addr_64bits' 133 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4366:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4366 | (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4366:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:133:20: note: in a call to function 'is_multicast_ether_addr_64bits' 133 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/ecc.c: In function 'crypto_ecdh_shared_secret': /kisskb/src/crypto/ecc.c:1093:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 1093 | ecc_point_mult(product, pk, priv, rand_z, curve->p, ndigits); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/ecc.c:843:13: note: by argument 3 of type 'const u64 *' {aka 'const long long unsigned int *'} to 'ecc_point_mult' declared here 843 | static void ecc_point_mult(struct ecc_point *result, | ^~~~~~~~~~~~~~ /kisskb/src/crypto/ecc.c:1058:13: note: 'priv' declared here 1058 | u64 priv[ECC_MAX_DIGITS]; | ^~~~ In file included from /kisskb/src/crypto/tcrypt.c:34: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'tcrypt_mod_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/crypto/tcrypt.c:3001:1: note: in expansion of macro 'module_init' 3001 | module_init(tcrypt_mod_init); | ^~~~~~~~~~~ /kisskb/src/crypto/tcrypt.c:2958:19: note: 'init_module' target declared here 2958 | static int __init tcrypt_mod_init(void) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tcrypt_mod_fini': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/crypto/tcrypt.c:3002:1: note: in expansion of macro 'module_exit' 3002 | module_exit(tcrypt_mod_fini); | ^~~~~~~~~~~ /kisskb/src/crypto/tcrypt.c:2999:20: note: 'cleanup_module' target declared here 2999 | static void __exit tcrypt_mod_fini(void) { } | ^~~~~~~~~~~~~~~ /kisskb/src/sound/pci/mixart/mixart_core.c: In function 'snd_mixart_threaded_irq': /kisskb/src/sound/pci/mixart/mixart_core.c:461:50: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] 461 | for(i=0; i<notify->stream_count; i++) { | ^~ /kisskb/src/sound/pci/mixart/mixart_core.c:342:12: note: object 'mixart_msg_data' of size 512 342 | static u32 mixart_msg_data[MSG_DEFAULT_SIZE / 4]; | ^~~~~~~~~~~~~~~ /kisskb/src/sound/pci/mixart/mixart_core.c:463:63: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] 463 | u32 buffer_id = notify->streams[i].buffer_id; | ^~ /kisskb/src/sound/pci/mixart/mixart_core.c:342:12: note: object 'mixart_msg_data' of size 512 342 | static u32 mixart_msg_data[MSG_DEFAULT_SIZE / 4]; | ^~~~~~~~~~~~~~~ /kisskb/src/sound/pci/mixart/mixart_core.c:487:80: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] 487 | u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; | ^~ /kisskb/src/sound/pci/mixart/mixart_core.c:342:12: note: object 'mixart_msg_data' of size 512 342 | static u32 mixart_msg_data[MSG_DEFAULT_SIZE / 4]; | ^~~~~~~~~~~~~~~ /kisskb/src/sound/pci/mixart/mixart_core.c:488:71: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] 488 | sample_count |= notify->streams[i].sample_pos_low_part; | ^~ /kisskb/src/sound/pci/mixart/mixart_core.c:342:12: note: object 'mixart_msg_data' of size 512 342 | static u32 mixart_msg_data[MSG_DEFAULT_SIZE / 4]; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/include/linux/io.h:25, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/sound/pci/mixart/mixart_core.c:23: /kisskb/src/sound/pci/mixart/mixart_core.c:475:77: warning: array subscript 'struct mixart_timer_notify[0]' is partly outside array bounds of 'u32[128]' {aka 'unsigned int[128]'} [-Warray-bounds] 475 | buffer_id, notify->streams[i].sample_pos_low_part); | ^~ /kisskb/src/include/linux/device.h:1453:39: note: in definition of macro 'dev_err' 1453 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/sound/pci/mixart/mixart_core.c:342:12: note: object 'mixart_msg_data' of size 512 342 | static u32 mixart_msg_data[MSG_DEFAULT_SIZE / 4]; | ^~~~~~~~~~~~~~~ In function 'rbd_img_fill_request_nocopy', inlined from 'rbd_img_fill_request' at /kisskb/src/drivers/block/rbd.c:2047:10, inlined from 'rbd_img_fill_nodata' at /kisskb/src/drivers/block/rbd.c:2107:9: /kisskb/src/drivers/block/rbd.c:2007:20: warning: 'dummy' is used uninitialized [-Wuninitialized] 2007 | fctx->iter = *fctx->pos; | ~~~~~~~~~~~^~~~~~~~~~~~ /kisskb/src/drivers/block/rbd.c: In function 'rbd_img_fill_nodata': /kisskb/src/drivers/block/rbd.c:2101:33: note: 'dummy' declared here 2101 | union rbd_img_fill_iter dummy; | ^~~~~ In file included from /kisskb/src/drivers/block/ps3vram.c:13: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'ps3vram_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/block/ps3vram.c:866:1: note: in expansion of macro 'module_init' 866 | module_init(ps3vram_init); | ^~~~~~~~~~~ /kisskb/src/drivers/block/ps3vram.c:836:19: note: 'init_module' target declared here 836 | static int __init ps3vram_init(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ps3vram_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/block/ps3vram.c:867:1: note: in expansion of macro 'module_exit' 867 | module_exit(ps3vram_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/block/ps3vram.c:860:20: note: 'cleanup_module' target declared here 860 | static void __exit ps3vram_exit(void) | ^~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/net/decnet/sysctl_net_decnet.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'dn_def_dev_handler' at /kisskb/src/net/decnet/sysctl_net_decnet.c:204:7: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'devname' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'dn_def_dev_handler': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/decnet/sysctl_net_decnet.c:193:14: note: 'devname' declared here 193 | char devname[17]; | ^~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'dn_node_address_handler' at /kisskb/src/net/decnet/sysctl_net_decnet.c:152:7: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'addr' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'dn_node_address_handler': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/decnet/sysctl_net_decnet.c:140:14: note: 'addr' declared here 140 | char addr[DN_ASCBUF_LEN]; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/net/core/ethtool.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ethtool_set_rxnfc' at /kisskb/src/net/core/ethtool.c:880:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'info' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ethtool_set_rxnfc': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/ethtool.c:865:30: note: 'info' declared here 865 | struct ethtool_rxnfc info; | ^~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ethtool_get_rxnfc' at /kisskb/src/net/core/ethtool.c:914:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'info' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ethtool_get_rxnfc': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/ethtool.c:897:30: note: 'info' declared here 897 | struct ethtool_rxnfc info; | ^~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ethtool_get_rxnfc' at /kisskb/src/net/core/ethtool.c:914:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'info' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ethtool_get_rxnfc': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/ethtool.c:897:30: note: 'info' declared here 897 | struct ethtool_rxnfc info; | ^~~~ /kisskb/src/drivers/crypto/chelsio/chtls/chtls_io.c: In function 'send_tx_flowc_wr': /kisskb/src/drivers/crypto/chelsio/chtls/chtls_io.c:177:17: warning: taking address of packed member of 'struct flowc_packed' may result in an unaligned pointer value [-Waddress-of-packed-member] 177 | flowc = &sflowc.fc; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:11: /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c: In function 'chtls_init_kmap': /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:136:24: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | spin_lock_init(&cdev->kmap.lock); | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock.h:323:24: note: in definition of macro 'spin_lock_init' 323 | spinlock_check(_lock); \ | ^~~~~ /kisskb/src/include/linux/spinlock.h:324:28: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 324 | raw_spin_lock_init(&(_lock)->rlock); \ | ^ /kisskb/src/include/linux/spinlock.h:100:31: note: in definition of macro 'raw_spin_lock_init' 100 | __raw_spin_lock_init((lock), #lock, &__key); \ | ^~~~ /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:136:9: note: in expansion of macro 'spin_lock_init' 136 | spin_lock_init(&cdev->kmap.lock); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c: In function 'get_new_keyid': /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:151:22: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 151 | spin_lock_bh(&cdev->kmap.lock); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:163:24: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 163 | spin_unlock_bh(&cdev->kmap.lock); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c: In function 'free_tls_keyid': /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:181:22: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 181 | spin_lock_bh(&cdev->kmap.lock); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/chelsio/chtls/chtls_hw.c:192:24: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 192 | spin_unlock_bh(&cdev->kmap.lock); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c: In function 'ntfs_lookup_inode_by_name': /kisskb/src/fs/ntfs/dir.c:157:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 157 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:207:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 207 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:248:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 248 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:267:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 267 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:417:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 417 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:467:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 467 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:510:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 510 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c:529:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 529 | (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c: In function 'ntfs_filldir': /kisskb/src/fs/ntfs/dir.c:1048:50: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1048 | name_len = ntfs_ucstonls(vol, (ntfschar*)&ie->key.file_name.file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/dynamic_debug.c: In function 'dynamic_debug_init': /kisskb/src/lib/dynamic_debug.c:985:31: warning: comparison between two arrays [-Warray-compare] 985 | if (__start___verbose == __stop___verbose) { | ^~ /kisskb/src/lib/dynamic_debug.c:985:31: note: use '&__start___verbose[0] == &__stop___verbose[0]' to compare the addresses /kisskb/src/fs/ntfs/namei.c: In function 'ntfs_lookup': /kisskb/src/fs/ntfs/namei.c:188:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | (ntfschar*)&name->name, name->len, | ^~~~~~~~~~~ /kisskb/src/fs/ntfs/namei.c:242:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 242 | (ntfschar*)&fn->file_name, fn->file_name_length, | ^~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/namei.c: In function 'ntfs_get_parent': /kisskb/src/fs/ntfs/namei.c:315:32: warning: converting a packed 'MFT_RECORD' pointer (alignment 1) to a 'struct dentry' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 315 | return (struct dentry *)mrec; | ^~~~~~ In file included from /kisskb/src/fs/ntfs/attrib.h:29, from /kisskb/src/fs/ntfs/namei.c:28: /kisskb/src/fs/ntfs/layout.h:326:9: note: defined here 326 | typedef struct { | ^~~~~~ In file included from /kisskb/src/fs/ntfs/namei.c:23: /kisskb/src/include/linux/dcache.h:88:8: note: defined here 88 | struct dentry { | ^~~~~~ /kisskb/src/fs/ntfs/super.c: In function 'is_boot_sector_ntfs': /kisskb/src/fs/ntfs/super.c:597:17: warning: converting a packed 'NTFS_BOOT_SECTOR' pointer (alignment 1) to a 'le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 597 | for (i = 0, u = (le32*)b; u < (le32*)(&b->checksum); ++u) | ^~~ /kisskb/src/fs/ntfs/unistr.c: In function 'ntfs_file_upcase_value': /kisskb/src/fs/ntfs/unistr.c:220:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 220 | ntfs_upcase_name((ntfschar*)&file_name_attr->file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/unistr.c: In function 'ntfs_file_compare_values': /kisskb/src/fs/ntfs/unistr.c:229:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 229 | return ntfs_collate_names((ntfschar*)&file_name_attr1->file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ntfs/unistr.c:231:36: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | (ntfschar*)&file_name_attr2->file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/dir.c: In function '__ocfs2_delete_entry': /kisskb/src/fs/ocfs2/dir.c:1175:46: warning: taking address of packed member of 'struct ocfs2_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 1175 | le16_add_cpu(&pde->rec_len, | ^~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/dir.c: In function 'ocfs2_expand_last_dirent': /kisskb/src/fs/ocfs2/dir.c:2772:22: warning: taking address of packed member of 'struct ocfs2_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 2772 | le16_add_cpu(&prev_de->rec_len, bytes); | ^~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/ioctl.c: In function 'ocfs2_info_handle_label': /kisskb/src/fs/ocfs2/ioctl.c:213:35: warning: taking address of packed member of 'struct ocfs2_info_label' may result in an unaligned pointer value [-Waddress-of-packed-member] 213 | o2info_set_request_filled(&oil.il_req); | ^~~~~~~~~~~ /kisskb/src/fs/ocfs2/ioctl.c: In function 'ocfs2_info_handle_uuid': /kisskb/src/fs/ocfs2/ioctl.c:232:35: warning: taking address of packed member of 'struct ocfs2_info_uuid' may result in an unaligned pointer value [-Waddress-of-packed-member] 232 | o2info_set_request_filled(&oiu.iu_req); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/core/netpoll.c:16: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'refill_skbs' at /kisskb/src/net/core/netpoll.c:235:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/netpoll.c: In function 'refill_skbs': /kisskb/src/net/core/netpoll.c:47:28: note: object 'skb_pool' of size 96 47 | static struct sk_buff_head skb_pool; | ^~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'refill_skbs' at /kisskb/src/net/core/netpoll.c:235:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/netpoll.c: In function 'refill_skbs': /kisskb/src/net/core/netpoll.c:47:28: note: object 'skb_pool' of size 96 47 | static struct sk_buff_head skb_pool; | ^~~~~~~~ /kisskb/src/net/ipv6/ndisc.c: In function 'ndisc_router_discovery': /kisskb/src/net/ipv6/ndisc.c:1430:57: warning: converting a packed 'struct nd_opt_hdr' pointer (alignment 1) to a 'struct route_info' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1430 | struct route_info *ri = (struct route_info *)p; | ^~~~~~~~~~ In file included from /kisskb/src/include/net/ipv6.h:21, from /kisskb/src/net/ipv6/ndisc.c:58: /kisskb/src/include/net/ndisc.h:101:8: note: defined here 101 | struct nd_opt_hdr { | ^~~~~~~~~~ In file included from /kisskb/src/net/ipv6/ndisc.c:61: /kisskb/src/include/net/ip6_route.h:5:8: note: defined here 5 | struct route_info { | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/include/net/dst.h:13, from /kisskb/src/net/ipv4/tcp_input.c:73: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tcp_collapse' at /kisskb/src/net/ipv4/tcp_input.c:4906:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_collapse': /kisskb/src/net/ipv4/tcp_input.c:4845:29: note: object 'tmp' of size 96 4845 | struct sk_buff_head tmp; | ^~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tcp_collapse' at /kisskb/src/net/ipv4/tcp_input.c:4906:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_collapse': /kisskb/src/net/ipv4/tcp_input.c:4845:29: note: object 'tmp' of size 96 4845 | struct sk_buff_head tmp; | ^~~ /kisskb/src/drivers/dma/stm32-mdma.c: In function 'stm32_mdma_setup_xfer': /kisskb/src/drivers/dma/stm32-mdma.c:781:13: warning: 'ccr' may be used uninitialized [-Wmaybe-uninitialized] 781 | ccr &= ~STM32_MDMA_CCR_IRQ_MASK; | ^~ /kisskb/src/drivers/dma/stm32-mdma.c:745:13: note: 'ccr' declared here 745 | u32 ccr, ctcr, ctbr; | ^~~ /kisskb/src/drivers/fsi/fsi-master-ast-cf.c: In function 'dump_ucode_trace': /kisskb/src/drivers/fsi/fsi-master-ast-cf.c:459:19: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 459 | p += sprintf(p, "%02x ", v); | ^~ /kisskb/src/drivers/fsi/fsi-master-ast-cf.c:443:15: note: 'p' was declared here 443 | char *p; | ^ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/net/mac80211/sta_info.c:15: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_sta_ps_get_frames' at /kisskb/src/net/mac80211/sta_info.c:1493:5, inlined from 'ieee80211_sta_ps_deliver_response' at /kisskb/src/net/mac80211/sta_info.c:1523:2: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_response': /kisskb/src/net/mac80211/sta_info.c:1515:29: note: object 'frames' of size 96 1515 | struct sk_buff_head frames; | ^~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_sta_ps_get_frames' at /kisskb/src/net/mac80211/sta_info.c:1493:5, inlined from 'ieee80211_sta_ps_deliver_response' at /kisskb/src/net/mac80211/sta_info.c:1523:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_response': /kisskb/src/net/mac80211/sta_info.c:1515:29: note: object 'frames' of size 96 1515 | struct sk_buff_head frames; | ^~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_sta_ps_deliver_response' at /kisskb/src/net/mac80211/sta_info.c:1598:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_response': /kisskb/src/net/mac80211/sta_info.c:1558:37: note: object 'pending' of size 96 1558 | struct sk_buff_head pending; | ^~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_sta_ps_deliver_response' at /kisskb/src/net/mac80211/sta_info.c:1598:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_response': /kisskb/src/net/mac80211/sta_info.c:1558:37: note: object 'pending' of size 96 1558 | struct sk_buff_head pending; | ^~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'ieee80211_sta_ps_deliver_wakeup' at /kisskb/src/net/mac80211/sta_info.c:1264:3: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_wakeup': /kisskb/src/net/mac80211/sta_info.c:1223:29: note: object 'pending' of size 96 1223 | struct sk_buff_head pending; | ^~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'ieee80211_sta_ps_deliver_wakeup' at /kisskb/src/net/mac80211/sta_info.c:1271:3: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_wakeup': /kisskb/src/net/mac80211/sta_info.c:1223:29: note: object 'pending' of size 96 1223 | struct sk_buff_head pending; | ^~~~~~~ /kisskb/src/net/netfilter/ipvs/ip_vs_core.c: In function 'ip_vs_forward_icmp_v6': /kisskb/src/net/netfilter/ipvs/ip_vs_core.c:2110:18: warning: 'iphdr.protocol' may be used uninitialized [-Wmaybe-uninitialized] 2110 | if (iphdr.protocol != IPPROTO_ICMPV6) | ~~~~~^~~~~~~~~ /kisskb/src/net/netfilter/ipvs/ip_vs_core.c:2107:28: note: 'iphdr' declared here 2107 | struct ip_vs_iphdr iphdr; | ^~~~~ /kisskb/src/net/ipv6/exthdrs.c: In function 'ipv6_dest_hao': /kisskb/src/net/ipv6/exthdrs.c:234:30: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) { | ^~~~~~~~~~ /kisskb/src/net/ipv6/exthdrs.c:241:50: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 241 | (xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS); | ^~~~~~~~~~ /kisskb/src/drivers/hwtracing/intel_th/sth.c: In function 'sth_stm_packet': /kisskb/src/drivers/hwtracing/intel_th/sth.c:73:29: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | u64 __iomem *outp = &out->Dn; | ^~~~~~~~ /kisskb/src/drivers/hwtracing/intel_th/sth.c:104:47: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] 104 | outp = (u64 __iomem *)&out->FLAG_TS; | ^~~~~~~~~~~~~ /kisskb/src/drivers/hwtracing/intel_th/sth.c:106:47: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] 106 | outp = (u64 __iomem *)&out->FLAG; | ^~~~~~~~~~ /kisskb/src/drivers/hwtracing/intel_th/sth.c:114:32: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] 114 | outp = &out->USER_TS; | ^~~~~~~~~~~~~ /kisskb/src/drivers/hwtracing/intel_th/sth.c:116:32: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] 116 | outp = &out->USER; | ^~~~~~~~~~ /kisskb/src/drivers/hwtracing/intel_th/sth.c:121:24: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] 121 | outp = &out->Dn; | ^~~~~~~~ /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c: In function 'kirkwood_dma_conf_mbus_windows.constprop': /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c:94:24: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] 94 | if ((cs->base & 0xffff0000) < (dma & 0xffff0000)) { | ~~^~~~~~ /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c:97:36: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] 97 | writel(((cs->size - 1) & 0xffff0000) | | ~~^~~~~~ /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c:98:36: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] 98 | (cs->mbus_attr << 8) | | ~~^~~~~~~~~~~ /kisskb/src/fs/reiserfs/stree.c: In function 'comp_short_le_keys': /kisskb/src/fs/reiserfs/stree.c:104:9: warning: converting a packed 'const struct reiserfs_key' pointer (alignment 1) to a '__u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 104 | k1_u32 = (__u32 *) key1; | ^~~~~~ /kisskb/src/fs/reiserfs/stree.c:105:9: warning: converting a packed 'const struct reiserfs_key' pointer (alignment 1) to a '__u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 105 | k2_u32 = (__u32 *) key2; | ^~~~~~ /kisskb/src/fs/reiserfs/stree.c: In function 'reiserfs_delete_object': /kisskb/src/fs/reiserfs/stree.c:1495:21: warning: taking address of packed member of 'struct reiserfs_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 1495 | &REISERFS_SB(th->t_super)->s_rs->s_inode_generation; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c: In function 'detected_xenix': /kisskb/src/fs/sysv/super.c:72:30: warning: taking address of packed member of 'struct xenix_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 72 | sbi->s_free_blocks = &sbd2->s_tfree; | ^~~~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c:73:26: warning: taking address of packed member of 'struct xenix_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | sbi->s_sb_time = &sbd2->s_time; | ^~~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c: In function 'detected_sysv2': /kisskb/src/fs/sysv/super.c:127:30: warning: taking address of packed member of 'struct sysv2_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 127 | sbi->s_free_blocks = &sbd->s_tfree; | ^~~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c:128:26: warning: taking address of packed member of 'struct sysv2_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 128 | sbi->s_sb_time = &sbd->s_time; | ^~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c: In function 'detected_coherent': /kisskb/src/fs/sysv/super.c:151:30: warning: taking address of packed member of 'struct coh_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 151 | sbi->s_free_blocks = &sbd->s_tfree; | ^~~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c:152:26: warning: taking address of packed member of 'struct coh_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 152 | sbi->s_sb_time = &sbd->s_time; | ^~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c: In function 'detected_v7': /kisskb/src/fs/sysv/super.c:172:30: warning: taking address of packed member of 'struct v7_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 172 | sbi->s_free_blocks = &sbd->s_tfree; | ^~~~~~~~~~~~~ /kisskb/src/fs/sysv/super.c:173:26: warning: taking address of packed member of 'struct v7_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 173 | sbi->s_sb_time = &sbd->s_time; | ^~~~~~~~~~~~ /kisskb/src/fs/udf/balloc.c: In function 'udf_add_free_space': /kisskb/src/fs/udf/balloc.c:101:22: warning: taking address of packed member of 'struct logicalVolIntegrityDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/balloc.c:101:43: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /kisskb/src/fs/udf/udfdecl.h:7, from /kisskb/src/fs/udf/balloc.c:22: /kisskb/src/fs/udf/ecma_167.h:346:33: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ /kisskb/src/fs/udf/balloc.c:101:43: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /kisskb/src/fs/udf/ecma_167.h:346:33: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/gpu/vga/vgaarb.c:38: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'vga_arb_write' at /kisskb/src/drivers/gpu/vga/vgaarb.c:1038:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'kbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'vga_arb_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/vga/vgaarb.c:1030:14: note: 'kbuf' declared here 1030 | char kbuf[64], *curr_pos; | ^~~~ /kisskb/src/fs/udf/ialloc.c: In function 'udf_free_inode': /kisskb/src/fs/udf/ialloc.c:38:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 38 | le32_add_cpu(&lvidiu->numDirs, -1); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/ialloc.c:40:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | le32_add_cpu(&lvidiu->numFiles, -1); | ^~~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/ialloc.c: In function 'udf_new_inode': /kisskb/src/fs/udf/ialloc.c:99:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 99 | le32_add_cpu(&lvidiu->numDirs, 1); | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/ialloc.c:101:38: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 101 | le32_add_cpu(&lvidiu->numFiles, 1); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hid/uhid.c: In function 'uhid_hid_get_report': /kisskb/src/drivers/hid/uhid.c:240:54: warning: taking address of packed member of 'struct uhid_get_report_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 240 | ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.get_report.id); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hid/uhid.c: In function 'uhid_hid_set_report': /kisskb/src/drivers/hid/uhid.c:284:54: warning: taking address of packed member of 'struct uhid_set_report_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 284 | ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.set_report.id); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/inode.c: In function '__udf_add_aext': /kisskb/src/fs/udf/inode.c:1952:30: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1952 | le32_add_cpu(&aed->lengthAllocDescs, adsize); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/inode.c: In function 'udf_delete_aext': /kisskb/src/fs/udf/inode.c:2214:38: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2214 | le32_add_cpu(&aed->lengthAllocDescs, -(2 * adsize)); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/udf/inode.c:2231:38: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2231 | le32_add_cpu(&aed->lengthAllocDescs, -adsize); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_bpf.c:19: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_bpf_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/test_bpf.c:6963:1: note: in expansion of macro 'module_init' 6963 | module_init(test_bpf_init); | ^~~~~~~~~~~ /kisskb/src/lib/test_bpf.c:6943:19: note: 'init_module' target declared here 6943 | static int __init test_bpf_init(void) | ^~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_bpf_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_bpf.c:6964:1: note: in expansion of macro 'module_exit' 6964 | module_exit(test_bpf_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_bpf.c:6959:20: note: 'cleanup_module' target declared here 6959 | static void __exit test_bpf_exit(void) | ^~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_ubsan.c:4: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_ubsan_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/test_ubsan.c:135:1: note: in expansion of macro 'module_init' 135 | module_init(test_ubsan_init); | ^~~~~~~~~~~ /kisskb/src/lib/test_ubsan.c:125:19: note: 'init_module' target declared here 125 | static int __init test_ubsan_init(void) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_ubsan_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_ubsan.c:141:1: note: in expansion of macro 'module_exit' 141 | module_exit(test_ubsan_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_ubsan.c:137:20: note: 'cleanup_module' target declared here 137 | static void __exit test_ubsan_exit(void) | ^~~~~~~~~~~~~~~ /kisskb/src/lib/test_ubsan.c: In function 'test_ubsan_object_size_mismatch': /kisskb/src/lib/test_ubsan.c:107:16: warning: array subscript 'long long int[0]' is partly outside array bounds of 'volatile int[1]' [-Warray-bounds] 107 | val2 = *ptr; | ^~~~ /kisskb/src/lib/test_ubsan.c:103:22: note: object 'val' of size 4 103 | volatile int val __aligned(8) = 4; | ^~~ In file included from /kisskb/src/lib/test_module.c:13: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_module_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/test_module.c:23:1: note: in expansion of macro 'module_init' 23 | module_init(test_module_init); | ^~~~~~~~~~~ /kisskb/src/lib/test_module.c:16:19: note: 'init_module' target declared here 16 | static int __init test_module_init(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_module_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_module.c:30:1: note: in expansion of macro 'module_exit' 30 | module_exit(test_module_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_module.c:25:20: note: 'cleanup_module' target declared here 25 | static void __exit test_module_exit(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/reiserfs/procfs.c: In function 'show_journal': /kisskb/src/fs/reiserfs/procfs.c:312:37: warning: taking address of packed member of 'struct reiserfs_super_block_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 312 | struct journal_params *jp = &rs->s_v1.s_journal; | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_static_keys.c:19: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_static_key_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/test_static_keys.c:243:1: note: in expansion of macro 'module_init' 243 | module_init(test_static_key_init); | ^~~~~~~~~~~ /kisskb/src/lib/test_static_keys.c:117:19: note: 'init_module' target declared here 117 | static int __init test_static_key_init(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_static_key_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_static_keys.c:244:1: note: in expansion of macro 'module_exit' 244 | module_exit(test_static_key_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_static_keys.c:239:20: note: 'cleanup_module' target declared here 239 | static void __exit test_static_key_exit(void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_user_copy.c:22: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_user_copy_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/test_user_copy.c:186:1: note: in expansion of macro 'module_init' 186 | module_init(test_user_copy_init); | ^~~~~~~~~~~ /kisskb/src/lib/test_user_copy.c:50:19: note: 'init_module' target declared here 50 | static int __init test_user_copy_init(void) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_user_copy_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_user_copy.c:193:1: note: in expansion of macro 'module_exit' 193 | module_exit(test_user_copy_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_user_copy.c:188:20: note: 'cleanup_module' target declared here 188 | static void __exit test_user_copy_exit(void) | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_static_key_base.c:19: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_static_key_base_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/test_static_key_base.c:64:1: note: in expansion of macro 'module_init' 64 | module_init(test_static_key_base_init); | ^~~~~~~~~~~ /kisskb/src/lib/test_static_key_base.c:50:19: note: 'init_module' target declared here 50 | static int __init test_static_key_base_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_static_key_base_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_static_key_base.c:65:1: note: in expansion of macro 'module_exit' 65 | module_exit(test_static_key_base_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_static_key_base.c:60:20: note: 'cleanup_module' target declared here 60 | static void __exit test_static_key_base_exit(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_kmod.c:28: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'test_kmod_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/module.h:123:41: note: in expansion of macro 'module_init' 123 | #define late_initcall(fn) module_init(fn) | ^~~~~~~~~~~ /kisskb/src/lib/test_kmod.c:1205:1: note: in expansion of macro 'late_initcall' 1205 | late_initcall(test_kmod_init); | ^~~~~~~~~~~~~ /kisskb/src/lib/test_kmod.c:1174:19: note: 'init_module' target declared here 1174 | static int __init test_kmod_init(void) | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_kmod_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/test_kmod.c:1236:1: note: in expansion of macro 'module_exit' 1236 | module_exit(test_kmod_exit); | ^~~~~~~~~~~ /kisskb/src/lib/test_kmod.c:1225:20: note: 'cleanup_module' target declared here 1225 | static void __exit test_kmod_exit(void) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/lib/percpu_test.c:1: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'percpu_test_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/lib/percpu_test.c:133:1: note: in expansion of macro 'module_init' 133 | module_init(percpu_test_init) | ^~~~~~~~~~~ /kisskb/src/lib/percpu_test.c:19:19: note: 'init_module' target declared here 19 | static int __init percpu_test_init(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'percpu_test_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/lib/percpu_test.c:134:1: note: in expansion of macro 'module_exit' 134 | module_exit(percpu_test_exit) | ^~~~~~~~~~~ /kisskb/src/lib/percpu_test.c:129:20: note: 'cleanup_module' target declared here 129 | static void __exit percpu_test_exit(void) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:13, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/udf/udfdecl.h:10, from /kisskb/src/fs/udf/super.c:41: In function 'udf_count_free', inlined from 'udf_statfs' at /kisskb/src/fs/udf/super.c:2342:17: /kisskb/src/fs/udf/super.c:2444:61: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 2444 | lvid->freeSpaceTable[sbi->s_partition]); /kisskb/src/include/uapi/linux/swab.h:114:54: note: in definition of macro '__swab32' 114 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ /kisskb/src/include/linux/byteorder/generic.h:89:21: note: in expansion of macro '__le32_to_cpu' 89 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /kisskb/src/fs/udf/super.c:2443:33: note: in expansion of macro 'le32_to_cpu' 2443 | accum = le32_to_cpu( | ^~~~~~~~~~~ In file included from /kisskb/src/fs/udf/udfdecl.h:7: /kisskb/src/fs/udf/ecma_167.h: In function 'udf_statfs': /kisskb/src/fs/udf/ecma_167.h:346:33: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/fs/xfs/libxfs/xfs_ag.c:11: /kisskb/src/fs/xfs/libxfs/xfs_ag.c: In function 'xfs_agflblock_init': /kisskb/src/fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] 790 | &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_ag.c:228:20: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 228 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, bp); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/crc32.c:209:5: warning: 'crc32_le_base' specifies less restrictive attribute than its target 'crc32_le': 'pure' [-Wmissing-attributes] 209 | u32 crc32_le_base(u32, unsigned char const *, size_t) __alias(crc32_le); | ^~~~~~~~~~~~~ /kisskb/src/lib/crc32.c:195:19: note: 'crc32_le_base' target declared here 195 | u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) | ^~~~~~~~ /kisskb/src/lib/crc32.c:210:5: warning: '__crc32c_le_base' specifies less restrictive attribute than its target '__crc32c_le': 'pure' [-Wmissing-attributes] 210 | u32 __crc32c_le_base(u32, unsigned char const *, size_t) __alias(__crc32c_le); | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/crc32.c:200:19: note: '__crc32c_le_base' target declared here 200 | u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len) | ^~~~~~~~~~~ In file included from /kisskb/src/net/nfc/nci/data.c:30: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'nci_queue_tx_data_frags' at /kisskb/src/net/nfc/nci/data.c:148:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/nfc/nci/data.c: In function 'nci_queue_tx_data_frags': /kisskb/src/net/nfc/nci/data.c:112:29: note: object 'frags_q' of size 96 112 | struct sk_buff_head frags_q; | ^~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'nci_queue_tx_data_frags' at /kisskb/src/net/nfc/nci/data.c:148:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/nfc/nci/data.c: In function 'nci_queue_tx_data_frags': /kisskb/src/net/nfc/nci/data.c:112:29: note: object 'frags_q' of size 96 112 | struct sk_buff_head frags_q; | ^~~~~~~ In file included from /kisskb/src/fs/xfs/libxfs/xfs_alloc.c:8: /kisskb/src/fs/xfs/libxfs/xfs_alloc.c: In function 'xfs_alloc_get_freelist': /kisskb/src/fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] 790 | &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_alloc.c:2426:20: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 2426 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, agflbp); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_alloc.c: In function 'xfs_alloc_put_freelist': /kisskb/src/fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] 790 | &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_alloc.c:2563:20: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 2563 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, agflbp); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_alloc.c: In function 'xfs_agfl_walk': /kisskb/src/fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] 790 | &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_alloc.c:3151:20: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 3151 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, agflbp); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hid/hid-cp2112.c: In function 'pstr_store': /kisskb/src/drivers/hid/hid-cp2112.c:966:37: warning: taking address of packed member of 'struct cp2112_string_report' may result in an unaligned pointer value [-Waddress-of-packed-member] 966 | report.string, ARRAY_SIZE(report.string)); | ~~~~~~^~~~~~~ /kisskb/src/drivers/hid/hid-cp2112.c: In function 'pstr_show': /kisskb/src/drivers/hid/hid-cp2112.c:1013:37: warning: taking address of packed member of 'struct cp2112_string_report' may result in an unaligned pointer value [-Waddress-of-packed-member] 1013 | ret = utf16s_to_utf8s(report.string, length, UTF16_LITTLE_ENDIAN, buf, | ~~~~~~^~~~~~~ /kisskb/src/net/mac80211/rx.c: In function 'ieee80211_add_rx_radiotap_header': /kisskb/src/net/mac80211/rx.c:322:22: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 322 | it_present = &rthdr->it_present; | ^~~~~~~~~~~~~~~~~~ /kisskb/src/net/phonet/socket.c: In function 'pn_socket_autobind': /kisskb/src/net/phonet/socket.c:223:47: warning: converting a packed 'struct sockaddr_pn' pointer (alignment 1) to a 'struct sockaddr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 223 | sizeof(struct sockaddr_pn)); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/phonet.h:25, from /kisskb/src/net/phonet/socket.c:35: /kisskb/src/include/uapi/linux/phonet.h:102:8: note: defined here 102 | struct sockaddr_pn { | ^~~~~~~~~~~ In file included from /kisskb/src/include/uapi/linux/net.h:22, from /kisskb/src/include/linux/net.h:29, from /kisskb/src/net/phonet/socket.c:28: /kisskb/src/include/linux/socket.h:30:8: note: defined here 30 | struct sockaddr { | ^~~~~~~~ In file included from /kisskb/src/net/mac80211/tx.c:19: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_xmit_fast' at /kisskb/src/net/mac80211/tx.c:3498:2: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_xmit_fast': /kisskb/src/net/mac80211/tx.c:3391:34: note: at offset 8 into object 'tx' of size 144 3391 | struct ieee80211_tx_data tx; | ^~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_xmit_fast' at /kisskb/src/net/mac80211/tx.c:3498:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_xmit_fast': /kisskb/src/net/mac80211/tx.c:3391:34: note: at offset 8 into object 'tx' of size 144 3391 | struct ieee80211_tx_data tx; | ^~ /kisskb/src/fs/xfs/libxfs/xfs_attr_remote.c: In function '__xfs_attr3_rmt_read_verify': /kisskb/src/fs/xfs/libxfs/xfs_attr_remote.c:131:35: warning: storing the address of local variable '__here' in '*failaddr' [-Wdangling-pointer=] 131 | *failaddr = __this_address; In file included from /kisskb/src/fs/xfs/xfs.h:22, from /kisskb/src/fs/xfs/libxfs/xfs_attr_remote.c:7: /kisskb/src/fs/xfs/xfs_linux.h:139:46: note: '__here' declared here 139 | #define __this_address ({ __label__ __here; __here: barrier(); &&__here; }) | ^~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_attr_remote.c:131:37: note: in expansion of macro '__this_address' 131 | *failaddr = __this_address; | ^~~~~~~~~~~~~~ /kisskb/src/fs/xfs/xfs_linux.h:139:46: note: 'failaddr' declared here 139 | #define __this_address ({ __label__ __here; __here: barrier(); &&__here; }) | ^~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_attr_remote.c:131:37: note: in expansion of macro '__this_address' 131 | *failaddr = __this_address; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/fs/ubifs/debug.c:30: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'interpret_user_input' at /kisskb/src/fs/ubifs/debug.c:2728:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'interpret_user_input': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ubifs/debug.c:2725:14: note: 'buf' declared here 2725 | char buf[8]; | ^~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_tx_pending_skb' at /kisskb/src/net/mac80211/tx.c:3927:3, inlined from 'ieee80211_tx_pending' at /kisskb/src/net/mac80211/tx.c:3972:11: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_tx_pending': /kisskb/src/net/mac80211/tx.c:3924:37: note: object 'skbs' of size 96 3924 | struct sk_buff_head skbs; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ieee80211_tx_pending_skb' at /kisskb/src/net/mac80211/tx.c:3927:3, inlined from 'ieee80211_tx_pending' at /kisskb/src/net/mac80211/tx.c:3972:11: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_tx_pending': /kisskb/src/net/mac80211/tx.c:3924:37: note: object 'skbs' of size 96 3924 | struct sk_buff_head skbs; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/net/rfkill/core.c:21: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rfkill_fop_write' at /kisskb/src/net/rfkill/core.c:1232:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'ev' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rfkill_fop_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/rfkill/core.c:1219:29: note: 'ev' declared here 1219 | struct rfkill_event ev; | ^~ /kisskb/src/net/netfilter/nfnetlink_queue.c: In function 'nfqnl_build_packet_message': /kisskb/src/net/netfilter/nfnetlink_queue.c:493:35: warning: taking address of packed member of 'struct nfqnl_msg_packet_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 493 | *packet_id_ptr = &pmsg->packet_id; | ^~~~~~~~~~~~~~~~ /kisskb/src/net/ipv6/mip6.c: In function 'mip6_destopt_reject': /kisskb/src/net/ipv6/mip6.c:234:41: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | hao ? &hao->addr : &ipv6_hdr(skb)->saddr, | ^~~~~~~~~~ /kisskb/src/net/ipv6/mip6.c:256:50: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 256 | (hao ? (xfrm_address_t *)&hao->addr : NULL)); | ^~~~~~~~~~ /kisskb/src/net/ipv6/ip6_tunnel.c: In function 'ip6_tnl_parse_tlv_enc_lim': /kisskb/src/net/ipv6/ip6_tunnel.c:419:61: warning: converting a packed 'struct ipv6_opt_hdr' pointer (alignment 1) to a 'struct frag_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 419 | struct frag_hdr *frag_hdr = (struct frag_hdr *) hdr; | ^~~~~~~~ In file included from /kisskb/src/include/linux/ipv6.h:5, from /kisskb/src/include/net/ipv6.h:16, from /kisskb/src/include/net/inetpeer.h:16, from /kisskb/src/include/net/route.h:28, from /kisskb/src/include/net/ip.h:32, from /kisskb/src/net/ipv6/ip6_tunnel.c:49: /kisskb/src/include/uapi/linux/ipv6.h:61:8: note: defined here 61 | struct ipv6_opt_hdr { | ^~~~~~~~~~~~ /kisskb/src/include/net/ipv6.h:147:8: note: defined here 147 | struct frag_hdr { | ^~~~~~~~ /kisskb/src/net/netfilter/nfnetlink_osf.c: In function 'nf_osf_hdr_ctx_init': /kisskb/src/net/netfilter/nfnetlink_osf.c:188:1: warning: function may return address of local variable [-Wreturn-local-addr] 188 | } | ^ /kisskb/src/net/netfilter/nfnetlink_osf.c:167:23: note: declared here 167 | struct tcphdr _tcph; | ^~~~~ /kisskb/src/net/netfilter/nf_conntrack_core.c: In function '__nf_conntrack_alloc': /kisskb/src/net/netfilter/nf_conntrack_core.c:1293:16: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1293 | memset(&ct->__nfct_init_offset[0], 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/net/netfilter/nf_conntrack_core.c:39: /kisskb/src/include/net/netfilter/nf_conntrack.h:88:12: note: while referencing '__nfct_init_offset' 88 | u8 __nfct_init_offset[0]; | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/hid.h:31, from /kisskb/src/drivers/hid/hid-picolcd_debugfs.c:20: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'picolcd_debug_reset_write' at /kisskb/src/drivers/hid/hid-picolcd_debugfs.c:53:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'picolcd_debug_reset_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hid/hid-picolcd_debugfs.c:51:14: note: 'buf' declared here 51 | char buf[32]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/net/mac80211/debugfs.c:12: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'aqm_write' at /kisskb/src/net/mac80211/debugfs.c:128:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'aqm_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/debugfs.c:122:14: note: 'buf' declared here 122 | char buf[100]; | ^~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/net/mac80211/debugfs_netdev.c:11: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ieee80211_if_write.constprop' at /kisskb/src/net/mac80211/debugfs_netdev.c:58:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ieee80211_if_write.constprop': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/debugfs_netdev.c:52:14: note: 'buf' declared here 52 | char buf[64]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/net/rds/rdma.c:33: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rds_cmsg_rdma_args' at /kisskb/src/net/rds/rdma.c:599:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'iovstack' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rds_cmsg_rdma_args': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/rds/rdma.c:568:26: note: 'iovstack' declared here 568 | struct rds_iovec iovstack[UIO_FASTIOV], *iovs = iovstack; | ^~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/net/mac80211/mesh_pathtbl.c:10: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'mesh_path_move_to_queue' at /kisskb/src/net/mac80211/mesh_pathtbl.c:177:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/mac80211/mesh_pathtbl.c: In function 'mesh_path_move_to_queue': /kisskb/src/net/mac80211/mesh_pathtbl.c:166:29: note: object 'failq' of size 96 166 | struct sk_buff_head failq; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/net/mac80211/ieee80211_i.h:19, from /kisskb/src/net/mac80211/mesh.h:16, from /kisskb/src/net/mac80211/mesh_ps.c:10: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'mpsp_qos_null_append' at /kisskb/src/net/mac80211/mesh_ps.c:440:2, inlined from 'mps_frame_deliver' at /kisskb/src/net/mac80211/mesh_ps.c:488:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/mesh_ps.c: In function 'mps_frame_deliver': /kisskb/src/net/mac80211/mesh_ps.c:453:29: note: object 'frames' of size 96 453 | struct sk_buff_head frames; | ^~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'mpsp_qos_null_append' at /kisskb/src/net/mac80211/mesh_ps.c:440:2, inlined from 'mps_frame_deliver' at /kisskb/src/net/mac80211/mesh_ps.c:488:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/mesh_ps.c: In function 'mps_frame_deliver': /kisskb/src/net/mac80211/mesh_ps.c:453:29: note: object 'frames' of size 96 453 | struct sk_buff_head frames; | ^~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'mps_frame_deliver' at /kisskb/src/net/mac80211/mesh_ps.c:472:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/mesh_ps.c: In function 'mps_frame_deliver': /kisskb/src/net/mac80211/mesh_ps.c:453:29: note: object 'frames' of size 96 453 | struct sk_buff_head frames; | ^~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'mps_frame_deliver' at /kisskb/src/net/mac80211/mesh_ps.c:472:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/mesh_ps.c: In function 'mps_frame_deliver': /kisskb/src/net/mac80211/mesh_ps.c:453:29: note: object 'frames' of size 96 453 | struct sk_buff_head frames; | ^~~~~~ /kisskb/src/net/sctp/sm_statefuns.c: In function 'sctp_sf_do_5_1D_ce': /kisskb/src/net/sctp/sm_statefuns.c:780:21: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] 780 | peer_init = &chunk->subh.cookie_hdr->c.peer_init[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/sm_statefuns.c:783:32: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] 783 | &chunk->subh.cookie_hdr->c.peer_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/sm_statefuns.c: In function 'sctp_sf_do_dupcook_a': /kisskb/src/net/sctp/sm_statefuns.c:1792:21: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] 1792 | peer_init = &chunk->subh.cookie_hdr->c.peer_init[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/sm_statefuns.c: In function 'sctp_sf_do_dupcook_b': /kisskb/src/net/sctp/sm_statefuns.c:1910:21: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] 1910 | peer_init = &chunk->subh.cookie_hdr->c.peer_init[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/joystick/analog.c: In function 'analog_name': /kisskb/src/drivers/input/joystick/analog.c:440:17: warning: 'snprintf' argument 4 overlaps destination object 'analog' [-Wrestrict] 440 | snprintf(analog->name, sizeof(analog->name), "%s %d-hat", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | analog->name, hweight16(analog->mask & ANALOG_HATS_ALL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/joystick/analog.c:432:40: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 432 | static void analog_name(struct analog *analog) | ~~~~~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_enable_irq': /kisskb/src/drivers/ipack/carriers/tpci200.c:113:25: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 113 | &tpci200->info->interface_regs->control[islot], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_disable_irq': /kisskb/src/drivers/ipack/carriers/tpci200.c:121:25: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 121 | &tpci200->info->interface_regs->control[islot], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_get_clockrate': /kisskb/src/drivers/ipack/carriers/tpci200.c:375:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 375 | addr = &tpci200->info->interface_regs->control[dev->slot]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_set_clockrate': /kisskb/src/drivers/ipack/carriers/tpci200.c:387:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 387 | addr = &tpci200->info->interface_regs->control[dev->slot]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_get_error': /kisskb/src/drivers/ipack/carriers/tpci200.c:411:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 411 | addr = &tpci200->info->interface_regs->status; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_get_timeout': /kisskb/src/drivers/ipack/carriers/tpci200.c:425:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 425 | addr = &tpci200->info->interface_regs->status; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_reset_timeout': /kisskb/src/drivers/ipack/carriers/tpci200.c:440:16: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 440 | addr = &tpci200->info->interface_regs->status; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/i2c/i2c-stub.c:26: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'i2c_stub_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-stub.c:421:1: note: in expansion of macro 'module_init' 421 | module_init(i2c_stub_init); | ^~~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-stub.c:363:19: note: 'init_module' target declared here 363 | static int __init i2c_stub_init(void) | ^~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'i2c_stub_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-stub.c:422:1: note: in expansion of macro 'module_exit' 422 | module_exit(i2c_stub_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-stub.c:411:20: note: 'cleanup_module' target declared here 411 | static void __exit i2c_stub_exit(void) | ^~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_inode_fork.c: In function 'xfs_ifork_verify_attr': /kisskb/src/fs/xfs/libxfs/xfs_inode_fork.c:731:13: warning: the comparison will always evaluate as 'true' for the address of 'i_df' will never be NULL [-Waddress] 731 | if (!XFS_IFORK_PTR(ip, XFS_ATTR_FORK)) | ^ In file included from /kisskb/src/fs/xfs/libxfs/xfs_inode_fork.c:14: /kisskb/src/fs/xfs/xfs_inode.h:38:33: note: 'i_df' declared here 38 | struct xfs_ifork i_df; /* data fork */ | ^~~~ In file included from /kisskb/src/net/smc/af_smc.c:36: /kisskb/src/net/smc/smc_cdc.h: In function 'smc_host_msg_to_cdc': /kisskb/src/net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | smc_host_cursor_to_cdc(&peer->prod, &local->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | smc_host_cursor_to_cdc(&peer->cons, &local->cons, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h: In function 'smcr_cdc_msg_to_host': /kisskb/src/net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/capi/kcapi.c:849:44: warning: argument 2 of type 'u8 *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=] 849 | u16 capi20_get_manufacturer(u32 contr, u8 *buf) | ~~~~^~~ In file included from /kisskb/src/include/linux/isdn/capilli.h:18, from /kisskb/src/drivers/isdn/capi/kcapi.h:16, from /kisskb/src/drivers/isdn/capi/kcapi.c:15: /kisskb/src/include/linux/kernelcapi.h:41:43: note: previously declared as an array 'u8[64]' {aka 'unsigned char[64]'} 41 | u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/capi/kcapi.c:919:38: warning: argument 2 of type 'u8 *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=] 919 | u16 capi20_get_serial(u32 contr, u8 *serial) | ~~~~^~~~~~ /kisskb/src/include/linux/kernelcapi.h:43:37: note: previously declared as an array 'u8[8]' {aka 'unsigned char[8]'} 43 | u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.c: In function 'smc_clc_msg_hdr_valid': /kisskb/src/net/smc/smc_clc.c:55:32: warning: converting a packed 'struct smc_clc_msg_hdr' pointer (alignment 1) to a 'struct smc_clc_msg_proposal' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 55 | pclc = (struct smc_clc_msg_proposal *)clcm; | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/net/smc/smc_clc.c:24: /kisskb/src/net/smc/smc_clc.h:47:8: note: defined here 47 | struct smc_clc_msg_hdr { /* header1 of clc messages */ | ^~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.h:96:8: note: defined here 96 | struct smc_clc_msg_proposal { /* clc proposal message sent by Linux */ | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.c:81:32: warning: converting a packed 'struct smc_clc_msg_hdr' pointer (alignment 1) to a 'struct smc_clc_msg_decline' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 81 | dclc = (struct smc_clc_msg_decline *)clcm; | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.h:47:8: note: defined here 47 | struct smc_clc_msg_hdr { /* header1 of clc messages */ | ^~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.h:154:8: note: defined here 154 | struct smc_clc_msg_decline { /* clc decline message */ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.c: In function 'smc_clc_prfx_set6_rcu': /kisskb/src/net/smc/smc_clc.c:130:34: warning: taking address of packed member of 'struct smc_clc_ipv6_prefix' may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | ipv6_addr_prefix(&ipv6_prfx[cnt].prefix, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.c: In function 'smc_clc_prfx_match6_rcu': /kisskb/src/net/smc/smc_clc.c:225:59: warning: taking address of packed member of 'struct smc_clc_ipv6_prefix' may result in an unaligned pointer value [-Waddress-of-packed-member] 225 | ipv6_prefix_equal(&ifa->addr, &ipv6_prfx[i].prefix, | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.c: In function 'smc_clc_wait_msg': /kisskb/src/net/smc/smc_clc.c:339:32: warning: converting a packed 'struct smc_clc_msg_hdr' pointer (alignment 1) to a 'struct smc_clc_msg_decline' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 339 | dclc = (struct smc_clc_msg_decline *)clcm; | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.h:47:8: note: defined here 47 | struct smc_clc_msg_hdr { /* header1 of clc messages */ | ^~~~~~~~~~~~~~~ /kisskb/src/net/smc/smc_clc.h:154:8: note: defined here 154 | struct smc_clc_msg_decline { /* clc decline message */ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/soc/codecs/wm0010.c: In function 'wm0010_boot': /kisskb/src/sound/soc/codecs/wm0010.c:666:17: warning: converting a packed 'struct dfw_pllrec' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 666 | byte_swap_64((u64 *)&pll_rec, img_swap, len); | ^~~~~~~~~~~~ /kisskb/src/sound/soc/codecs/wm0010.c:59:8: note: defined here 59 | struct dfw_pllrec { | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/unaligned.h:10, from /kisskb/src/drivers/input/mouse/cyapa_gen6.c:20: In function 'put_unaligned_le16', inlined from 'cyapa_pip_retrieve_data_structure.constprop' at /kisskb/src/drivers/input/mouse/cyapa_gen6.c:576:2: /kisskb/src/include/linux/unaligned/access_ok.h:40:24: warning: array subscript -1 is outside array bounds of 'struct retrieve_data_struct_cmd[1]' [-Warray-bounds] 40 | *((__le16 *)p) = cpu_to_le16(val); /kisskb/src/drivers/input/mouse/cyapa_gen6.c: In function 'cyapa_pip_retrieve_data_structure.constprop': /kisskb/src/drivers/input/mouse/cyapa_gen6.c:569:20: note: at offset -2 into object 'cmd' of size 12 569 | } __packed cmd; | ^~~ In file included from /kisskb/src/net/smc/smc_core.c:27: /kisskb/src/net/smc/smc_cdc.h: In function 'smc_host_msg_to_cdc': /kisskb/src/net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | smc_host_cursor_to_cdc(&peer->prod, &local->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | smc_host_cursor_to_cdc(&peer->cons, &local->cons, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h: In function 'smcr_cdc_msg_to_host': /kisskb/src/net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); | ^~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c: In function 'mma9553_write_raw': /kisskb/src/drivers/iio/accel/mma9553.c:641:42: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 641 | &data->conf.height_weight, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c:651:42: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 651 | &data->conf.height_weight, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c:668:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 668 | &data->conf.filter, val, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c:682:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 682 | &data->conf.filter, val, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c:706:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 706 | &data->conf.speed_step, val, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c: In function 'mma9553_write_event_value': /kisskb/src/drivers/iio/accel/mma9553.c:833:49: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 833 | &data->conf.speed_step, val, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c:848:50: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 848 | &data->conf.actthd, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c: In function 'mma9553_set_calibgender_mode': /kisskb/src/drivers/iio/accel/mma9553.c:887:34: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 887 | &data->conf.filter, gender, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/libxfs/xfs_rmap_btree.c: In function 'xfs_rmapbt_init_high_key_from_rec': /kisskb/src/fs/xfs/libxfs/xfs_rmap_btree.c:194:22: warning: taking address of packed member of 'struct xfs_rmap_key' may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | be32_add_cpu(&key->rmap.rm_startblock, adj); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/sm_make_chunk.c: In function 'sctp_unpack_cookie': /kisskb/src/net/sctp/sm_make_chunk.c:1742:23: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] 1742 | bear_cookie = &cookie->c; | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/drivers/macintosh/via-pmu.c:22: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'pmu_options_proc_write' at /kisskb/src/drivers/macintosh/via-pmu.c:944:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'pmu_options_proc_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/macintosh/via-pmu.c:936:14: note: 'tmp' declared here 936 | char tmp[33]; | ^~~ In file included from /kisskb/src/net/smc/smc_cdc.c:17: /kisskb/src/net/smc/smc_cdc.h: In function 'smc_host_msg_to_cdc': /kisskb/src/net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | smc_host_cursor_to_cdc(&peer->prod, &local->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | smc_host_cursor_to_cdc(&peer->cons, &local->cons, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h: In function 'smcr_cdc_msg_to_host': /kisskb/src/net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); | ^~~~~~~~~~~ /kisskb/src/drivers/input/mouse/synaptics.c: In function 'synaptics_report_mt_data': /kisskb/src/drivers/input/mouse/synaptics.c:989:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 989 | input_mt_assign_slots(dev, slot, pos, nsemi, DMAX * priv->info.x_res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/mouse/synaptics.c:29: /kisskb/src/include/linux/input/mt.h:121:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 121 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/mouse/synaptics.c:979:29: note: 'pos' declared here 979 | struct input_mt_pos pos[2]; | ^~~ In file included from /kisskb/src/net/smc/smc_tx.c:26: /kisskb/src/net/smc/smc_cdc.h: In function 'smc_host_msg_to_cdc': /kisskb/src/net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | smc_host_cursor_to_cdc(&peer->prod, &local->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | smc_host_cursor_to_cdc(&peer->cons, &local->cons, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h: In function 'smcr_cdc_msg_to_host': /kisskb/src/net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); | ^~~~~~~~~~~ In file included from /kisskb/src/net/smc/smc_rx.c:21: /kisskb/src/net/smc/smc_cdc.h: In function 'smc_host_msg_to_cdc': /kisskb/src/net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | smc_host_cursor_to_cdc(&peer->prod, &local->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | smc_host_cursor_to_cdc(&peer->cons, &local->cons, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h: In function 'smcr_cdc_msg_to_host': /kisskb/src/net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); | ^~~~~~~~~~~ In file included from /kisskb/src/net/smc/smc_tx.h:19, from /kisskb/src/net/smc/smc_close.c:18: /kisskb/src/net/smc/smc_cdc.h: In function 'smc_host_msg_to_cdc': /kisskb/src/net/smc/smc_cdc.h:183:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | smc_host_cursor_to_cdc(&peer->prod, &local->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:184:32: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | smc_host_cursor_to_cdc(&peer->cons, &local->cons, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h: In function 'smcr_cdc_msg_to_host': /kisskb/src/net/smc/smc_cdc.h:216:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); | ^~~~~~~~~~~ /kisskb/src/net/smc/smc_cdc.h:217:46: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); | ^~~~~~~~~~~ /kisskb/src/drivers/leds/led-class-flash.c: In function 'flash_fault_show': /kisskb/src/drivers/leds/led-class-flash.c:215:16: warning: 'sprintf' argument 3 overlaps destination object 'buf' [-Wrestrict] 215 | return sprintf(buf, "%s\n", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/leds/led-class-flash.c:192:54: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 192 | struct device_attribute *attr, char *buf) | ~~~~~~^~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'handle_outgoing_dr_smp': /kisskb/src/drivers/infiniband/core/mad.c:894:35: warning: converting a packed 'struct ib_smp' pointer (alignment 1) to a 'const struct ib_mad_hdr' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 894 | &mad_size, &out_mad_pkey_index); | ^ In file included from /kisskb/src/drivers/infiniband/core/mad_priv.h:43, from /kisskb/src/drivers/infiniband/core/mad.c:47: /kisskb/src/include/rdma/ib_smi.h:45:8: note: defined here 45 | struct ib_smp { | ^~~~~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'handle_ib_smi': /kisskb/src/drivers/infiniband/core/mad.c:2102:47: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2102 | response->header.recv_wc.wc = &response->header.wc; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2104:57: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2104 | response->header.recv_wc.recv_buf.grh = &response->grh; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2107:37: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2107 | &response->grh, wc, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'generate_unmatched_resp': /kisskb/src/drivers/infiniband/core/mad.c:2129:47: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2129 | response->header.recv_wc.wc = &response->header.wc; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2131:57: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2131 | response->header.recv_wc.recv_buf.grh = &response->grh; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'handle_opa_smi': /kisskb/src/drivers/infiniband/core/mad.c:2189:47: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2189 | response->header.recv_wc.wc = &response->header.wc; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2192:57: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2192 | response->header.recv_wc.recv_buf.grh = &response->grh; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2195:37: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2195 | &response->grh, wc, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'ib_mad_recv_done': /kisskb/src/drivers/infiniband/core/mad.c:2269:35: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2269 | recv->header.recv_wc.wc = &recv->header.wc; | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2280:45: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2280 | recv->header.recv_wc.recv_buf.grh = &recv->grh; | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2283:37: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2283 | snoop_recv(qp_info, &recv->header.recv_wc, IB_MAD_SNOOP_RECVS); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2311:58: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2311 | wc, &recv->grh, | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2325:53: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2325 | &recv->grh, wc, | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2337:49: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2337 | ib_mad_complete_recv(mad_agent, &recv->header.recv_wc); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2345:79: warning: taking address of packed member of 'struct ib_mad_private' may result in an unaligned pointer value [-Waddress-of-packed-member] 2345 | agent_send_response((const struct ib_mad_hdr *)response->mad, &recv->grh, wc, | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'local_completions': /kisskb/src/drivers/infiniband/core/mad.c:2762:40: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2762 | INIT_LIST_HEAD(&local->mad_priv->header.recv_wc.rmpp_list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2763:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2763 | list_add(&local->mad_priv->header.recv_wc.recv_buf.list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2764:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2764 | &local->mad_priv->header.recv_wc.rmpp_list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2770:43: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2770 | &local->mad_priv->header.recv_wc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2775:49: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2775 | &local->mad_priv->header.recv_wc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c: In function 'ib_mad_post_receive_mads': /kisskb/src/drivers/infiniband/core/mad.c:2933:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2933 | recv_wr.wr_cqe = &mad_priv->header.mad_list.cqe; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2938:31: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2938 | list_add_tail(&mad_priv->header.mad_list.list, &recv_queue->list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/mad.c:2943:34: warning: taking address of packed member of 'struct ib_mad_private_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2943 | list_del(&mad_priv->header.mad_list.list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:39: In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_reasm_drain' at /kisskb/src/net/sctp/ulpqueue.c:750:4: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reasm_drain': /kisskb/src/net/sctp/ulpqueue.c:741:29: note: object 'temp' of size 96 741 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_reasm_drain' at /kisskb/src/net/sctp/ulpqueue.c:750:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reasm_drain': /kisskb/src/net/sctp/ulpqueue.c:741:29: note: object 'temp' of size 96 741 | struct sk_buff_head temp; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_reap_ordered' at /kisskb/src/net/sctp/ulpqueue.c:934:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reap_ordered': /kisskb/src/net/sctp/ulpqueue.c:902:29: note: object 'temp' of size 96 902 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_reap_ordered' at /kisskb/src/net/sctp/ulpqueue.c:934:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reap_ordered': /kisskb/src/net/sctp/ulpqueue.c:902:29: note: object 'temp' of size 96 902 | struct sk_buff_head temp; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_reap_ordered' at /kisskb/src/net/sctp/ulpqueue.c:948:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reap_ordered': /kisskb/src/net/sctp/ulpqueue.c:902:29: note: object 'temp' of size 96 902 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_reap_ordered' at /kisskb/src/net/sctp/ulpqueue.c:948:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reap_ordered': /kisskb/src/net/sctp/ulpqueue.c:902:29: note: object 'temp' of size 96 902 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_tail_data' at /kisskb/src/net/sctp/ulpqueue.c:122:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_tail_data': /kisskb/src/net/sctp/ulpqueue.c:103:29: note: object 'temp' of size 96 103 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpq_tail_data' at /kisskb/src/net/sctp/ulpqueue.c:122:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_tail_data': /kisskb/src/net/sctp/ulpqueue.c:103:29: note: object 'temp' of size 96 103 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/include/net/sock.h:51, from /kisskb/src/net/tipc/socket.h:38, from /kisskb/src/net/tipc/bcast.c:39: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_bcbase_xmit' at /kisskb/src/net/tipc/bcast.c:193:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/bcast.c: In function 'tipc_bcbase_xmit': /kisskb/src/net/tipc/bcast.c:171:29: note: object '_xmitq' of size 96 171 | struct sk_buff_head _xmitq; | ^~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_bcbase_xmit' at /kisskb/src/net/tipc/bcast.c:193:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/bcast.c: In function 'tipc_bcbase_xmit': /kisskb/src/net/tipc/bcast.c:171:29: note: object '_xmitq' of size 96 171 | struct sk_buff_head _xmitq; | ^~~~~~ /kisskb/src/drivers/input/mouse/cypress_ps2.c: In function 'cypress_process_packet.constprop': /kisskb/src/drivers/input/mouse/cypress_ps2.c:539:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 539 | input_mt_assign_slots(input, slots, pos, n, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/mouse/cypress_ps2.c:24: /kisskb/src/include/linux/input/mt.h:121:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 121 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/mouse/cypress_ps2.c:523:29: note: 'pos' declared here 523 | struct input_mt_pos pos[CYTP_MAX_MT_SLOTS]; | ^~~ /kisskb/src/net/sctp/socket.c: In function 'sctp_setsockopt_peer_addr_params': /kisskb/src/net/sctp/socket.c:2736:52: warning: taking address of packed member of 'struct sctp_paddrparams' may result in an unaligned pointer value [-Waddress-of-packed-member] 2736 | trans = sctp_addr_id2transport(sk, ¶ms.spp_address, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/socket.c: In function 'sctp_setsockopt_primary_addr': /kisskb/src/net/sctp/socket.c:3077:44: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] 3077 | trans = sctp_addr_id2transport(sk, &prim.ssp_addr, prim.ssp_assoc_id); | ^~~~~~~~~~~~~~ /kisskb/src/net/sctp/socket.c: In function 'sctp_getsockopt_peer_addr_info': /kisskb/src/net/sctp/socket.c:5209:48: warning: taking address of packed member of 'struct sctp_paddrinfo' may result in an unaligned pointer value [-Waddress-of-packed-member] 5209 | transport = sctp_addr_id2transport(sk, &pinfo.spinfo_address, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/socket.c: In function 'sctp_getsockopt_peer_addr_params': /kisskb/src/net/sctp/socket.c:5613:52: warning: taking address of packed member of 'struct sctp_paddrparams' may result in an unaligned pointer value [-Waddress-of-packed-member] 5613 | trans = sctp_addr_id2transport(sk, ¶ms.spp_address, | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/tipc/core.h:52, from /kisskb/src/net/tipc/link.c:37: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'tipc_link_reset' at /kisskb/src/net/tipc/link.c:857:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/tipc/link.c: In function 'tipc_link_reset': /kisskb/src/net/tipc/link.c:848:29: note: object 'list' of size 96 848 | struct sk_buff_head list; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_link_create_dummy_tnl_msg' at /kisskb/src/net/tipc/link.c:1429:2: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/link.c: In function 'tipc_link_create_dummy_tnl_msg': /kisskb/src/net/tipc/link.c:1408:29: note: object 'tnlq' of size 96 1408 | struct sk_buff_head tnlq; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_link_create_dummy_tnl_msg' at /kisskb/src/net/tipc/link.c:1429:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/link.c: In function 'tipc_link_create_dummy_tnl_msg': /kisskb/src/net/tipc/link.c:1408:29: note: object 'tnlq' of size 96 1408 | struct sk_buff_head tnlq; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_link_tnl_prepare' at /kisskb/src/net/tipc/link.c:1484:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/link.c: In function 'tipc_link_tnl_prepare': /kisskb/src/net/tipc/link.c:1442:36: note: object 'tnlq' of size 96 1442 | struct sk_buff_head tmpxq, tnlq; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_link_tnl_prepare' at /kisskb/src/net/tipc/link.c:1484:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/link.c: In function 'tipc_link_tnl_prepare': /kisskb/src/net/tipc/link.c:1442:36: note: object 'tnlq' of size 96 1442 | struct sk_buff_head tmpxq, tnlq; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:24, from /kisskb/src/include/crypto/hash.h:16, from /kisskb/src/net/sctp/socket.c:55: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'sctp_getsockopt_peer_addr_params' at /kisskb/src/net/sctp/socket.c:5606:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'params' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'sctp_getsockopt_peer_addr_params': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/socket.c:5592:34: note: 'params' declared here 5592 | struct sctp_paddrparams params; | ^~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'sctp_getsockopt_assoc_stats' at /kisskb/src/net/sctp/socket.c:6899:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'sas' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'sctp_getsockopt_assoc_stats': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/socket.c:6889:33: note: 'sas' declared here 6889 | struct sctp_assoc_stats sas; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/hid/hid-wiimote-debug.c:13: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'wiidebug_drm_write' at /kisskb/src/drivers/hid/hid-wiimote-debug.c:141:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'wiidebug_drm_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hid/hid-wiimote-debug.c:133:14: note: 'buf' declared here 133 | char buf[16]; | ^~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/tipc/core.h:52, from /kisskb/src/net/tipc/node.c:37: In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'tipc_skb_queue_splice_tail_init' at /kisskb/src/net/tipc/msg.h:1085:2, inlined from 'tipc_node_check_state.isra' at /kisskb/src/net/tipc/node.c:1619:4: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ In file included from /kisskb/src/net/tipc/link.h:41, from /kisskb/src/net/tipc/node.c:38: /kisskb/src/net/tipc/msg.h: In function 'tipc_node_check_state.isra': /kisskb/src/net/tipc/msg.h:1080:29: note: object 'tmp' of size 96 1080 | struct sk_buff_head tmp; | ^~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_node_xmit_skb' at /kisskb/src/net/tipc/node.c:1409:2: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/tipc/node.c: In function 'tipc_node_xmit_skb': /kisskb/src/net/tipc/node.c:1406:29: note: object 'head' of size 96 1406 | struct sk_buff_head head; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_node_xmit_skb' at /kisskb/src/net/tipc/node.c:1409:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/node.c: In function 'tipc_node_xmit_skb': /kisskb/src/net/tipc/node.c:1406:29: note: object 'head' of size 96 1406 | struct sk_buff_head head; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_node_xmit_skb' at /kisskb/src/net/tipc/node.c:1409:2, inlined from 'tipc_node_distr_xmit' at /kisskb/src/net/tipc/node.c:1425:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/tipc/node.c: In function 'tipc_node_distr_xmit': /kisskb/src/net/tipc/node.c:1406:29: note: object 'head' of size 96 1406 | struct sk_buff_head head; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_node_xmit_skb' at /kisskb/src/net/tipc/node.c:1409:2, inlined from 'tipc_node_distr_xmit' at /kisskb/src/net/tipc/node.c:1425:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/node.c: In function 'tipc_node_distr_xmit': /kisskb/src/net/tipc/node.c:1406:29: note: object 'head' of size 96 1406 | struct sk_buff_head head; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_node_xmit_skb' at /kisskb/src/net/tipc/node.c:1409:2, inlined from 'tipc_node_broadcast' at /kisskb/src/net/tipc/node.c:1447:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/tipc/node.c: In function 'tipc_node_broadcast': /kisskb/src/net/tipc/node.c:1406:29: note: object 'head' of size 96 1406 | struct sk_buff_head head; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_node_xmit_skb' at /kisskb/src/net/tipc/node.c:1409:2, inlined from 'tipc_node_broadcast' at /kisskb/src/net/tipc/node.c:1447:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/node.c: In function 'tipc_node_broadcast': /kisskb/src/net/tipc/node.c:1406:29: note: object 'head' of size 96 1406 | struct sk_buff_head head; | ^~~~ In file included from /kisskb/src/net/sched/sch_sfq.c:20: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sfq_rehash' at /kisskb/src/net/sched/sch_sfq.c:558:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sched/sch_sfq.c: In function 'sfq_rehash': /kisskb/src/net/sched/sch_sfq.c:545:29: note: object 'list' of size 96 545 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sfq_rehash' at /kisskb/src/net/sched/sch_sfq.c:558:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sched/sch_sfq.c: In function 'sfq_rehash': /kisskb/src/net/sched/sch_sfq.c:545:29: note: object 'list' of size 96 545 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/tipc/core.h:52, from /kisskb/src/net/tipc/socket.c:40: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_sk_check_probing_state' at /kisskb/src/net/tipc/socket.c:2587:3, inlined from 'tipc_sk_timeout' at /kisskb/src/net/tipc/socket.c:2624:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_timeout': /kisskb/src/net/tipc/socket.c:2610:29: note: object 'list' of size 96 2610 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_sk_check_probing_state' at /kisskb/src/net/tipc/socket.c:2587:3, inlined from 'tipc_sk_timeout' at /kisskb/src/net/tipc/socket.c:2624:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_timeout': /kisskb/src/net/tipc/socket.c:2610:29: note: object 'list' of size 96 2610 | struct sk_buff_head list; | ^~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_req': /kisskb/src/drivers/infiniband/core/cm.c:1291:27: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1291 | cm_format_mad_hdr(&req_msg->hdr, CM_REQ_ATTR_ID, | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_issue_rej': /kisskb/src/drivers/infiniband/core/cm.c:1513:27: warning: taking address of packed member of 'struct cm_rej_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1513 | cm_format_mad_hdr(&rej_msg->hdr, CM_REJ_ATTR_ID, rcv_msg->hdr.tid); | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_req_has_alt_path': /kisskb/src/drivers/infiniband/core/cm.c:1542:32: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1542 | (ib_is_opa_gid(&req_msg->alt_local_gid))); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_path_lid_from_req': /kisskb/src/drivers/infiniband/core/cm.c:1566:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1566 | lid = opa_get_lid_from_gid(&req_msg->primary_local_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c:1569:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1569 | lid = opa_get_lid_from_gid(&req_msg->primary_remote_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c:1580:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1580 | lid = opa_get_lid_from_gid(&req_msg->alt_local_gid); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c:1583:44: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1583 | lid = opa_get_lid_from_gid(&req_msg->alt_remote_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_mra': /kisskb/src/drivers/infiniband/core/cm.c:1753:27: warning: taking address of packed member of 'struct cm_mra_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1753 | cm_format_mad_hdr(&mra_msg->hdr, CM_MRA_ATTR_ID, cm_id_priv->tid); | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_rej': /kisskb/src/drivers/infiniband/core/cm.c:1771:27: warning: taking address of packed member of 'struct cm_rej_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1771 | cm_format_mad_hdr(&rej_msg->hdr, CM_REJ_ATTR_ID, cm_id_priv->tid); | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_req_handler': /kisskb/src/drivers/infiniband/core/cm.c:1999:38: warning: taking address of packed member of 'struct cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1999 | &req_msg->primary_local_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_rep': /kisskb/src/drivers/infiniband/core/cm.c:2070:27: warning: taking address of packed member of 'struct cm_rep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2070 | cm_format_mad_hdr(&rep_msg->hdr, CM_REP_ATTR_ID, cm_id_priv->tid); | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_rtu': In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_sk_filter_rcv' at /kisskb/src/net/tipc/socket.c:2126:2: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_filter_rcv': /kisskb/src/drivers/infiniband/core/cm.c:2152:27: warning: taking address of packed member of 'struct cm_rtu_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2152 | cm_format_mad_hdr(&rtu_msg->hdr, CM_RTU_ATTR_ID, cm_id_priv->tid); | ^~~~~~~~~~~~~ /kisskb/src/net/tipc/socket.c:2121:29: note: object 'inputq' of size 96 2121 | struct sk_buff_head inputq; | ^~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_sk_filter_rcv' at /kisskb/src/net/tipc/socket.c:2126:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_filter_rcv': /kisskb/src/net/tipc/socket.c:2121:29: note: object 'inputq' of size 96 2121 | struct sk_buff_head inputq; | ^~~~~~ In function '__skb_unlink', inlined from '__skb_dequeue' at /kisskb/src/include/linux/skbuff.h:1909:3, inlined from 'tipc_sk_proto_rcv' at /kisskb/src/net/tipc/socket.c:1948:24, inlined from 'tipc_sk_filter_rcv' at /kisskb/src/net/tipc/socket.c:2129:3: /kisskb/src/include/linux/skbuff.h:1892:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1892 | next->prev = prev; | ~~~~~~~~~~~^~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_filter_rcv': /kisskb/src/net/tipc/socket.c:2121:29: note: object 'inputq' of size 96 2121 | struct sk_buff_head inputq; | ^~~~~~ In function '__skb_unlink', inlined from '__skb_dequeue' at /kisskb/src/include/linux/skbuff.h:1909:3, inlined from 'tipc_sk_proto_rcv' at /kisskb/src/net/tipc/socket.c:1948:24, inlined from 'tipc_sk_filter_rcv' at /kisskb/src/net/tipc/socket.c:2129:3: /kisskb/src/include/linux/skbuff.h:1893:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1893 | prev->next = next; | ~~~~~~~~~~~^~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_filter_rcv': /kisskb/src/net/tipc/socket.c:2121:29: note: object 'inputq' of size 96 2121 | struct sk_buff_head inputq; | ^~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_dreq': /kisskb/src/drivers/infiniband/core/cm.c:2466:27: warning: taking address of packed member of 'struct cm_dreq_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2466 | cm_format_mad_hdr(&dreq_msg->hdr, CM_DREQ_ATTR_ID, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_drep': /kisskb/src/drivers/infiniband/core/cm.c:2532:27: warning: taking address of packed member of 'struct cm_drep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2532 | cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, cm_id_priv->tid); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_issue_drep': /kisskb/src/drivers/infiniband/core/cm.c:2604:27: warning: taking address of packed member of 'struct cm_drep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2604 | cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, dreq_msg->hdr.tid); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_lap': /kisskb/src/drivers/infiniband/core/cm.c:3097:27: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3097 | cm_format_mad_hdr(&lap_msg->hdr, CM_LAP_ATTR_ID, | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_path_lid_from_lap': /kisskb/src/drivers/infiniband/core/cm.c:3193:44: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3193 | lid = opa_get_lid_from_gid(&lap_msg->alt_local_gid); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c:3196:44: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3196 | lid = opa_get_lid_from_gid(&lap_msg->alt_remote_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_lap_handler': /kisskb/src/drivers/infiniband/core/cm.c:3250:30: warning: taking address of packed member of 'struct cm_lap_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3250 | &lap_msg->alt_local_gid); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_apr': /kisskb/src/drivers/infiniband/core/cm.c:3326:27: warning: taking address of packed member of 'struct cm_apr_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3326 | cm_format_mad_hdr(&apr_msg->hdr, CM_APR_ATTR_ID, cm_id_priv->tid); | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_sidr_req': /kisskb/src/drivers/infiniband/core/cm.c:3476:27: warning: taking address of packed member of 'struct cm_sidr_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3476 | cm_format_mad_hdr(&sidr_req_msg->hdr, CM_SIDR_REQ_ATTR_ID, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_sidr_rep': /kisskb/src/drivers/infiniband/core/cm.c:3624:27: warning: taking address of packed member of 'struct cm_sidr_rep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 3624 | cm_format_mad_hdr(&sidr_rep_msg->hdr, CM_SIDR_REP_ATTR_ID, | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/resource_ext.h:17, from /kisskb/src/include/linux/acpi.h:26, from /kisskb/src/drivers/input/touchscreen/atmel_mxt_ts.c:18: /kisskb/src/drivers/input/touchscreen/atmel_mxt_ts.c: In function 'mxt_parse_object_table': /kisskb/src/drivers/input/touchscreen/atmel_mxt_ts.c:1644:30: warning: taking address of packed member of 'struct mxt_object' may result in an unaligned pointer value [-Waddress-of-packed-member] 1644 | le16_to_cpus(&object->start_address); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/input/touchscreen/atmel_mxt_ts.c:1644:17: note: in expansion of macro 'le16_to_cpus' 1644 | le16_to_cpus(&object->start_address); | ^~~~~~~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_sk_mcast_rcv' at /kisskb/src/net/tipc/socket.c:1177:5: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_mcast_rcv': /kisskb/src/net/tipc/socket.c:1122:29: note: object 'tmpq' of size 96 1122 | struct sk_buff_head tmpq; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_sk_mcast_rcv' at /kisskb/src/net/tipc/socket.c:1177:5: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/socket.c: In function 'tipc_sk_mcast_rcv': /kisskb/src/net/tipc/socket.c:1122:29: note: object 'tmpq' of size 96 1122 | struct sk_buff_head tmpq; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/poll.h:7, from /kisskb/src/drivers/input/evdev.c:18: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'evdev_do_ioctl' at /kisskb/src/drivers/input/evdev.c:1264:8: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'abs' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'evdev_do_ioctl': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/evdev.c:1070:30: note: 'abs' declared here 1070 | struct input_absinfo abs; | ^~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/tipc/core.h:52, from /kisskb/src/net/tipc/topsrv.h:40, from /kisskb/src/net/tipc/subscr.h:40, from /kisskb/src/net/tipc/topsrv.c:37: In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_topsrv_kern_evt' at /kisskb/src/net/tipc/topsrv.c:611:2: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/tipc/topsrv.c: In function 'tipc_topsrv_kern_evt': /kisskb/src/net/tipc/topsrv.c:601:29: note: object 'evtq' of size 96 601 | struct sk_buff_head evtq; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'tipc_topsrv_kern_evt' at /kisskb/src/net/tipc/topsrv.c:611:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/topsrv.c: In function 'tipc_topsrv_kern_evt': /kisskb/src/net/tipc/topsrv.c:601:29: note: object 'evtq' of size 96 601 | struct sk_buff_head evtq; | ^~~~ /kisskb/src/drivers/md/bcache/super.c: In function 'bch_cache_release': /kisskb/src/drivers/md/bcache/super.c:2040:38: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bio_vec[0]' [-Wzero-length-bounds] 2040 | if (ca->sb_bio.bi_inline_vecs[0].bv_page) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/include/linux/bio.h:27, from /kisskb/src/drivers/md/bcache/bcache.h:182, from /kisskb/src/drivers/md/bcache/super.c:10: /kisskb/src/include/linux/blk_types.h:209:33: note: while referencing 'bi_inline_vecs' 209 | struct bio_vec bi_inline_vecs[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/include/net/busy_poll.h:27, from /kisskb/src/net/sctp/stream_interleave.c:33: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_intl_reap_ordered' at /kisskb/src/net/sctp/stream_interleave.c:1028:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/net/sctp/stream_interleave.c:1005:29: note: object 'temp' of size 96 1005 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_intl_reap_ordered' at /kisskb/src/net/sctp/stream_interleave.c:1028:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/net/sctp/stream_interleave.c:1005:29: note: object 'temp' of size 96 1005 | struct sk_buff_head temp; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_intl_reap_ordered' at /kisskb/src/net/sctp/stream_interleave.c:1039:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/net/sctp/stream_interleave.c:1005:29: note: object 'temp' of size 96 1005 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_intl_reap_ordered' at /kisskb/src/net/sctp/stream_interleave.c:1039:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/net/sctp/stream_interleave.c:1005:29: note: object 'temp' of size 96 1005 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpevent_idata' at /kisskb/src/net/sctp/stream_interleave.c:849:4: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_ulpevent_idata': /kisskb/src/net/sctp/stream_interleave.c:832:29: note: object 'temp' of size 96 832 | struct sk_buff_head temp; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'sctp_ulpevent_idata' at /kisskb/src/net/sctp/stream_interleave.c:849:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_ulpevent_idata': /kisskb/src/net/sctp/stream_interleave.c:832:29: note: object 'temp' of size 96 832 | struct sk_buff_head temp; | ^~~~ /kisskb/src/drivers/input/touchscreen/ektf2127.c: In function 'ektf2127_report_event': /kisskb/src/drivers/input/touchscreen/ektf2127.c:88:9: warning: 'touches' may be used uninitialized [-Wmaybe-uninitialized] 88 | input_mt_assign_slots(ts->input, slots, touches, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | touch_count, 0); | ~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/touchscreen/ektf2127.c:24: /kisskb/src/include/linux/input/mt.h:121:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 121 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/touchscreen/ektf2127.c:75:29: note: 'touches' declared here 75 | struct input_mt_pos touches[EKTF2127_MAX_TOUCHES]; | ^~~~~~~ /kisskb/src/drivers/md/persistent-data/dm-space-map-common.c: In function 'sm_ll_mutate': /kisskb/src/drivers/md/persistent-data/dm-space-map-common.c:458:30: warning: taking address of packed member of 'struct disk_index_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 458 | le32_add_cpu(&ie_disk.nr_free, -1); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/md/persistent-data/dm-space-map-common.c:465:30: warning: taking address of packed member of 'struct disk_index_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | le32_add_cpu(&ie_disk.nr_free, 1); | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/net/sunrpc/cache.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_flush.constprop' at /kisskb/src/net/sunrpc/cache.c:1487:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tbuf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_flush.constprop': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sunrpc/cache.c:1481:14: note: 'tbuf' declared here 1481 | char tbuf[20]; | ^~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c: In function 'pr_out': /kisskb/src/drivers/isdn/hardware/eicon/di.c:138:51: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 138 | &ReqOut->XBuffer.P[length], | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:164:32: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 164 | a->ram_outw(a, &ReqOut->XBuffer.length, length); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:165:31: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 165 | a->ram_out(a, &ReqOut->ReqId, this->Id); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:166:31: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 166 | a->ram_out(a, &ReqOut->ReqCh, this->ReqCh); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:212:39: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 212 | a->ram_out(a, &ReqOut->Req, this->Req); | ^~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:214:65: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 214 | assign_queue(a, this->No, a->ram_inw(a, &ReqOut->Reference)); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:175:47: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 175 | a->ram_out(a, &ReqOut->Req, this->MInd); | ^~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:182:47: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 182 | a->ram_out(a, &ReqOut->Req, this->Req); | ^~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:216:64: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 216 | a->ram_outw(a, &PR_RAM->NextReq, a->ram_inw(a, &ReqOut->next)); | ^~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c: In function 'pr_dpc': /kisskb/src/drivers/isdn/hardware/eicon/di.c:271:48: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] 271 | if ((Rc = a->ram_in(a, &RcIn->Rc)) != 0) { | ^~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:277:50: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] 277 | &RcIn->Reserved2[0], | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:285:54: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] 285 | a->ram_in(a, &RcIn->RcId), | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:286:54: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] 286 | a->ram_in(a, &RcIn->RcCh), | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:287:55: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] 287 | a->ram_inw(a, &RcIn->Reference), | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:293:63: warning: array subscript 0 is outside array bounds of 'RC[0]' [-Warray-bounds] 293 | RcIn = (RC *)&PR_RAM->B[a->ram_inw(a, &RcIn->next)]; | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:312:60: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 312 | if (RNRId && RNRId == a->ram_in(a, &IndIn->IndId)) { | ^~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:313:47: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 313 | a->ram_out(a, &IndIn->Ind, 0); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:314:47: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 314 | a->ram_out(a, &IndIn->RNR, true); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:317:52: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 317 | Ind = a->ram_in(a, &IndIn->Ind); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:325:67: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 325 | a->ram_in(a, &IndIn->IndId), | ^~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:326:67: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 326 | a->ram_in(a, &IndIn->IndCh), | ^~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:323:45: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 323 | c = isdn_ind(a, | ^~~~~~~~~~~ 324 | Ind, | ~~~~ 325 | a->ram_in(a, &IndIn->IndId), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | a->ram_in(a, &IndIn->IndCh), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 327 | &IndIn->RBuffer, | ~~~~~~~~~~~~~~~~ 328 | a->ram_in(a, &IndIn->MInd), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | a->ram_inw(a, &IndIn->MLength)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:328:67: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 328 | a->ram_in(a, &IndIn->MInd), | ^~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:329:68: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 329 | a->ram_inw(a, &IndIn->MLength)); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:333:70: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 333 | RNRId = a->ram_in(a, &IndIn->IndId); | ^~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:334:63: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 334 | a->ram_out(a, &IndIn->RNR, true); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/di.c:339:65: warning: array subscript 0 is outside array bounds of 'IND[0]' [-Warray-bounds] 339 | IndIn = (IND *)&PR_RAM->B[a->ram_inw(a, &IndIn->next)]; | ^~~~~~~~~~~~ In function 'hideep_nvm_unlock', inlined from 'hideep_program_nvm' at /kisskb/src/drivers/input/touchscreen/hideep.c:468:2, inlined from 'hideep_flash_firmware' at /kisskb/src/drivers/input/touchscreen/hideep.c:608:11: /kisskb/src/drivers/input/touchscreen/hideep.c:376:21: warning: 'unmask_code' may be used uninitialized [-Wmaybe-uninitialized] 376 | unmask_code &= ~HIDEEP_PROT_MODE; | ^~ /kisskb/src/drivers/input/touchscreen/hideep.c: In function 'hideep_flash_firmware': /kisskb/src/drivers/input/touchscreen/hideep.c:369:13: note: 'unmask_code' was declared here 369 | u32 unmask_code; | ^~~~~~~~~~~ /kisskb/src/net/netfilter/nf_tables_core.c: In function 'nft_do_chain': /kisskb/src/net/netfilter/nf_tables_core.c:153:17: warning: 'regs' may be used uninitialized [-Wmaybe-uninitialized] 153 | nft_trace_init(&info, pkt, ®s.verdict, basechain); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/net/netfilter/nf_tables_core.h:5, from /kisskb/src/net/netfilter/nf_tables_core.c:22: /kisskb/src/include/net/netfilter/nf_tables.h:1167:6: note: by argument 3 of type 'const struct nft_verdict *' to 'nft_trace_init' declared here 1167 | void nft_trace_init(struct nft_traceinfo *info, const struct nft_pktinfo *pkt, | ^~~~~~~~~~~~~~ /kisskb/src/net/netfilter/nf_tables_core.c:145:25: note: 'regs' declared here 145 | struct nft_regs regs; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/net/sunrpc/debugfs.c:8: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'fault_disconnect_write' at /kisskb/src/net/sunrpc/debugfs.c:295:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buffer' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'fault_disconnect_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sunrpc/debugfs.c:291:14: note: 'buffer' declared here 291 | char buffer[16]; | ^~~~~~ /kisskb/src/net/netfilter/nf_tables_api.c: In function 'nf_tables_delset': /kisskb/src/net/netfilter/nf_tables_api.c:3618:50: warning: 'ctx.table' may be used uninitialized [-Wmaybe-uninitialized] 3618 | set = nft_set_lookup_byhandle(ctx.table, attr, genmask); | ~~~^~~~~~ /kisskb/src/net/netfilter/nf_tables_api.c:3603:24: note: 'ctx' declared here 3603 | struct nft_ctx ctx; | ^~~ /kisskb/src/net/wireless/radiotap.c: In function 'ieee80211_radiotap_iterator_init': /kisskb/src/net/wireless/radiotap.c:119:34: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 119 | iterator->_next_bitmap = &radiotap_header->it_present; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/memstick.h:15, from /kisskb/src/drivers/memstick/core/memstick.c:15: In function 'memcpy', inlined from 'memstick_init_req' at /kisskb/src/drivers/memstick/core/memstick.c:309:3, inlined from 'h_memstick_read_dev_id' at /kisskb/src/drivers/memstick/core/memstick.c:333:3: /kisskb/src/include/linux/string.h:352:16: warning: 'id_reg' may be used uninitialized [-Wmaybe-uninitialized] 352 | return __builtin_memcpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/memstick/core/memstick.c: In function 'h_memstick_read_dev_id': /kisskb/src/drivers/memstick/core/memstick.c:330:31: note: 'id_reg' declared here 330 | struct ms_id_register id_reg; | ^~~~~~ /kisskb/src/net/netfilter/nf_tables_api.c: In function 'nf_tables_newsetelem': /kisskb/src/net/netfilter/nf_tables_api.c:4511:45: warning: 'ctx.table' may be used uninitialized [-Wmaybe-uninitialized] 4511 | set = nft_set_lookup_global(net, ctx.table, nla[NFTA_SET_ELEM_LIST_SET], | ~~~^~~~~~ /kisskb/src/net/netfilter/nf_tables_api.c:4500:24: note: 'ctx' declared here 4500 | struct nft_ctx ctx; | ^~~ /kisskb/src/net/netfilter/nf_tables_api.c: In function 'nf_tables_getsetelem': /kisskb/src/net/netfilter/nf_tables_api.c:4135:33: warning: 'ctx.table' may be used uninitialized [-Wmaybe-uninitialized] 4135 | set = nft_set_lookup(ctx.table, nla[NFTA_SET_ELEM_LIST_SET], genmask); | ~~~^~~~~~ /kisskb/src/net/netfilter/nf_tables_api.c:4127:24: note: 'ctx' declared here 4127 | struct nft_ctx ctx; | ^~~ /kisskb/src/drivers/md/raid5-ppl.c: In function 'ppl_log_stripe': /kisskb/src/drivers/md/raid5-ppl.c:349:22: warning: taking address of packed member of 'struct ppl_header_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 349 | le32_add_cpu(&e->data_size, data_disks << PAGE_SHIFT); | ^~~~~~~~~~~~~ /kisskb/src/drivers/md/raid5-ppl.c:353:30: warning: taking address of packed member of 'struct ppl_header_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 353 | le32_add_cpu(&e->pp_size, PAGE_SIZE); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/xfrm/xfrm_policy.c:23: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'xfrm_policy_requeue' at /kisskb/src/net/xfrm/xfrm_policy.c:713:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_policy.c: In function 'xfrm_policy_requeue': /kisskb/src/net/xfrm/xfrm_policy.c:705:29: note: object 'list' of size 96 705 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/media/v4l2-fwnode.h:25, from /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:40: In function 'v4l2_fill_pix_format', inlined from '__vpfe_get_format' at /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1452:3: /kisskb/src/include/media/v4l2-mediabus.h:116:34: warning: 'mbus_fmt' may be used uninitialized [-Wmaybe-uninitialized] 116 | pix_fmt->width = mbus_fmt->width; | ~~~~~~~~^~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c: In function '__vpfe_get_format': /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ In function 'v4l2_fill_pix_format', inlined from '__vpfe_get_format' at /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1452:3: /kisskb/src/include/media/v4l2-mediabus.h:118:34: warning: 'mbus_fmt.field' may be used uninitialized [-Wmaybe-uninitialized] 118 | pix_fmt->field = mbus_fmt->field; | ~~~~~~~~^~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c: In function '__vpfe_get_format': /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ In function 'v4l2_fill_pix_format', inlined from '__vpfe_get_format' at /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1452:3: /kisskb/src/include/media/v4l2-mediabus.h:119:39: warning: 'mbus_fmt.colorspace' may be used uninitialized [-Wmaybe-uninitialized] 119 | pix_fmt->colorspace = mbus_fmt->colorspace; | ~~~~~~~~^~~~~~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c: In function '__vpfe_get_format': /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ In function 'v4l2_fill_pix_format', inlined from '__vpfe_get_format' at /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1452:3: /kisskb/src/include/media/v4l2-mediabus.h:120:38: warning: 'mbus_fmt.ycbcr_enc' may be used uninitialized [-Wmaybe-uninitialized] 120 | pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; | ~~~~~~~~^~~~~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c: In function '__vpfe_get_format': /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ In function 'v4l2_fill_pix_format', inlined from '__vpfe_get_format' at /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1452:3: /kisskb/src/include/media/v4l2-mediabus.h:121:41: warning: 'mbus_fmt.quantization' may be used uninitialized [-Wmaybe-uninitialized] 121 | pix_fmt->quantization = mbus_fmt->quantization; | ~~~~~~~~^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c: In function '__vpfe_get_format': /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ In function 'v4l2_fill_pix_format', inlined from '__vpfe_get_format' at /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1452:3: /kisskb/src/include/media/v4l2-mediabus.h:122:38: warning: 'mbus_fmt.xfer_func' may be used uninitialized [-Wmaybe-uninitialized] 122 | pix_fmt->xfer_func = mbus_fmt->xfer_func; | ~~~~~~~~^~~~~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c: In function '__vpfe_get_format': /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1453:17: warning: 'mbus_fmt' may be used uninitialized [-Wmaybe-uninitialized] 1453 | mbus_to_pix(vpfe, &mbus_fmt, &format->fmt.pix, bpp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:225:1: note: by argument 2 of type 'const struct v4l2_mbus_framefmt *' to 'mbus_to_pix' declared here 225 | mbus_to_pix(struct vpfe_device *vpfe, | ^~~~~~~~~~~ /kisskb/src/drivers/media/platform/am437x/am437x-vpfe.c:1426:35: note: 'mbus_fmt' declared here 1426 | struct v4l2_mbus_framefmt mbus_fmt; | ^~~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'xfrm_policy_queue_process' at /kisskb/src/net/xfrm/xfrm_policy.c:1823:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_policy.c: In function 'xfrm_policy_queue_process': /kisskb/src/net/xfrm/xfrm_policy.c:1787:29: note: object 'list' of size 96 1787 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/net/socket.c:61: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from '__do_sys_socketcall' at /kisskb/src/net/socket.c:2521:6, inlined from '__se_sys_socketcall' at /kisskb/src/net/socket.c:2505:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function '__se_sys_socketcall': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/socket.c:2507:23: note: 'a' declared here 2507 | unsigned long a[AUDITSC_ARGS]; | ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/include/linux/io.h:25, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/infiniband/hw/bnxt_re/qplib_sp.c:41: /kisskb/src/drivers/infiniband/hw/bnxt_re/qplib_sp.c: In function 'bnxt_qplib_del_sgid': /kisskb/src/drivers/infiniband/hw/bnxt_re/qplib_sp.c:229:29: warning: array subscript 0 is outside array bounds of 'struct bnxt_qplib_sgid_tbl[230584300921369395]' [-Warray-bounds] 229 | dev_err(&res->pdev->dev, "SGID table not allocated\n"); | ^~ /kisskb/src/include/linux/device.h:1453:18: note: in definition of macro 'dev_err' 1453 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~ /kisskb/src/drivers/infiniband/hw/bnxt_re/qplib_sp.c: In function 'bnxt_qplib_add_sgid': /kisskb/src/drivers/infiniband/hw/bnxt_re/qplib_sp.c:288:29: warning: array subscript 0 is outside array bounds of 'struct bnxt_qplib_sgid_tbl[230584300921369395]' [-Warray-bounds] 288 | dev_err(&res->pdev->dev, "SGID table not allocated\n"); | ^~ /kisskb/src/include/linux/device.h:1453:18: note: in definition of macro 'dev_err' 1453 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'diva_get_dma_descriptor': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14902:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14902 | pReq->xdi_dma_descriptor_operation.Req = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14903:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14903 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14905:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14905 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14906:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14906 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = -1; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14907:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14907 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14908:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14908 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14913:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14913 | if (!pReq->xdi_dma_descriptor_operation.info.operation && | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14914:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14914 | (pReq->xdi_dma_descriptor_operation.info.descriptor_number >= 0) && | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14915:17: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14915 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic) { | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:14895:16: note: object 'e' of size 80 14895 | ENTITY e; | ^ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/xfrm/xfrm_input.c:16: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'xfrm_trans_reinject' at /kisskb/src/net/xfrm/xfrm_input.c:515:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_input.c: In function 'xfrm_trans_reinject': /kisskb/src/net/xfrm/xfrm_input.c:511:29: note: object 'queue' of size 96 511 | struct sk_buff_head queue; | ^~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'xfrm_trans_reinject' at /kisskb/src/net/xfrm/xfrm_input.c:515:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/net/xfrm/xfrm_input.c: In function 'xfrm_trans_reinject': /kisskb/src/net/xfrm/xfrm_input.c:511:29: note: object 'queue' of size 96 511 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/net/compat.c:15: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from '__do_compat_sys_socketcall' at /kisskb/src/net/compat.c:855:6, inlined from '__se_compat_sys_socketcall' at /kisskb/src/net/compat.c:842:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function '__se_compat_sys_socketcall': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/compat.c:844:13: note: 'a' declared here 844 | u32 a[AUDITSC_ARGS]; | ^ /kisskb/src/fs/xfs/xfs_ioctl.c: In function 'xfs_handle_to_dentry': /kisskb/src/fs/xfs/xfs_ioctl.c:174:25: warning: converting a packed 'struct xfs_fid64' pointer (alignment 1) to a 'struct fid' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 174 | xfs_handle_acceptable, NULL); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/xfs/xfs_ioctl.c:25: /kisskb/src/fs/xfs/xfs_export.h:50:8: note: defined here 50 | struct xfs_fid64 { | ^~~~~~~~~ In file included from /kisskb/src/fs/xfs/xfs_super.h:9, from /kisskb/src/fs/xfs/xfs_linux.h:76, from /kisskb/src/fs/xfs/xfs.h:22, from /kisskb/src/fs/xfs/xfs_ioctl.c:6: /kisskb/src/include/linux/exportfs.h:113:8: note: defined here 113 | struct fid { | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'mixer_notify_update': /kisskb/src/drivers/isdn/hardware/eicon/message.c:11162:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11162 | ((CAPI_MSG *) msg)->header.length = 18; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11163:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11163 | ((CAPI_MSG *) msg)->header.appl_id = notify_plci->appl->Id; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11164:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11164 | ((CAPI_MSG *) msg)->header.command = _FACILITY_R; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11165:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11165 | ((CAPI_MSG *) msg)->header.number = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11166:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11166 | ((CAPI_MSG *) msg)->header.controller = notify_plci->adapter->Id; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11167:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11167 | ((CAPI_MSG *) msg)->header.plci = notify_plci->Id; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11168:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11168 | ((CAPI_MSG *) msg)->header.ncci = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11169:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11169 | ((CAPI_MSG *) msg)->info.facility_req.Selector = SELECTOR_LINE_INTERCONNECT; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11170:78: warning: array subscript 0 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 11170 | ((CAPI_MSG *) msg)->info.facility_req.structs[0] = 3; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/isdn/hardware/eicon/message.c:31: /kisskb/src/drivers/isdn/hardware/eicon/capi20.h:229:14: note: while referencing 'structs' 229 | byte structs[0]; /* Facility parameters */ | ^~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11170:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11170 | ((CAPI_MSG *) msg)->info.facility_req.structs[0] = 3; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11171:78: warning: array subscript 1 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 11171 | ((CAPI_MSG *) msg)->info.facility_req.structs[1] = LI_REQ_SILENT_UPDATE & 0xff; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/capi20.h:229:14: note: while referencing 'structs' 229 | byte structs[0]; /* Facility parameters */ | ^~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11171:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11171 | ((CAPI_MSG *) msg)->info.facility_req.structs[1] = LI_REQ_SILENT_UPDATE & 0xff; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11172:78: warning: array subscript 2 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 11172 | ((CAPI_MSG *) msg)->info.facility_req.structs[2] = LI_REQ_SILENT_UPDATE >> 8; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/capi20.h:229:14: note: while referencing 'structs' 229 | byte structs[0]; /* Facility parameters */ | ^~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11172:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11172 | ((CAPI_MSG *) msg)->info.facility_req.structs[2] = LI_REQ_SILENT_UPDATE >> 8; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11173:78: warning: array subscript 3 is outside array bounds of 'u8[0]' {aka 'unsigned char[]'} [-Warray-bounds] 11173 | ((CAPI_MSG *) msg)->info.facility_req.structs[3] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/capi20.h:229:14: note: while referencing 'structs' 229 | byte structs[0]; /* Facility parameters */ | ^~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11173:51: warning: array subscript 'CAPI_MSG {aka struct _API_MSG}[0]' is partly outside array bounds of 'u8[18]' {aka 'unsigned char[18]'} [-Warray-bounds] 11173 | ((CAPI_MSG *) msg)->info.facility_req.structs[3] = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/message.c:11125:14: note: object 'msg' of size 18 11125 | byte msg[sizeof(CAPI_MSG_HEADER) + 6]; | ^~~ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3769:6: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14936:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14936 | pReq->xdi_dma_descriptor_operation.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3769:6: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14937:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14937 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3769:6: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14939:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14939 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3769:6: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14940:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14940 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = nr; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3769:6: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14941:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14941 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3769:6: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14942:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14942 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3823:9: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14936:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14936 | pReq->xdi_dma_descriptor_operation.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3823:9: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14937:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14937 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3823:9: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14939:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14939 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3823:9: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14940:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14940 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = nr; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3823:9: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14941:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14941 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'callback' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:3823:9: /kisskb/src/drivers/isdn/hardware/eicon/message.c:14942:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 14942 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'callback': /kisskb/src/drivers/isdn/hardware/eicon/message.c:14929:16: note: object 'e' of size 80 14929 | ENTITY e; | ^ In function 'diva_get_extended_adapter_features', inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9138:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9138 | preq->xdi_extended_features.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_get_extended_adapter_features', inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9139:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9139 | preq->xdi_extended_features.Rc = IDI_SYNC_REQ_XDI_GET_EXTENDED_FEATURES; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_get_extended_adapter_features', inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9140:73: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9140 | preq->xdi_extended_features.info.buffer_length_in_bytes = sizeof(features); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_get_extended_adapter_features', inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9141:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9141 | preq->xdi_extended_features.info.features = &features[0]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_ask_for_xdi_sdram_bar', inlined from 'diva_get_extended_adapter_features' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9167:2, inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9112:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9112 | preq->xdi_sdram_bar.info.bar = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_ask_for_xdi_sdram_bar', inlined from 'diva_get_extended_adapter_features' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9167:2, inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9113:49: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9113 | preq->xdi_sdram_bar.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_ask_for_xdi_sdram_bar', inlined from 'diva_get_extended_adapter_features' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9167:2, inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9114:50: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9114 | preq->xdi_sdram_bar.Rc = IDI_SYNC_REQ_XDI_GET_ADAPTER_SDRAM_BAR; /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_ask_for_xdi_sdram_bar', inlined from 'diva_get_extended_adapter_features' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9167:2, inlined from 'AutomaticLaw' at /kisskb/src/drivers/isdn/hardware/eicon/message.c:9184:3: /kisskb/src/drivers/isdn/hardware/eicon/message.c:9118:56: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 9118 | a->sdram_bar = preq->xdi_sdram_bar.info.bar; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'AutomaticLaw': /kisskb/src/drivers/isdn/hardware/eicon/message.c:9128:14: note: object 'buffer' of size 80 9128 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/net/xfrm/xfrm_device.c:17: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'xfrm_dev_backlog' at /kisskb/src/net/xfrm/xfrm_device.c:278:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_device.c: In function 'xfrm_dev_backlog': /kisskb/src/net/xfrm/xfrm_device.c:269:29: note: object 'list' of size 96 269 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/drivers/isdn/hardware/eicon/divamnt.c:13: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'maint_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/divamnt.c:238:1: note: in expansion of macro 'module_init' 238 | module_init(maint_init); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/divamnt.c:193:19: note: 'init_module' target declared here 193 | static int __init maint_init(void) | ^~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'maint_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/divamnt.c:239:1: note: in expansion of macro 'module_exit' 239 | module_exit(maint_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/divamnt.c:230:20: note: 'cleanup_module' target declared here 230 | static void __exit maint_exit(void) | ^~~~~~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_get_dma_descriptor': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2091:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2091 | pReq->xdi_dma_descriptor_operation.Req = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2092:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2092 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2094:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2094 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2095:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2095 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = -1; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2096:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2096 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2097:13: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2097 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2101:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2101 | if (!pReq->xdi_dma_descriptor_operation.info.operation && | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2102:18: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2102 | (pReq->xdi_dma_descriptor_operation.info.descriptor_number >= 0) && | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2103:17: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2103 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic) { | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2084:16: note: object 'e' of size 80 2084 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_remove_xdi_adapter' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1056:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2119:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2119 | pReq->xdi_dma_descriptor_operation.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_remove_xdi_adapter': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_remove_xdi_adapter' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1056:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2120:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2120 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_remove_xdi_adapter': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_remove_xdi_adapter' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1056:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2122:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2122 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_remove_xdi_adapter': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_remove_xdi_adapter' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1056:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2123:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2123 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = nr; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_remove_xdi_adapter': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_remove_xdi_adapter' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1056:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2124:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2124 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_remove_xdi_adapter': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_remove_xdi_adapter' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1056:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2125:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2125 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_remove_xdi_adapter': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'SuperTraceASSIGN': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1178:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 1178 | preq->xdi_extended_features.Req = 0; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1171:22: note: object 'buffer' of size 80 1171 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1179:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 1179 | preq->xdi_extended_features.Rc = IDI_SYNC_REQ_XDI_GET_EXTENDED_FEATURES; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1171:22: note: object 'buffer' of size 80 1171 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1180:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 1180 | preq->xdi_extended_features.info.buffer_length_in_bytes = sizeof(features); | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1171:22: note: object 'buffer' of size 80 1171 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1181:21: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'char[80]' [-Warray-bounds] 1181 | preq->xdi_extended_features.info.features = &features[0]; | ^~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1171:22: note: object 'buffer' of size 80 1171 | char buffer[((sizeof(preq->xdi_extended_features) + 4) > sizeof(ENTITY)) ? (sizeof(preq->xdi_extended_features) + 4) : sizeof(ENTITY)]; | ^~~~~~ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1949:6: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2119:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2119 | pReq->xdi_dma_descriptor_operation.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1949:6: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2120:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2120 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1949:6: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2122:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2122 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1949:6: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2123:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2123 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = nr; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1949:6: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2124:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2124 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1949:6: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2125:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2125 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1963:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2119:48: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2119 | pReq->xdi_dma_descriptor_operation.Req = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1963:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2120:47: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2120 | pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1963:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2122:59: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2122 | pReq->xdi_dma_descriptor_operation.info.operation = IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1963:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2123:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2123 | pReq->xdi_dma_descriptor_operation.info.descriptor_number = nr; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1963:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2124:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2124 | pReq->xdi_dma_descriptor_operation.info.descriptor_address = NULL; /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In function 'diva_free_dma_descriptor', inlined from 'diva_mnt_shutdown_xdi_adapters' at /kisskb/src/drivers/isdn/hardware/eicon/debug.c:1963:5: /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2125:68: warning: array subscript 'IDI_SYNC_REQ[0]' is partly outside array bounds of 'ENTITY[1]' {aka 'struct entity_s[1]'} [-Warray-bounds] 2125 | pReq->xdi_dma_descriptor_operation.info.descriptor_magic = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/isdn/hardware/eicon/debug.c: In function 'diva_mnt_shutdown_xdi_adapters': /kisskb/src/drivers/isdn/hardware/eicon/debug.c:2112:16: note: object 'e' of size 80 2112 | ENTITY e; | ^ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/isdn/hardware/eicon/platform.h:21, from /kisskb/src/drivers/isdn/hardware/eicon/maintidi.c:25: In function 'strlen', inlined from 'diva_strace_read_asz' at /kisskb/src/drivers/isdn/hardware/eicon/maintidi.c:1982:12: /kisskb/src/include/linux/string.h:274:24: warning: '__builtin_strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 274 | return __builtin_strlen(p); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/isdn/hardware/eicon/maintidi.c:28: /kisskb/src/drivers/isdn/hardware/eicon/maintidi.h: In function 'diva_strace_read_asz': /kisskb/src/drivers/isdn/hardware/eicon/maintidi.h:168:18: note: at offset 1 into source object 'path_length' of size 1 168 | byte path_length; | ^~~~~~~~~~~ /kisskb/src/drivers/media/platform/cros-ec-cec/cros-ec-cec.c: In function 'cros_ec_cec_set_log_addr': /kisskb/src/drivers/media/platform/cros-ec-cec/cros-ec-cec.c:107:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 107 | ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); | ^~~~~~~~ /kisskb/src/drivers/media/platform/cros-ec-cec/cros-ec-cec.c: In function 'cros_ec_cec_transmit': /kisskb/src/drivers/media/platform/cros-ec-cec/cros-ec-cec.c:132:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 132 | ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); | ^~~~~~~~ /kisskb/src/drivers/media/platform/cros-ec-cec/cros-ec-cec.c: In function 'cros_ec_cec_adap_enable': /kisskb/src/drivers/media/platform/cros-ec-cec/cros-ec-cec.c:157:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 157 | ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); | ^~~~~~~~ /kisskb/src/drivers/media/platform/exynos-gsc/gsc-core.c: In function 'gsc_try_fmt_mplane': /kisskb/src/drivers/media/platform/exynos-gsc/gsc-core.c:428:24: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 428 | fmt = find_fmt(&pix_mp->pixelformat, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/exynos-gsc/gsc-core.c:468:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 468 | v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/exynos-gsc/gsc-core.c:469:17: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 469 | &pix_mp->height, min_h, max_h, mod_y, 0); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/mfd/cros_ec.c: In function 'cros_ec_sleep_event': /kisskb/src/drivers/mfd/cros_ec.c:91:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 91 | return cros_ec_cmd_xfer(ec_dev, &buf.msg); | ^~~~~~~~ /kisskb/src/drivers/media/platform/exynos-gsc/gsc-m2m.c: In function 'gsc_m2m_s_fmt_mplane': /kisskb/src/drivers/media/platform/exynos-gsc/gsc-m2m.c:354:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 354 | frame->fmt = find_fmt(&pix->pixelformat, NULL, 0); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c: In function 'iser_post_recvl': /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c:1034:21: warning: taking address of packed member of 'struct iser_login_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1034 | wr.wr_cqe = &desc->cqe; | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c:1035:22: warning: taking address of packed member of 'struct iser_login_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1035 | wr.sg_list = &desc->sge; | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c: In function 'iser_post_recvm': /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c:1060:30: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1060 | wr->wr_cqe = &rx_desc->cqe; | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c:1061:31: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1061 | wr->sg_list = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib.h:39, from /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:35: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'path_rec_completion' at /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:804:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c: In function 'path_rec_completion': /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:751:29: note: object 'skqueue' of size 96 751 | struct sk_buff_head skqueue; | ^~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'path_rec_completion' at /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:804:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c: In function 'path_rec_completion': /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:751:29: note: object 'skqueue' of size 96 751 | struct sk_buff_head skqueue; | ^~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'path_rec_completion' at /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:833:5: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c: In function 'path_rec_completion': /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:751:29: note: object 'skqueue' of size 96 751 | struct sk_buff_head skqueue; | ^~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'path_rec_completion' at /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:833:5: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c: In function 'path_rec_completion': /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_main.c:751:29: note: object 'skqueue' of size 96 751 | struct sk_buff_head skqueue; | ^~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mad.c: In function 'mlx4_ib_multiplex_mad': /kisskb/src/drivers/infiniband/hw/mlx4/mad.c:1543:31: warning: taking address of packed member of 'struct mlx4_tunnel_mad' may result in an unaligned pointer value [-Waddress-of-packed-member] 1543 | (struct ib_mad *) &tunnel->mad)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mad.c:1590:59: warning: taking address of packed member of 'struct mlx4_tunnel_mad' may result in an unaligned pointer value [-Waddress-of-packed-member] 1590 | &ah_attr, wc->smac, vlan_id, &tunnel->mad); | ^~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mad.c: In function 'mlx4_ib_sqp_comp_worker': /kisskb/src/drivers/infiniband/hw/mlx4/mad.c:1917:39: warning: taking address of packed member of 'struct mlx4_mad_rcv_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] 1917 | grh = &(((struct mlx4_mad_rcv_buf *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1918 | (sqp->ring[wc.wr_id & | ~~~~~~~~~~~~~~~~~~~~~ 1919 | (MLX4_NUM_TUNNEL_BUFS - 1)].addr))->grh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/iser/iser_initiator.c: In function 'iser_alloc_rx_descriptors': /kisskb/src/drivers/infiniband/ulp/iser/iser_initiator.c:277:25: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 277 | rx_sg = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/iser/iser_initiator.c: In function 'iser_task_rsp': /kisskb/src/drivers/infiniband/ulp/iser/iser_initiator.c:669:15: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 669 | hdr = &desc->iscsi_header; | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:13: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hysdn_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:213:1: note: in expansion of macro 'module_exit' 213 | module_exit(hysdn_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:198:1: note: 'cleanup_module' target declared here 198 | hysdn_exit(void) | ^~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'hysdn_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:212:1: note: in expansion of macro 'module_init' 212 | module_init(hysdn_init); | ^~~~~~~~~~~ /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:156:1: note: 'init_module' target declared here 156 | hysdn_init(void) | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_alloc_rx_descriptors': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:200:25: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 200 | rx_sg = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_post_recvm': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:820:33: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 820 | rx_wr->wr_cqe = &rx_desc->rx_cqe; | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:821:34: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 821 | rx_wr->sg_list = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_post_recv': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:851:24: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 851 | rx_wr.wr_cqe = &rx_desc->rx_cqe; | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:852:25: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 852 | rx_wr.sg_list = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_login_post_send': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:876:27: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 876 | send_wr.wr_cqe = &tx_desc->tx_cqe; | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:877:27: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 877 | send_wr.sg_list = tx_desc->tx_sg; | ^~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_init_send_wr': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:953:27: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 953 | send_wr->wr_cqe = &tx_desc->tx_cqe; | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:962:28: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 962 | send_wr->sg_list = &tx_desc->tx_sg[0]; | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_login_post_recv': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:985:24: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 985 | rx_wr.wr_cqe = &isert_conn->login_req_buf->rx_cqe; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_login_tx': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1014:41: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1014 | struct ib_sge *tx_dsg = &tx_desc->tx_sg[1]; | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_rx_login_req': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1074:51: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1074 | (struct iscsi_login_req *)&rx_desc->iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_rx_opcode': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1311:33: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1311 | struct iscsi_hdr *hdr = &rx_desc->iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_recv_done': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1409:33: warning: taking address of packed member of 'struct iser_rx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1409 | struct iscsi_hdr *hdr = &rx_desc->iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_cmd': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1562:48: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1562 | hdr = (struct iscsi_text_rsp *)&isert_cmd->tx_desc.iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_post_response': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1840:44: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1840 | ret = ib_post_send(isert_conn->qp, &isert_cmd->tx_desc.send_wr, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_response': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1853:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1853 | struct ib_send_wr *send_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1855:33: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1855 | &isert_cmd->tx_desc.iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1868:41: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1868 | struct ib_sge *tx_dsg = &isert_cmd->tx_desc.tx_sg[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_nopin': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1941:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1941 | struct ib_send_wr *send_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1945:32: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1945 | &isert_cmd->tx_desc.iscsi_header, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_logout_rsp': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1960:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1960 | struct ib_send_wr *send_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1964:33: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1964 | &isert_cmd->tx_desc.iscsi_header); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_tm_rsp': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1978:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1978 | struct ib_send_wr *send_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1982:35: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1982 | &isert_cmd->tx_desc.iscsi_header); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_reject': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1996:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1996 | struct ib_send_wr *send_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:1999:33: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1999 | struct ib_sge *tx_dsg = &isert_cmd->tx_desc.tx_sg[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2001:40: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2001 | (struct iscsi_reject *)&isert_cmd->tx_desc.iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_text_rsp': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2031:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2031 | struct ib_send_wr *send_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2033:42: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2033 | (struct iscsi_text_rsp *)&isert_cmd->tx_desc.iscsi_header; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2048:41: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2048 | struct ib_sge *tx_dsg = &isert_cmd->tx_desc.tx_sg[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_put_datain': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2197:23: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2197 | cqe = &isert_cmd->tx_desc.tx_cqe; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2205:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2205 | &isert_cmd->tx_desc.iscsi_header); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2208:36: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2208 | &isert_cmd->tx_desc.send_wr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2216:28: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2216 | chain_wr = &isert_cmd->tx_desc.send_wr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_get_dataout': /kisskb/src/drivers/infiniband/ulp/isert/ib_isert.c:2236:38: warning: taking address of packed member of 'struct iser_tx_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2236 | &isert_cmd->tx_desc.tx_cqe, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/i40iw/i40iw_utils.c: In function 'i40iw_allocate_dma_mem': /kisskb/src/drivers/infiniband/hw/i40iw/i40iw_utils.c:749:39: warning: taking address of packed member of 'struct i40iw_dma_mem' may result in an unaligned pointer value [-Waddress-of-packed-member] 749 | (dma_addr_t *)&mem->pa, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c: In function 'mtk_jpeg_try_fmt_mplane': /kisskb/src/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:229:44: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 229 | mtk_jpeg_bound_align_image(&pix_mp->width, MTK_JPEG_MIN_WIDTH, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:231:44: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | &pix_mp->height, MTK_JPEG_MIN_HEIGHT, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:244:36: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 244 | mtk_jpeg_bound_align_image(&pix_mp->width, MTK_JPEG_MIN_WIDTH, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:246:36: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 246 | &pix_mp->height, MTK_JPEG_MIN_HEIGHT, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/pci/intel/ipu3/ipu3-cio2.c: In function 'cio2_v4l2_try_fmt': /kisskb/src/drivers/media/pci/intel/ipu3/ipu3-cio2.c:1101:32: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 1101 | fmt = cio2_find_format(&mpix->pixelformat, NULL); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/pci/intel/ipu3/ipu3-cio2.c: In function 'cio2_video_link_validate': /kisskb/src/drivers/media/pci/intel/ipu3/ipu3-cio2.c:1360:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 1360 | if (!cio2_find_format(&q->format.pixelformat, &source_fmt.format.code)) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/srpt/ib_srpt.c: In function 'srpt_get_desc_tbl': /kisskb/src/drivers/infiniband/ulp/srpt/ib_srpt.c:1050:53: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] 1050 | return srpt_alloc_rw_ctxs(ioctx, idb->desc_list, nbufs, | ~~~^~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c: In function 'send_join_to_wire': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:268:54: warning: converting a packed 'struct ib_sa_mad' pointer (alignment 1) to a 'struct ib_mad' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 268 | ret = send_mad_to_wire(group->demux, (struct ib_mad *)&mad); | ^~~~~~ In file included from /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:33: /kisskb/src/include/rdma/ib_mad.h:225:8: note: defined here 225 | struct ib_sa_mad { | ^~~~~~~~~ /kisskb/src/include/rdma/ib_mad.h:203:8: note: defined here 203 | struct ib_mad { | ^~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c: In function 'send_leave_to_wire': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:304:54: warning: converting a packed 'struct ib_sa_mad' pointer (alignment 1) to a 'struct ib_mad' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 304 | ret = send_mad_to_wire(group->demux, (struct ib_mad *)&mad); | ^~~~~~ /kisskb/src/include/rdma/ib_mad.h:225:8: note: defined here 225 | struct ib_sa_mad { | ^~~~~~~~~ /kisskb/src/include/rdma/ib_mad.h:203:8: note: defined here 203 | struct ib_mad { | ^~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c: In function 'send_reply_to_slave': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:348:62: warning: converting a packed 'struct ib_sa_mad' pointer (alignment 1) to a 'struct ib_mad' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 348 | ret = send_mad_to_slave(slave, group->demux, (struct ib_mad *)&mad); | ^~~~~~ /kisskb/src/include/rdma/ib_mad.h:225:8: note: defined here 225 | struct ib_sa_mad { | ^~~~~~~~~ /kisskb/src/include/rdma/ib_mad.h:203:8: note: defined here 203 | struct ib_mad { | ^~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c: In function 'mlx4_ib_mcg_demux_handler': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:894:44: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 894 | group = acquire_group(ctx, &rec->mgid, 0); | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:900:79: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 900 | group = search_relocate_mgid0_group(ctx, tid, &rec->mgid); | ^~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c: In function 'mlx4_ib_mcg_multiplex_handler': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:957:44: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 957 | group = acquire_group(ctx, &rec->mgid, may_create); | ^~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/netdevice.h:28, from /kisskb/src/net/wireless/wext-core.c:11: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ioctl_standard_iw_point' at /kisskb/src/net/wireless/wext-core.c:745:10: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'essid' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ioctl_standard_iw_point': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/net/wireless/wext-core.c:738:30: note: 'essid' declared here 738 | char essid[IW_ESSID_MAX_SIZE + 1]; | ^~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c: In function 'g94_i2c_aux_xfer': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c:160:52: warning: 'stat' may be used uninitialized [-Wmaybe-uninitialized] 160 | return ret < 0 ? ret : (stat & 0x000f0000) >> 16; | ~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c:82:19: note: 'stat' was declared here 82 | u32 ctrl, stat, timeout, retries = 0; | ^~~~ /kisskb/src/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c: In function 'mtk_mdp_try_fmt_mplane': /kisskb/src/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c:242:35: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 242 | mtk_mdp_bound_align_image(&pix_mp->width, min_w, max_w, align_w, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c:243:35: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 243 | &pix_mp->height, min_h, max_h, align_h); | ^~~~~~~~~~~~~~~ In function 'set_roce_addr', inlined from 'mlx5_ib_del_gid' at /kisskb/src/drivers/infiniband/hw/mlx5/main.c:523:9: /kisskb/src/drivers/infiniband/hw/mlx5/main.c:508:16: warning: 'mac' may be used uninitialized [-Wmaybe-uninitialized] 508 | return mlx5_core_roce_gid_set(dev->mdev, index, roce_version, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 509 | roce_l3_type, gid->raw, mac, vlan, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | vlan_id, port_num); | ~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/mlx5/port.h:36, from /kisskb/src/drivers/infiniband/hw/mlx5/main.c:52: /kisskb/src/include/linux/mlx5/driver.h: In function 'mlx5_ib_del_gid': /kisskb/src/include/linux/mlx5/driver.h:1159:5: note: by argument 6 of type 'const u8 *' {aka 'const unsigned char *'} to 'mlx5_core_roce_gid_set' declared here 1159 | int mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/mlx5/main.c:479:12: note: 'mac' declared here 479 | u8 mac[ETH_ALEN]; | ^~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c: In function 'gm200_i2c_aux_xfer': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c:160:52: warning: 'stat' may be used uninitialized [-Wmaybe-uninitialized] 160 | return ret < 0 ? ret : (stat & 0x000f0000) >> 16; | ~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c:82:19: note: 'stat' was declared here 82 | u32 ctrl, stat, timeout, retries = 0; | ^~~~ In file included from /kisskb/src/include/linux/icmpv6.h:5, from /kisskb/src/include/linux/ipv6.h:86, from /kisskb/src/include/net/ipv6.h:16, from /kisskb/src/include/rdma/ib_verbs.h:54, from /kisskb/src/include/rdma/ib_mad.h:42, from /kisskb/src/include/rdma/ib_cm.h:38, from /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c:33: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ipoib_cm_rep_handler.isra' at /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c:1035:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c: In function 'ipoib_cm_rep_handler.isra': /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c:989:29: note: object 'skqueue' of size 96 989 | struct sk_buff_head skqueue; | ^~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ipoib_cm_rep_handler.isra' at /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c:1035:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c: In function 'ipoib_cm_rep_handler.isra': /kisskb/src/drivers/infiniband/ulp/ipoib/ipoib_cm.c:989:29: note: object 'skqueue' of size 96 989 | struct sk_buff_head skqueue; | ^~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c: In function 'ocrdma_mbx_rdma_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1313:25: warning: converting a packed 'struct ocrdma_rdma_stats_req' pointer (alignment 1) to a 'struct ocrdma_mbx_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1313 | dev->stats_mem.size); | ^~~ In file included from /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma.h:56, from /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c:53: /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_sli.h:2054:8: note: defined here 2054 | struct ocrdma_rdma_stats_req { | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_sli.h:223:8: note: defined here 223 | struct ocrdma_mbx_hdr { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c: In function 'ocrdma_mbx_get_dcbx_config': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c:2911:25: warning: taking address of packed member of 'struct ocrdma_get_dcbx_cfg_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 2911 | ocrdma_init_mch(&req->hdr, OCRDMA_CMD_GET_DCBX_CONFIG, | ^~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c: In function 'ocrdma_mbx_modify_eqd': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c:3135:25: warning: taking address of packed member of 'struct ocrdma_modify_eqd_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 3135 | ocrdma_init_mch(&cmd->cmd.req, OCRDMA_CMD_MODIFY_EQ_DELAY, | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c: In function 'vidioc_try_fmt': /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:664:39: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 664 | v4l_bound_align_image(&pix_fmt_mp->width, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:667:41: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 667 | &pix_fmt_mp->height, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/pci/ivtv/ivtv-ioctl.c: In function 'ivtv_g_register': /kisskb/src/drivers/media/pci/ivtv/ivtv-ioctl.c:733:47: warning: taking address of packed member of 'struct v4l2_dbg_register' may result in an unaligned pointer value [-Waddress-of-packed-member] 733 | return ivtv_itvc(itv, true, reg->reg, ®->val); | ^~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_resource_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:107:48: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 107 | struct ocrdma_rsrc_stats *rsrc_stats = &rdma_stats->act_rsrc_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:164:22: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 164 | rsrc_stats = &rdma_stats->th_rsrc_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_rx_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:224:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 224 | struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_sysfs_rcv_pkts': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:270:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 270 | struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_sysfs_rcv_data': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:281:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 281 | struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_tx_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:292:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 292 | struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_sysfs_xmit_pkts': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:334:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 334 | struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_sysfs_xmit_data': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:349:44: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 349 | struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_wqe_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:366:46: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 366 | struct ocrdma_wqe_stats *wqe_stats = &rdma_stats->wqe_stats; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_db_errstats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:399:52: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 399 | struct ocrdma_db_err_stats *db_err_stats = &rdma_stats->db_err_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_rxqp_errstats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:421:18: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 421 | &rdma_stats->rx_qp_err_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_txqp_errstats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:447:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 447 | &rdma_stats->tx_qp_err_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_tx_dbg_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:472:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 472 | &rdma_stats->tx_dbg_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_rx_dbg_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:490:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 490 | &rdma_stats->rx_dbg_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_update_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:612:48: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 612 | struct ocrdma_rsrc_stats *rsrc_stats = &rdma_stats->act_rsrc_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:626:38: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | rsrc_stats = &rdma_stats->th_rsrc_stats; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uio.h:13, from /kisskb/src/include/linux/socket.h:8, from /kisskb/src/include/uapi/linux/in.h:24, from /kisskb/src/include/linux/in.h:23, from /kisskb/src/include/rdma/ib_addr.h:37, from /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:43: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ocrdma_dbgfs_ops_write' at /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:647:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp_str' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ocrdma_dbgfs_ops_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:638:14: note: 'tmp_str' declared here 638 | char tmp_str[32]; | ^~~~~~~ /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c: In function 'vidioc_try_fmt': /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:319:39: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 319 | v4l_bound_align_image(&pix_fmt_mp->width, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:322:41: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 322 | &pix_fmt_mp->height, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/i2c/tvp7002.c: In function 'tvp7002_g_register': /kisskb/src/drivers/media/i2c/tvp7002.c:700:18: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 700 | reg->val = val; | ~~~~~~~~~^~~~~ /kisskb/src/drivers/media/i2c/tvp7002.c:696:12: note: 'val' was declared here 696 | u8 val; | ^~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/kobject.h:19, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/isdn/hisax/st5481_usb.c:14: /kisskb/src/drivers/isdn/hisax/st5481_usb.c: In function 'usb_ctrl_complete': /kisskb/src/drivers/isdn/hisax/st5481_usb.c:151:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 151 | le16_to_cpus(&ctrl_msg->dr.wIndex); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/isdn/hisax/st5481_usb.c:151:17: note: in expansion of macro 'le16_to_cpus' 151 | le16_to_cpus(&ctrl_msg->dr.wIndex); | ^~~~~~~~~~~~ /kisskb/src/drivers/misc/genwqe/card_ddcb.c: In function 'get_next_ddcb': /kisskb/src/drivers/misc/genwqe/card_ddcb.c:592:9: warning: converting a packed 'struct ddcb' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 592 | pu64 = (u64 *)pddcb; | ^~~~ In file included from /kisskb/src/drivers/misc/genwqe/card_ddcb.c:41: /kisskb/src/drivers/misc/genwqe/card_ddcb.h:52:8: note: defined here 52 | struct ddcb { | ^~~~ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c: In function 'send_syn': /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:1033:24: warning: array subscript 'union all_known_options[2]' is partly outside array bounds of 'char[12]' [-Warray-bounds] 1033 | options->as_end = 1; | ^~ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:1003:14: note: at offset 9 into object 'optionsbuffer' of size 12 1003 | char optionsbuffer[sizeof(struct option_mss) + | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:1036:24: warning: array subscript 'union all_known_options[2]' is partly outside array bounds of 'char[12]' [-Warray-bounds] 1036 | options->as_end = 1; | ^~ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:1003:14: note: at offset 10 into object 'optionsbuffer' of size 12 1003 | char optionsbuffer[sizeof(struct option_mss) + | ^~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:1041:16: warning: array subscript 'union all_known_options[2]' is partly outside array bounds of 'char[12]' [-Warray-bounds] 1041 | options->as_end = OPTION_NUMBER_END; | ^~ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:1003:14: note: at offset 11 into object 'optionsbuffer' of size 12 1003 | char optionsbuffer[sizeof(struct option_mss) + | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function '__choose_matched': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:473:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 473 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:473:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 473 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:473:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 473 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:473:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 473 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/bonding/bond_3ad.c:28: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function '__update_selected': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:570:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 570 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:570:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 570 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:570:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 570 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:570:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 570 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function '__update_default_selected': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:602:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 602 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:602:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 602 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:602:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 602 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:602:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 602 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function '__update_ntt': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:633:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 633 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:633:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 633 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:633:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 633 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:633:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 633 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function 'ad_rx_machine': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1191:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1191 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1191:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1191 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1191:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1191 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1191:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1191 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function 'ad_disable_collecting_distributing': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1904:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1904 | !MAC_ADDRESS_EQUAL(&(port->aggregator->partner_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1904:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1904 | !MAC_ADDRESS_EQUAL(&(port->aggregator->partner_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1904:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1904 | !MAC_ADDRESS_EQUAL(&(port->aggregator->partner_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function 'bond_3ad_initialize': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1980:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1980 | if (!MAC_ADDRESS_EQUAL(&(BOND_AD_INFO(bond).system.sys_mac_addr), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1980:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1980 | if (!MAC_ADDRESS_EQUAL(&(BOND_AD_INFO(bond).system.sys_mac_addr), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1980:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1980 | if (!MAC_ADDRESS_EQUAL(&(BOND_AD_INFO(bond).system.sys_mac_addr), | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function 'ad_port_selection_logic': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1456:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1456 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1456:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1456 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1456:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1456 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1456:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1456 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1460:24: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1460 | ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1460:24: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1460 | ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1460:24: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1460 | ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */ | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function 'bond_3ad_lacpdu_recv': /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:2639:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 2639 | if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:2639:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 2639 | if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:106:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 106 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:2639:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 2639 | if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c: In function 'rlb_update_entry_from_arp': /kisskb/src/drivers/net/bonding/bond_alb.c:282:15: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 282 | (!ether_addr_equal_64bits(client_info->mac_dst, arp->mac_src))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:282:15: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/bonding/bond_alb.c:282:15: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/bonding/bond_alb.c:282:15: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/bonding/bond_alb.c:24: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c: In function 'rlb_purge_src_ip': /kisskb/src/drivers/net/bonding/bond_alb.c:847:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 847 | !ether_addr_equal_64bits(arp->mac_src, entry->mac_src)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:847:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/bonding/bond_alb.c:847:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/bonding/bond_alb.c:847:22: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c: In function 'bond_alb_xmit': /kisskb/src/drivers/net/bonding/bond_alb.c:1433:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 1433 | if (ether_addr_equal_64bits(eth_data->h_dest, mac_v6_allmcast)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:1433:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/bonding/bond_alb.c:1433:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/iio/industrialio-core.c:15: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'iio_debugfs_write_reg' at /kisskb/src/drivers/iio/industrialio-core.c:327:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'iio_debugfs_write_reg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/industrialio-core.c:323:14: note: 'buf' declared here 323 | char buf[80]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/fs/binfmt_misc.c:13: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'parse_command' at /kisskb/src/fs/binfmt_misc.c:530:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'parse_command': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/binfmt_misc.c:526:14: note: 's' declared here 526 | char s[4]; | ^ /kisskb/src/drivers/media/dvb-frontends/ts2020.c: In function 'ts2020_stat_work': /kisskb/src/drivers/media/dvb-frontends/ts2020.c:446:47: warning: taking address of packed member of 'struct dtv_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 446 | ret = ts2020_get_tuner_gain(priv->fe, &c->strength.stat[0].svalue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/ntb/test/ntb_tool.c:181: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'tool_peer_mw_trans_write' at /kisskb/src/drivers/ntb/test/ntb_tool.c:939:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'tool_peer_mw_trans_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/ntb/test/ntb_tool.c:934:14: note: 'buf' declared here 934 | char buf[TOOL_BUF_LEN]; | ^~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'kgdbts_break_test': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:212:9: note: in expansion of macro 'v2printk' 212 | v2printk("kgdbts: breakpoint complete\n"); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:212:9: note: in expansion of macro 'v2printk' 212 | v2printk("kgdbts: breakpoint complete\n"); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'check_and_rewind_pc': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:316:9: note: in expansion of macro 'v2printk' 316 | v2printk("Stopped at IP: %lx\n", ip); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:316:9: note: in expansion of macro 'v2printk' 316 | v2printk("Stopped at IP: %lx\n", ip); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:327:17: note: in expansion of macro 'v2printk' 327 | v2printk("Emul: rewind hit single step bp\n"); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:327:17: note: in expansion of macro 'v2printk' 327 | v2printk("Emul: rewind hit single step bp\n"); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'check_single_step': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:355:9: note: in expansion of macro 'v2printk' 355 | v2printk("Singlestep stopped at IP: %lx\n", | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:355:9: note: in expansion of macro 'v2printk' 355 | v2printk("Singlestep stopped at IP: %lx\n", | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:364:17: note: in expansion of macro 'v2printk' 364 | v2printk("ThrID does not match: %lx\n", cont_thread_id); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:364:17: note: in expansion of macro 'v2printk' 364 | v2printk("ThrID does not match: %lx\n", cont_thread_id); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'put_cont_catch': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:434:9: note: in expansion of macro 'v2printk' 434 | v2printk("kgdbts: cleanup task: %lx\n", sstep_thread_id); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:434:9: note: in expansion of macro 'v2printk' 434 | v2printk("kgdbts: cleanup task: %lx\n", sstep_thread_id); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'emul_sstep_get': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:463:17: note: in expansion of macro 'v2printk' 463 | v2printk("Emulate single step\n"); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:463:17: note: in expansion of macro 'v2printk' 463 | v2printk("Emulate single step\n"); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'emul_sstep_put': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:500:17: note: in expansion of macro 'v2printk' 500 | v2printk("Stopped at IP: %lx\n", | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:500:17: note: in expansion of macro 'v2printk' 500 | v2printk("Stopped at IP: %lx\n", | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'fill_get_buf': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:719:9: note: in expansion of macro 'v2printk' 719 | v2printk("get%i: %s\n", ts.idx, get_buf); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:719:9: note: in expansion of macro 'v2printk' 719 | v2printk("get%i: %s\n", ts.idx, get_buf); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c: In function 'run_simple_test': /kisskb/src/drivers/misc/kgdbts.c:115:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 115 | if (verbose > 1) \ | ^~ /kisskb/src/drivers/misc/kgdbts.c:816:17: note: in expansion of macro 'v2printk' 816 | v2printk("put%i: %s\n", ts.idx, put_buf); | ^~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:117:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | touch_nmi_watchdog(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/misc/kgdbts.c:816:17: note: in expansion of macro 'v2printk' 816 | v2printk("put%i: %s\n", ts.idx, put_buf); | ^~~~~~~~ In function 'onenand_otp_walk', inlined from 'onenand_read_user_prot_reg' at /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c:3169:9: /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c:3096:29: warning: 'tmp_retlen' may be used uninitialized [-Wmaybe-uninitialized] 3096 | buf += tmp_retlen; | ^~ /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c: In function 'onenand_read_user_prot_reg': /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c:3090:32: note: 'tmp_retlen' declared here 3090 | size_t tmp_retlen; | ^~~~~~~~~~ In function 'onenand_otp_walk', inlined from 'onenand_read_fact_prot_reg' at /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c:3137:9: /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c:3096:29: warning: 'tmp_retlen' may be used uninitialized [-Wmaybe-uninitialized] 3096 | buf += tmp_retlen; | ^~ /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c: In function 'onenand_read_fact_prot_reg': /kisskb/src/drivers/mtd/nand/onenand/onenand_base.c:3090:32: note: 'tmp_retlen' declared here 3090 | size_t tmp_retlen; | ^~~~~~~~~~ /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c: In function 'drxk_get_stats': /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c:6550:29: warning: taking address of packed member of 'struct dtv_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 6550 | get_strength(state, &c->strength.stat[0].uvalue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c: In function 'st21nfca_im_send_pdu': /kisskb/src/drivers/nfc/st21nfca/dep.c:148:23: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 148 | schedule_work(&info->dep_info.tx_work); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/srcu.h:34, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/include/linux/memory_hotplug.h:7, from /kisskb/src/include/linux/mmzone.h:747, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:31, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_file.h:11, from /kisskb/src/arch/powerpc/include/asm/machdep.h:12, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:7, from /kisskb/src/include/linux/random.h:166, from /kisskb/src/include/linux/net.h:22, from /kisskb/src/include/linux/skbuff.h:29, from /kisskb/src/include/net/nfc/hci.h:21, from /kisskb/src/drivers/nfc/st21nfca/dep.c:17: /kisskb/src/drivers/nfc/st21nfca/dep.c: In function 'st21nfca_dep_init': /kisskb/src/drivers/nfc/st21nfca/dep.c:676:19: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 676 | INIT_WORK(&info->dep_info.tx_work, st21nfca_tx_work); /kisskb/src/include/linux/workqueue.h:233:30: note: in definition of macro '__INIT_WORK' 233 | __init_work((_work), _onstack); \ | ^~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c:676:9: note: in expansion of macro 'INIT_WORK' 676 | INIT_WORK(&info->dep_info.tx_work, st21nfca_tx_work); | ^~~~~~~~~ /kisskb/src/include/linux/workqueue.h:235:34: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 235 | lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, &__key, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/workqueue.h:250:9: note: in expansion of macro '__INIT_WORK' 250 | __INIT_WORK((_work), (_func), 0) | ^~~~~~~~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c:676:9: note: in expansion of macro 'INIT_WORK' 676 | INIT_WORK(&info->dep_info.tx_work, st21nfca_tx_work); | ^~~~~~~~~ /kisskb/src/include/linux/workqueue.h:236:32: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 236 | INIT_LIST_HEAD(&(_work)->entry); \ | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/workqueue.h:250:9: note: in expansion of macro '__INIT_WORK' 250 | __INIT_WORK((_work), (_func), 0) | ^~~~~~~~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c:676:9: note: in expansion of macro 'INIT_WORK' 676 | INIT_WORK(&info->dep_info.tx_work, st21nfca_tx_work); | ^~~~~~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c: In function 'st21nfca_dep_deinit': /kisskb/src/drivers/nfc/st21nfca/dep.c:687:26: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 687 | cancel_work_sync(&info->dep_info.tx_work); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c: In function 'vidioc_try_fmt': /kisskb/src/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1435:39: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 1435 | v4l_bound_align_image(&pix_fmt_mp->width, 8, 1920, 1, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1436:25: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 1436 | &pix_fmt_mp->height, 4, 1080, 1, 0); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c: In function 'hi_command.constprop': /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c:1038:26: warning: 'wait_cmd' may be used uninitialized [-Wmaybe-uninitialized] 1037 | } while ((status < 0) && (retry_count < DRXK_MAX_RETRIES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1038 | && (wait_cmd != 0)); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c:1030:21: note: 'wait_cmd' was declared here 1030 | u16 wait_cmd; | ^~~~~~~~ /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c: In function 'drxk_read_ucblocks': /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c:6707:21: warning: 'err' may be used uninitialized [-Wmaybe-uninitialized] 6707 | *ucblocks = (u32) err; | ^~~~~~~~~ /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c:6697:13: note: 'err' was declared here 6697 | u16 err; | ^~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c: In function 'typhoon_poll': /kisskb/src/drivers/net/ethernet/3com/typhoon.c:1735:56: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 1735 | typhoon_tx_complete(tp, &tp->txLoRing, &indexes->txLoCleared); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c:1740:60: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 1740 | work_done += typhoon_rx(tp, &tp->rxHiRing, &indexes->rxHiReady, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c:1741:41: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 1741 | &indexes->rxHiCleared, budget); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c:1745:60: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 1745 | work_done += typhoon_rx(tp, &tp->rxLoRing, &indexes->rxLoReady, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c:1746:41: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 1746 | &indexes->rxLoCleared, budget - work_done); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c: In function 'typhoon_stop_runtime': /kisskb/src/drivers/net/ethernet/3com/typhoon.c:2009:53: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 2009 | typhoon_clean_tx(tp, &tp->txLoRing, &indexes->txLoCleared); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/3com/typhoon.c: In function 'typhoon_tx_timeout': /kisskb/src/drivers/net/ethernet/3com/typhoon.c:2026:45: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] 2026 | typhoon_clean_tx(tp, &tp->txLoRing, &tp->indexes->txLoCleared); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_identity': /kisskb/src/drivers/nvme/host/lightnvm.c:476:57: warning: converting a packed 'struct nvme_nvm_id12' pointer (alignment 1) to a 'struct nvme_nvm_id20' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 476 | &nvmdev->geo); | ^ /kisskb/src/drivers/nvme/host/lightnvm.c:164:8: note: defined here 164 | struct nvme_nvm_id12 { | ^~~~~~~~~~~~~ /kisskb/src/drivers/nvme/host/lightnvm.c:199:8: note: defined here 199 | struct nvme_nvm_id20 { | ^~~~~~~~~~~~~ In file included from /kisskb/src/fs/xfs/scrub/agheader_repair.c:9: /kisskb/src/fs/xfs/scrub/agheader_repair.c: In function 'xrep_agfl_init_header': /kisskb/src/fs/xfs/libxfs/xfs_format.h:790:17: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] 790 | &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/xfs/scrub/agheader_repair.c:614:20: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 614 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, agfl_bp); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/include/linux/if_vlan.h:15, from /kisskb/src/drivers/net/dsa/mv88e6xxx/chip.h:15, from /kisskb/src/drivers/net/dsa/mv88e6xxx/hwtstamp.c:17: In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'mv88e6xxx_get_rxts' at /kisskb/src/drivers/net/dsa/mv88e6xxx/hwtstamp.c:305:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/dsa/mv88e6xxx/hwtstamp.c: In function 'mv88e6xxx_get_rxts': /kisskb/src/drivers/net/dsa/mv88e6xxx/hwtstamp.c:297:29: note: object 'received' of size 96 297 | struct sk_buff_head received; | ^~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/net/ipvlan/ipvlan.h:19, from /kisskb/src/drivers/net/ipvlan/ipvlan_core.c:10: In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'ipvlan_process_multicast' at /kisskb/src/drivers/net/ipvlan/ipvlan_core.c:246:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ipvlan/ipvlan_core.c: In function 'ipvlan_process_multicast': /kisskb/src/drivers/net/ipvlan/ipvlan_core.c:236:29: note: object 'list' of size 96 236 | struct sk_buff_head list; | ^~~~ /kisskb/src/drivers/media/platform/ti-vpe/vpe.c: In function '__vpe_try_fmt': /kisskb/src/drivers/media/platform/ti-vpe/vpe.c:1631:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 1631 | v4l_bound_align_image(&pix->width, MIN_W, MAX_W, w_align, | ^~~~~~~~~~~ /kisskb/src/drivers/media/platform/ti-vpe/vpe.c:1632:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 1632 | &pix->height, MIN_H, MAX_H, H_ALIGN, | ^~~~~~~~~~~~ In function 's5k5baf_fw_parse', inlined from 's5k5baf_load_setfile.isra' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1042:8: /kisskb/src/drivers/media/i2c/s5k5baf.c:393:27: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 393 | if (f->seq[i].offset + d <= end) | ~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_load_setfile.isra': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ In function 's5k5baf_fw_get_seq', inlined from 's5k5baf_hw_patch' at /kisskb/src/drivers/media/i2c/s5k5baf.c:581:13, inlined from 's5k5baf_set_power' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1070:3: /kisskb/src/drivers/media/i2c/s5k5baf.c:572:28: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 572 | if (fw->seq[i].id == seq_id) | ~~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ In function 's5k5baf_fw_get_seq', inlined from 's5k5baf_hw_patch' at /kisskb/src/drivers/media/i2c/s5k5baf.c:581:13, inlined from 's5k5baf_set_power' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1070:3: /kisskb/src/drivers/media/i2c/s5k5baf.c:573:46: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 573 | return data + fw->seq[i].offset; | ~~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ In function 's5k5baf_fw_get_seq', inlined from 's5k5baf_hw_set_cis' at /kisskb/src/drivers/media/i2c/s5k5baf.c:623:13, inlined from 's5k5baf_set_power' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1078:3: /kisskb/src/drivers/media/i2c/s5k5baf.c:572:28: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 572 | if (fw->seq[i].id == seq_id) | ~~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ In function 's5k5baf_fw_get_seq', inlined from 's5k5baf_hw_set_cis' at /kisskb/src/drivers/media/i2c/s5k5baf.c:623:13, inlined from 's5k5baf_set_power' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1078:3: /kisskb/src/drivers/media/i2c/s5k5baf.c:573:46: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 573 | return data + fw->seq[i].offset; | ~~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ In function 's5k5baf_fw_get_seq', inlined from 's5k5baf_hw_set_ccm' at /kisskb/src/drivers/media/i2c/s5k5baf.c:614:13, inlined from 's5k5baf_set_power' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1079:3: /kisskb/src/drivers/media/i2c/s5k5baf.c:572:28: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 572 | if (fw->seq[i].id == seq_id) | ~~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ In function 's5k5baf_fw_get_seq', inlined from 's5k5baf_hw_set_ccm' at /kisskb/src/drivers/media/i2c/s5k5baf.c:614:13, inlined from 's5k5baf_set_power' at /kisskb/src/drivers/media/i2c/s5k5baf.c:1079:3: /kisskb/src/drivers/media/i2c/s5k5baf.c:573:46: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 573 | return data + fw->seq[i].offset; | ~~~~~~~^~~ /kisskb/src/drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power': /kisskb/src/drivers/media/i2c/s5k5baf.c:286:11: note: while referencing 'seq' 286 | } seq[0]; | ^~~ /kisskb/src/drivers/media/i2c/ir-kbd-i2c.c: In function 'zilog_ir_format': /kisskb/src/drivers/media/i2c/ir-kbd-i2c.c:535:49: warning: taking address of packed member of 'struct code_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 535 | s = find_slot(code_block->space, | ~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/media/i2c/ir-kbd-i2c.c:545:49: warning: taking address of packed member of 'struct code_block' may result in an unaligned pointer value [-Waddress-of-packed-member] 545 | p = find_slot(code_block->pulse, | ~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/plip/plip.c: In function 'plip_type_trans': /kisskb/src/drivers/net/plip/plip.c:552:20: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 552 | if(ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/plip/plip.c:552:20: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/plip/plip.c:552:20: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/plip/plip.c:104: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/i2c.h:30, from /kisskb/src/drivers/mfd/ab3100-core.c:9: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ab3100_get_set_reg' at /kisskb/src/drivers/mfd/ab3100-core.c:502:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ab3100_get_set_reg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mfd/ab3100-core.c:493:14: note: 'buf' declared here 493 | char buf[32]; | ^~~ /kisskb/src/drivers/pci/controller/pcie-altera.c: In function 'altera_read_cap_word.constprop.isra': /kisskb/src/drivers/pci/controller/pcie-altera.c:370:16: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 370 | *value = data; | ~~~~~~~^~~~~~ /kisskb/src/drivers/pci/controller/pcie-altera.c:364:13: note: 'data' was declared here 364 | u32 data; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/include/linux/can/led.h:14, from /kisskb/src/include/linux/can/dev.h:19, from /kisskb/src/drivers/net/can/rx-offload.c:18: In function '__skb_queue_after', inlined from '__skb_queue_head' at /kisskb/src/include/linux/skbuff.h:1859:2, inlined from '__skb_queue_add_sort' at /kisskb/src/drivers/net/can/rx-offload.c:103:3, inlined from 'can_rx_offload_irq_offload_timestamp' at /kisskb/src/drivers/net/can/rx-offload.c:174:3: /kisskb/src/include/linux/skbuff.h:1832:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1832 | __skb_insert(newsk, prev, prev->next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/can/rx-offload.c: In function 'can_rx_offload_irq_offload_timestamp': /kisskb/src/drivers/net/can/rx-offload.c:157:29: note: object 'skb_queue' of size 96 157 | struct sk_buff_head skb_queue; | ^~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_after' at /kisskb/src/include/linux/skbuff.h:1832:2, inlined from '__skb_queue_head' at /kisskb/src/include/linux/skbuff.h:1859:2, inlined from '__skb_queue_add_sort' at /kisskb/src/drivers/net/can/rx-offload.c:103:3, inlined from 'can_rx_offload_irq_offload_timestamp' at /kisskb/src/drivers/net/can/rx-offload.c:174:3: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/can/rx-offload.c: In function 'can_rx_offload_irq_offload_timestamp': /kisskb/src/drivers/net/can/rx-offload.c:157:29: note: object 'skb_queue' of size 96 157 | struct sk_buff_head skb_queue; | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/apm/xgene/xgene_enet_main.c:33:36: warning: array 'xgene_enet_acpi_match' assumed to have one element 33 | static const struct acpi_device_id xgene_enet_acpi_match[]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/netfilter/xt_ipvs.c: In function 'ipvs_mt': /kisskb/src/net/netfilter/xt_ipvs.c:74:25: warning: 'iph.protocol' may be used uninitialized [-Wmaybe-uninitialized] 74 | if ((iph.protocol == data->l4proto) ^ | ~~~^~~~~~~~~ /kisskb/src/net/netfilter/xt_ipvs.c:54:28: note: 'iph' declared here 54 | struct ip_vs_iphdr iph; | ^~~ In file included from /kisskb/src/drivers/mtd/tests/oobtest.c:26: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_oobtest_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/oobtest.c:740:1: note: in expansion of macro 'module_init' 740 | module_init(mtd_oobtest_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/oobtest.c:348:19: note: 'init_module' target declared here 348 | static int __init mtd_oobtest_init(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_oobtest_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/oobtest.c:746:1: note: in expansion of macro 'module_exit' 746 | module_exit(mtd_oobtest_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/oobtest.c:742:20: note: 'cleanup_module' target declared here 742 | static void __exit mtd_oobtest_exit(void) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:18: /kisskb/src/drivers/mtd/nand/raw/diskonchip.c: In function 'nftl_partscan': /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1047:22: warning: taking address of packed member of 'struct NFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1047 | le16_to_cpus(&mh->NumEraseUnits); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1047:9: note: in expansion of macro 'le16_to_cpus' 1047 | le16_to_cpus(&mh->NumEraseUnits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1048:22: warning: taking address of packed member of 'struct NFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1048 | le16_to_cpus(&mh->FirstPhysicalEUN); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1048:9: note: in expansion of macro 'le16_to_cpus' 1048 | le16_to_cpus(&mh->FirstPhysicalEUN); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1049:22: warning: taking address of packed member of 'struct NFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1049 | le32_to_cpus(&mh->FormattedSize); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1049:9: note: in expansion of macro 'le32_to_cpus' 1049 | le32_to_cpus(&mh->FormattedSize); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c: In function 'inftl_partscan': /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1156:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1156 | le32_to_cpus(&mh->NoOfBootImageBlocks); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1156:9: note: in expansion of macro 'le32_to_cpus' 1156 | le32_to_cpus(&mh->NoOfBootImageBlocks); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1157:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1157 | le32_to_cpus(&mh->NoOfBinaryPartitions); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1157:9: note: in expansion of macro 'le32_to_cpus' 1157 | le32_to_cpus(&mh->NoOfBinaryPartitions); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1158:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1158 | le32_to_cpus(&mh->NoOfBDTLPartitions); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1158:9: note: in expansion of macro 'le32_to_cpus' 1158 | le32_to_cpus(&mh->NoOfBDTLPartitions); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1159:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1159 | le32_to_cpus(&mh->BlockMultiplierBits); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1159:9: note: in expansion of macro 'le32_to_cpus' 1159 | le32_to_cpus(&mh->BlockMultiplierBits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1160:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1160 | le32_to_cpus(&mh->FormatFlags); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1160:9: note: in expansion of macro 'le32_to_cpus' 1160 | le32_to_cpus(&mh->FormatFlags); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1161:22: warning: taking address of packed member of 'struct INFTLMediaHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1161 | le32_to_cpus(&mh->PercentUsed); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1161:9: note: in expansion of macro 'le32_to_cpus' 1161 | le32_to_cpus(&mh->PercentUsed); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1198:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] 1198 | le32_to_cpus(&ip->virtualUnits); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1198:17: note: in expansion of macro 'le32_to_cpus' 1198 | le32_to_cpus(&ip->virtualUnits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1199:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] 1199 | le32_to_cpus(&ip->firstUnit); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1199:17: note: in expansion of macro 'le32_to_cpus' 1199 | le32_to_cpus(&ip->firstUnit); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1200:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] 1200 | le32_to_cpus(&ip->lastUnit); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1200:17: note: in expansion of macro 'le32_to_cpus' 1200 | le32_to_cpus(&ip->lastUnit); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1201:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] 1201 | le32_to_cpus(&ip->flags); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1201:17: note: in expansion of macro 'le32_to_cpus' 1201 | le32_to_cpus(&ip->flags); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1202:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] 1202 | le32_to_cpus(&ip->spareUnits); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1202:17: note: in expansion of macro 'le32_to_cpus' 1202 | le32_to_cpus(&ip->spareUnits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1203:30: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] 1203 | le32_to_cpus(&ip->Reserved0); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1203:17: note: in expansion of macro 'le32_to_cpus' 1203 | le32_to_cpus(&ip->Reserved0); | ^~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/pagetest.c:26: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_pagetest_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/pagetest.c:463:1: note: in expansion of macro 'module_init' 463 | module_init(mtd_pagetest_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/pagetest.c:331:19: note: 'init_module' target declared here 331 | static int __init mtd_pagetest_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_pagetest_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/pagetest.c:469:1: note: in expansion of macro 'module_exit' 469 | module_exit(mtd_pagetest_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/pagetest.c:465:20: note: 'cleanup_module' target declared here 465 | static void __exit mtd_pagetest_exit(void) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/readtest.c:25: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_readtest_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/readtest.c:217:1: note: in expansion of macro 'module_init' 217 | module_init(mtd_readtest_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/readtest.c:125:19: note: 'init_module' target declared here 125 | static int __init mtd_readtest_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_readtest_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/readtest.c:223:1: note: in expansion of macro 'module_exit' 223 | module_exit(mtd_readtest_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/readtest.c:219:20: note: 'cleanup_module' target declared here 219 | static void __exit mtd_readtest_exit(void) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/speedtest.c:26: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_speedtest_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/speedtest.c:421:1: note: in expansion of macro 'module_init' 421 | module_init(mtd_speedtest_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/speedtest.c:186:19: note: 'init_module' target declared here 186 | static int __init mtd_speedtest_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_speedtest_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/speedtest.c:427:1: note: in expansion of macro 'module_exit' 427 | module_exit(mtd_speedtest_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/speedtest.c:423:20: note: 'cleanup_module' target declared here 423 | static void __exit mtd_speedtest_exit(void) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/stresstest.c:25: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_stresstest_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/stresstest.c:243:1: note: in expansion of macro 'module_init' 243 | module_init(mtd_stresstest_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/stresstest.c:148:19: note: 'init_module' target declared here 148 | static int __init mtd_stresstest_init(void) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_stresstest_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/stresstest.c:249:1: note: in expansion of macro 'module_exit' 249 | module_exit(mtd_stresstest_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/stresstest.c:245:20: note: 'cleanup_module' target declared here 245 | static void __exit mtd_stresstest_exit(void) | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/net/usb/r8152.c:13: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'rtl_drop_queued_tx' at /kisskb/src/drivers/net/usb/r8152.c:2111:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/usb/r8152.c: In function 'rtl_drop_queued_tx': /kisskb/src/drivers/net/usb/r8152.c:2103:29: note: object 'skb_head' of size 96 2103 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; | ^~~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'r8152_csum_workaround' at /kisskb/src/drivers/net/usb/r8152.c:1595:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/r8152.c: In function 'r8152_csum_workaround': /kisskb/src/drivers/net/usb/r8152.c:1581:37: note: object 'seg_list' of size 96 1581 | struct sk_buff_head seg_list; | ^~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'r8152_csum_workaround' at /kisskb/src/drivers/net/usb/r8152.c:1595:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/r8152.c: In function 'r8152_csum_workaround': /kisskb/src/drivers/net/usb/r8152.c:1581:37: note: object 'seg_list' of size 96 1581 | struct sk_buff_head seg_list; | ^~~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'r8152_tx_agg_fill' at /kisskb/src/drivers/net/usb/r8152.c:1749:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/usb/r8152.c: In function 'r8152_tx_agg_fill': /kisskb/src/drivers/net/usb/r8152.c:1743:29: note: object 'skb_head' of size 96 1743 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; | ^~~~~~~~ In function '__skb_queue_after', inlined from '__skb_queue_head' at /kisskb/src/include/linux/skbuff.h:1859:2, inlined from 'r8152_tx_agg_fill' at /kisskb/src/drivers/net/usb/r8152.c:1770:4: /kisskb/src/include/linux/skbuff.h:1832:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1832 | __skb_insert(newsk, prev, prev->next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/r8152.c: In function 'r8152_tx_agg_fill': /kisskb/src/drivers/net/usb/r8152.c:1743:29: note: object 'skb_head' of size 96 1743 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; | ^~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_after' at /kisskb/src/include/linux/skbuff.h:1832:2, inlined from '__skb_queue_head' at /kisskb/src/include/linux/skbuff.h:1859:2, inlined from 'r8152_tx_agg_fill' at /kisskb/src/drivers/net/usb/r8152.c:1770:4: /kisskb/src/include/linux/skbuff.h:1736:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/usb/r8152.c: In function 'r8152_tx_agg_fill': /kisskb/src/drivers/net/usb/r8152.c:1743:29: note: object 'skb_head' of size 96 1743 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; | ^~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/subpagetest.c:25: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_subpagetest_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/subpagetest.c:440:1: note: in expansion of macro 'module_init' 440 | module_init(mtd_subpagetest_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/subpagetest.c:281:19: note: 'init_module' target declared here 281 | static int __init mtd_subpagetest_init(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_subpagetest_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/subpagetest.c:446:1: note: in expansion of macro 'module_exit' 446 | module_exit(mtd_subpagetest_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/subpagetest.c:442:20: note: 'cleanup_module' target declared here 442 | static void __exit mtd_subpagetest_exit(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ppp/pptp.c: In function 'pptp_bind': /kisskb/src/drivers/net/ppp/pptp.c:402:26: warning: taking address of packed member of 'struct sockaddr_pppox' may result in an unaligned pointer value [-Waddress-of-packed-member] 402 | if (add_chan(po, &sp->sa_addr.pptp)) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/mfd/aat2870-core.c:23: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'aat2870_reg_write_file' at /kisskb/src/drivers/mfd/aat2870-core.c:297:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'aat2870_reg_write_file': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mfd/aat2870-core.c:290:14: note: 'buf' declared here 290 | char buf[32]; | ^~~ In file included from /kisskb/src/drivers/mtd/tests/torturetest.c:30: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'tort_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/torturetest.c:367:1: note: in expansion of macro 'module_init' 367 | module_init(tort_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/torturetest.c:181:19: note: 'init_module' target declared here 181 | static int __init tort_init(void) | ^~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tort_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/torturetest.c:373:1: note: in expansion of macro 'module_exit' 373 | module_exit(tort_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/torturetest.c:369:20: note: 'cleanup_module' target declared here 369 | static void __exit tort_exit(void) | ^~~~~~~~~ /kisskb/src/drivers/platform/chrome/cros_ec_debugfs.c: In function 'cros_ec_pdinfo_read': /kisskb/src/drivers/platform/chrome/cros_ec_debugfs.c:234:15: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | msg = &ec_buf.msg; | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:4: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'ecc_test_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:324:1: note: in expansion of macro 'module_init' 324 | module_init(ecc_test_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:309:19: note: 'init_module' target declared here 309 | static int __init ecc_test_init(void) | ^~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ecc_test_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:325:1: note: in expansion of macro 'module_exit' 325 | module_exit(ecc_test_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:320:20: note: 'cleanup_module' target declared here 320 | static void __exit ecc_test_exit(void) | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/nandbiterrs.c:46: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_nandbiterrs_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/nandbiterrs.c:427:1: note: in expansion of macro 'module_init' 427 | module_init(mtd_nandbiterrs_init); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/nandbiterrs.c:341:19: note: 'init_module' target declared here 341 | static int __init mtd_nandbiterrs_init(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_nandbiterrs_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/nandbiterrs.c:428:1: note: in expansion of macro 'module_exit' 428 | module_exit(mtd_nandbiterrs_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/mtd/tests/nandbiterrs.c:422:20: note: 'cleanup_module' target declared here 422 | static void __exit mtd_nandbiterrs_exit(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/usb/dvb-usb/dvb-usb-remote.c:363:20: warning: argument 2 of type 'u8[5]' {aka 'unsigned char[5]'} with mismatched bound [-Warray-parameter=] 363 | u8 keybuf[5], u32 *event, int *state) | ~~~^~~~~~~~~ In file included from /kisskb/src/drivers/media/usb/dvb-usb/dvb-usb-common.h:13, from /kisskb/src/drivers/media/usb/dvb-usb/dvb-usb-remote.c:9: /kisskb/src/drivers/media/usb/dvb-usb/dvb-usb.h:478:65: note: previously declared as 'u8[]' {aka 'unsigned char[]'} 478 | extern int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *, u8[], u32 *, int *); | ^~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-ctrls.c: In function 'validate_ctrls': /kisskb/src/drivers/media/v4l2-core/v4l2-ctrls.c:3554:39: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 3554 | p_new.p_s64 = &cs->controls[i].value64; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-ctrls.c:3556:39: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 3556 | p_new.p_s32 = &cs->controls[i].value; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/ubi/fastmap.c: In function 'ubi_attach_fastmap': /kisskb/src/drivers/mtd/ubi/fastmap.c:764:38: warning: taking address of packed member of 'struct ubi_fm_scan_pool' may result in an unaligned pointer value [-Waddress-of-packed-member] 764 | ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); | ~~~~^~~~~~ /kisskb/src/drivers/mtd/ubi/fastmap.c:768:41: warning: taking address of packed member of 'struct ubi_fm_scan_pool' may result in an unaligned pointer value [-Waddress-of-packed-member] 768 | ret = scan_pool(ubi, ai, fmpl_wl->pebs, wl_pool_size, &max_sqnum, &free); | ~~~~~~~^~~~~~ In file included from /kisskb/src/drivers/net/wan/dscc4.c:85: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'dscc4_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wan/dscc4.c:2057:1: note: in expansion of macro 'module_pci_driver' 2057 | module_pci_driver(dscc4_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/pci.h:31, from /kisskb/src/drivers/net/wan/dscc4.c:91: /kisskb/src/drivers/net/wan/dscc4.c:2057:19: note: 'cleanup_module' target declared here 2057 | module_pci_driver(dscc4_driver); | ^~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/net/wan/dscc4.c:2057:1: note: in expansion of macro 'module_pci_driver' 2057 | module_pci_driver(dscc4_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'dscc4_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wan/dscc4.c:2057:1: note: in expansion of macro 'module_pci_driver' 2057 | module_pci_driver(dscc4_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wan/dscc4.c:2057:19: note: 'init_module' target declared here 2057 | module_pci_driver(dscc4_driver); | ^~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/net/wan/dscc4.c:2057:1: note: in expansion of macro 'module_pci_driver' 2057 | module_pci_driver(dscc4_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/bitmap.h:9, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/interrupt.h:8, from /kisskb/src/drivers/net/wireless/atmel/atmel.c:42: In function 'memcpy', inlined from 'send_association_request' at /kisskb/src/drivers/net/wireless/atmel/atmel.c:2926:2: /kisskb/src/include/linux/string.h:352:16: warning: writing 4 bytes into a region of size between 18446744073709551613 and 2 [-Wstringop-overflow=] 352 | return __builtin_memcpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/atmel/atmel.c: In function 'send_association_request': /kisskb/src/drivers/net/wireless/atmel/atmel.c:2886:20: note: at offset [4, 6] into destination object 'ssid_el_id' of size 1 2886 | u8 ssid_el_id; | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/atmel/atmel.c:2885:20: note: at offset [4, 6] into destination object 'ap' of size 6 2885 | u8 ap[ETH_ALEN]; /* nothing after here directly accessible */ | ^~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_start_dma': /kisskb/src/drivers/media/platform/fsl-viu.c:258:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 258 | out_be32(&vr->status_cfg, SOFT_RST); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:259:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 259 | out_be32(&vr->status_cfg, INT_FIELD_EN); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_stop_dma': /kisskb/src/drivers/media/platform/fsl-viu.c:268:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 268 | out_be32(&vr->status_cfg, 0); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:271:30: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 271 | status_cfg = in_be32(&vr->status_cfg); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:273:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 273 | out_be32(&vr->status_cfg, status_cfg & 0x3f0000); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:277:46: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 277 | status_cfg = in_be32(&vr->status_cfg); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:284:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 284 | out_be32(&vr->status_cfg, SOFT_RST); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:285:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 285 | out_be32(&vr->status_cfg, 0); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:288:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 288 | out_be32(&vr->status_cfg, status_cfg & 0x3f0000); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'buffer_activate': /kisskb/src/drivers/media/platform/fsl-viu.c:444:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 444 | out_be32(&vr->dma_inc, reg_val.dma_inc); | ^~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:445:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 445 | out_be32(&vr->picture_count, reg_val.picture_count); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:446:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 446 | out_be32(&vr->field_base_addr, reg_val.field_base_addr); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_activate_overlay': /kisskb/src/drivers/media/platform/fsl-viu.c:711:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 711 | out_be32(&vr->field_base_addr, reg_val.field_base_addr); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:712:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 712 | out_be32(&vr->dma_inc, reg_val.dma_inc); | ^~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:713:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 713 | out_be32(&vr->picture_count, reg_val.picture_count); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_default_settings': /kisskb/src/drivers/media/platform/fsl-viu.c:991:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 991 | out_be32(&vr->luminance, 0x9512A254); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:992:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 992 | out_be32(&vr->chroma_r, 0x03310000); | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:993:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 993 | out_be32(&vr->chroma_g, 0x06600F38); | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:994:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 994 | out_be32(&vr->chroma_b, 0x00000409); | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:995:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 995 | out_be32(&vr->alpha, 0x000000ff); | ^~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:996:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 996 | out_be32(&vr->req_alarm, 0x00000090); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:998:25: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 998 | in_be32(&vr->status_cfg), in_be32(&vr->field_base_addr)); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:57:60: note: in definition of macro 'dprintk' 57 | printk(KERN_DEBUG "viu: " fmt , ## arg); \ | ^~~ /kisskb/src/drivers/media/platform/fsl-viu.c:998:51: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 998 | in_be32(&vr->status_cfg), in_be32(&vr->field_base_addr)); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:57:60: note: in definition of macro 'dprintk' 57 | printk(KERN_DEBUG "viu: " fmt , ## arg); \ | ^~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_overlay_intr': /kisskb/src/drivers/media/platform/fsl-viu.c:1016:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1016 | out_be32(&vr->field_base_addr, addr); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1017:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1017 | out_be32(&vr->dma_inc, reg_val.dma_inc); | ^~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1018:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1018 | out_be32(&vr->status_cfg, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1023:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1023 | out_be32(&vr->status_cfg, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_capture_intr': /kisskb/src/drivers/media/platform/fsl-viu.c:1072:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1072 | out_be32(&vr->field_base_addr, addr); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1073:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1073 | out_be32(&vr->dma_inc, reg_val.dma_inc); | ^~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1074:34: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1074 | out_be32(&vr->status_cfg, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1089:48: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1089 | (unsigned long)in_be32(&vr->field_base_addr)); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:57:60: note: in definition of macro 'dprintk' 57 | printk(KERN_DEBUG "viu: " fmt , ## arg); \ | ^~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_intr': /kisskb/src/drivers/media/platform/fsl-viu.c:1110:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1110 | status = in_be32(&vr->status_cfg); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1119:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1119 | out_be32(&vr->status_cfg, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1149:26: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1149 | status = in_be32(&vr->status_cfg); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1150:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1150 | out_be32(&vr->status_cfg, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_open': /kisskb/src/drivers/media/platform/fsl-viu.c:1220:30: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1220 | status_cfg = in_be32(&vr->status_cfg); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1221:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1221 | out_be32(&vr->status_cfg, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1226:30: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1226 | status_cfg = in_be32(&vr->status_cfg); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1227:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1227 | out_be32(&vr->status_cfg, status_cfg | INT_ALL_STATUS); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c: In function 'viu_reset': /kisskb/src/drivers/media/platform/fsl-viu.c:1307:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1307 | out_be32(®->status_cfg, 0); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1308:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1308 | out_be32(®->luminance, 0x9512a254); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1309:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1309 | out_be32(®->chroma_r, 0x03310000); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1310:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1310 | out_be32(®->chroma_g, 0x06600f38); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1311:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1311 | out_be32(®->chroma_b, 0x00000409); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1312:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1312 | out_be32(®->field_base_addr, 0); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1313:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1313 | out_be32(®->dma_inc, 0); | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1314:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1314 | out_be32(®->picture_count, 0x01e002d0); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1315:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1315 | out_be32(®->req_alarm, 0x00000090); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:1316:18: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1316 | out_be32(®->alpha, 0x000000ff); | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:19: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath10k_sta_tid_stats_mask_write' at /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:2246:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath10k_sta_tid_stats_mask_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:2241:14: note: 'buf' declared here 2241 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath10k_write_peer_stats' at /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:2111:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath10k_write_peer_stats': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:2105:14: note: 'buf' declared here 2105 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath10k_write_btcoex' at /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:1976:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath10k_write_btcoex': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/debug.c:1969:14: note: 'buf' declared here 1969 | char buf[32]; | ^~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/include/linux/compat.h:19, from /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:16: /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c: In function 'get_v4l2_ext_controls32': /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:944:34: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 944 | if (get_user(id, &kcontrols->id)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:944:21: note: in expansion of macro 'get_user' 944 | if (get_user(id, &kcontrols->id)) | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:950:41: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] 950 | if (get_user(p, &ucontrols->string)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:950:29: note: in expansion of macro 'get_user' 950 | if (get_user(p, &ucontrols->string)) | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:953:41: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 953 | if (put_user(s, &kcontrols->string)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:953:29: note: in expansion of macro 'put_user' 953 | if (put_user(s, &kcontrols->string)) | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c: In function 'put_v4l2_ext_controls32': /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:23: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 59 | get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \ /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:9: note: in expansion of macro 'get_user' 59 | get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \ | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1002:21: note: in expansion of macro 'get_user_cast' 1002 | if (get_user_cast(id, &kcontrols->id) || | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1003:34: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] 1003 | put_user(id, &ucontrols->id) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1003:21: note: in expansion of macro 'put_user' 1003 | put_user(id, &ucontrols->id) || | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:23: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 59 | get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \ /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:9: note: in expansion of macro 'get_user' 59 | get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \ | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:98:9: note: in expansion of macro 'get_user_cast' 98 | get_user_cast(__assign_tmp, from) || put_user(__assign_tmp, to);\ | ^~~~~~~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1004:21: note: in expansion of macro 'assign_in_user_cast' 1004 | assign_in_user_cast(&ucontrols->size, &kcontrols->size) || | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1004:41: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] 1004 | assign_in_user_cast(&ucontrols->size, &kcontrols->size) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:98:46: note: in expansion of macro 'put_user' 98 | get_user_cast(__assign_tmp, from) || put_user(__assign_tmp, to);\ | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1004:21: note: in expansion of macro 'assign_in_user_cast' 1004 | assign_in_user_cast(&ucontrols->size, &kcontrols->size) || | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_read_stats': /kisskb/src/drivers/net/wireless/cisco/airo.c:2240:24: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] 2240 | __le32 *vals = stats_rid.vals; | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_handle_rx': /kisskb/src/drivers/net/wireless/cisco/airo.c:3301:17: warning: converting a packed 'struct rx_hdr' pointer (alignment 1) to a '__le16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 3301 | bap_read (ai, (__le16*)&hdr, sizeof(hdr), BAP0); | ^~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c:992:8: note: defined here 992 | struct rx_hdr { | ^~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c:3309:30: warning: taking address of packed member of 'struct rx_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 3309 | bap_read(ai, &hdr.len, 2, BAP0); | ^~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c:3356:25: warning: converting a packed 'MICBuffer' pointer (alignment 1) to a '__le16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 3356 | bap_read(ai, (__le16 *) &micbuf, sizeof (micbuf), BAP0); | ^~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c:828:8: note: defined here 828 | struct MICBuffer { | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'transmit_802_3_packet': /kisskb/src/drivers/net/wireless/cisco/airo.c:4350:17: warning: converting a packed 'MICBuffer' pointer (alignment 1) to a '__le16' {aka 'const short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 4350 | bap_write(ai, (__le16*)&pMic, miclen, BAP1); | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c:828:8: note: defined here 828 | struct MICBuffer { | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'proc_stats_rid_open': /kisskb/src/drivers/net/wireless/cisco/airo.c:4726:24: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] 4726 | __le32 *vals = stats.vals; | ^~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_read_wireless_stats': /kisskb/src/drivers/net/wireless/cisco/airo.c:7693:24: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] 7693 | __le32 *vals = stats_rid.vals; | ^~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/pinctrl/pinconf.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'pinconf_dbg_config_write' at /kisskb/src/drivers/pinctrl/pinconf.c:494:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'pinconf_dbg_config_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/pinctrl/pinconf.c:486:14: note: 'buf' declared here 486 | char buf[128]; | ^~~ /kisskb/src/drivers/net/macvlan.c: In function 'macvlan_broadcast_one': /kisskb/src/drivers/net/macvlan.c:238:13: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 238 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/macvlan.c:238:13: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/macvlan.c:238:13: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/macvlan.c:26: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/macvlan.c: In function 'macvlan_forward_source_one': /kisskb/src/drivers/net/macvlan.c:417:13: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 417 | if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, dev->dev_addr)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/macvlan.c:417:13: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/macvlan.c:417:13: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/atmel/at76c50x-usb.c: In function 'at76_mac80211_tx': /kisskb/src/drivers/net/wireless/atmel/at76c50x-usb.c:1793:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 1793 | if (!ether_addr_equal_64bits(priv->bssid, mgmt->bssid)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/atmel/at76c50x-usb.c:1793:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/atmel/at76c50x-usb.c:1793:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/atmel/at76c50x-usb.c:1793:22: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/atmel/at76c50x-usb.c:39: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/net/macvlan.c:25: In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'macvlan_process_broadcast' at /kisskb/src/drivers/net/macvlan.c:308:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/macvlan.c: In function 'macvlan_process_broadcast': /kisskb/src/drivers/net/macvlan.c:303:29: note: object 'list' of size 96 303 | struct sk_buff_head list; | ^~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_tx_compl_ind': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2036:25: warning: taking address of packed member of 'struct htt_data_tx_completion' may result in an unaligned pointer value [-Waddress-of-packed-member] 2036 | msdus = resp->data_tx_completion.msdus; | ^~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_tx_fetch_confirm': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2513:70: warning: taking address of packed member of 'struct htt_tx_fetch_confirm' may result in an unaligned pointer value [-Waddress-of-packed-member] 2513 | resp->tx_fetch_confirm.resp_ids, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:29, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:19: In function 'ath10k_htt_get_tx_fetch_ind_resp_ids', inlined from 'ath10k_htt_rx_tx_fetch_ind' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2472:13: /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1534:24: warning: array subscript 65535 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 1534 | return (void *)&ind->records[le16_to_cpu(ind->num_records)]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h: In function 'ath10k_htt_rx_tx_fetch_ind': /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1527:36: note: while referencing 'records' 1527 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2419 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1527:36: note: while referencing 'records' 1527 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2419 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1527:36: note: while referencing 'records' 1527 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2419 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1527:36: note: while referencing 'records' 1527 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2419 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1527:36: note: while referencing 'records' 1527 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2419:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2419 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1527:36: note: while referencing 'records' 1527 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:23: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_htt_rx_extract_amsdu' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2163:3, inlined from 'ath10k_htt_rx_in_ord_ind' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2316:9: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_in_ord_ind': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2257:29: note: object 'amsdu' of size 96 2257 | struct sk_buff_head amsdu; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_htt_rx_extract_amsdu' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2163:3, inlined from 'ath10k_htt_rx_in_ord_ind' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2316:9: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_in_ord_ind': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2257:29: note: object 'amsdu' of size 96 2257 | struct sk_buff_head amsdu; | ^~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'ath10k_htt_rx_extract_amsdu' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2175:3, inlined from 'ath10k_htt_rx_in_ord_ind' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2316:9: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_in_ord_ind': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2256:29: note: object 'list' of size 96 2256 | struct sk_buff_head list; | ^~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'ath10k_htt_txrx_compl_task' at /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:3202:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_txrx_compl_task': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:3142:29: note: object 'tx_ind_q' of size 96 3142 | struct sk_buff_head tx_ind_q; | ^~~~~~~~ /kisskb/src/drivers/net/usb/net1080.c: In function 'net1080_rx_fixup': /kisskb/src/drivers/net/usb/net1080.c:372:32: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 372 | hdr_len = le16_to_cpup(&header->hdr_len); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/net1080.c:373:35: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 373 | packet_len = le16_to_cpup(&header->packet_len); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/renesas-ceu.c: In function '__ceu_try_fmt': /kisskb/src/drivers/media/platform/renesas-ceu.c:842:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 842 | v4l_bound_align_image(&pix->width, 2, CEU_MAX_WIDTH, 4, | ^~~~~~~~~~~ /kisskb/src/drivers/media/platform/renesas-ceu.c:843:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 843 | &pix->height, 4, CEU_MAX_HEIGHT, 4, 0); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/ipw2x00/ipw2200.c: In function 'ipw_queue_tx_init': /kisskb/src/drivers/net/wireless/intel/ipw2x00/ipw2200.c:3792:65: warning: taking address of packed member of 'struct clx2_queue' may result in an unaligned pointer value [-Waddress-of-packed-member] 3792 | pci_alloc_consistent(dev, sizeof(q->bd[0]) * count, &q->q.dma_addr); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/ipw2x00/ipw2200.c: In function 'ipw_tx_skb': /kisskb/src/drivers/net/wireless/intel/ipw2x00/ipw2200.c:10280:38: warning: taking address of packed member of 'struct tfd_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 10280 | le32_add_cpu(&tfd->u.data.num_chunks, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c: In function 'bna_bfi_stats_get_rsp': /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:197:9: note: in expansion of macro 'bna_stats_copy' 197 | bna_stats_copy(mac, mac); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:197:9: note: in expansion of macro 'bna_stats_copy' 197 | bna_stats_copy(mac, mac); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:198:9: note: in expansion of macro 'bna_stats_copy' 198 | bna_stats_copy(bpc, bpc); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:198:9: note: in expansion of macro 'bna_stats_copy' 198 | bna_stats_copy(bpc, bpc); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:199:9: note: in expansion of macro 'bna_stats_copy' 199 | bna_stats_copy(rad, rad); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:199:9: note: in expansion of macro 'bna_stats_copy' 199 | bna_stats_copy(rad, rad); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:200:9: note: in expansion of macro 'bna_stats_copy' 200 | bna_stats_copy(rlb, rad); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:200:9: note: in expansion of macro 'bna_stats_copy' 200 | bna_stats_copy(rlb, rad); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:201:9: note: in expansion of macro 'bna_stats_copy' 201 | bna_stats_copy(fc_rx, fc_rx); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:201:9: note: in expansion of macro 'bna_stats_copy' 201 | bna_stats_copy(fc_rx, fc_rx); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:73:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:202:9: note: in expansion of macro 'bna_stats_copy' 202 | bna_stats_copy(fc_tx, fc_tx); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:74:28: warning: taking address of packed member of 'struct bfi_enet_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ^ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:202:9: note: in expansion of macro 'bna_stats_copy' 202 | bna_stats_copy(fc_tx, fc_tx); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/rcar_jpu.c: In function '__jpu_try_fmt': /kisskb/src/drivers/media/platform/rcar_jpu.c:800:31: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 800 | jpu_bound_align_image(&pix->width, JPU_WIDTH_MIN, JPU_WIDTH_MAX, | ^~~~~~~~~~~ /kisskb/src/drivers/media/platform/rcar_jpu.c:801:45: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] 801 | fmt->h_align, &pix->height, JPU_HEIGHT_MIN, | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_op_pull_swba_ev': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c:3504:33: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 3504 | ev->bcn_info[i].tim_info.tim_bitmap; | ^~ /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_10_2_4_op_pull_swba_ev': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c:3550:33: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 3550 | ev->bcn_info[i].tim_info.tim_bitmap; | ^~ /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_10_4_op_pull_swba_ev': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c:3602:33: warning: taking address of packed member of 'struct wmi_10_4_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 3602 | ev->bcn_info[i].tim_info.tim_bitmap; | ^~ /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_main_op_pull_svc_rdy_ev': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c:5238:28: warning: taking address of packed member of 'struct wmi_service_ready_event' may result in an unaligned pointer value [-Waddress-of-packed-member] 5238 | arg->service_map = ev->wmi_service_bitmap; | ^~ /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_10x_op_pull_svc_rdy_ev': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c:5276:28: warning: taking address of packed member of 'struct wmi_10x_service_ready_event' may result in an unaligned pointer value [-Waddress-of-packed-member] 5276 | arg->service_map = ev->wmi_service_bitmap; | ^~ /kisskb/src/drivers/power/supply/max17042_battery.c: In function 'max17042_init_model': /kisskb/src/drivers/power/supply/max17042_battery.c:588:41: warning: taking address of packed member of 'struct max17042_config_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 588 | chip->pdata->config_data->cell_char_tbl, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c: In function 'il_full_rxon_required': /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3812:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 3812 | CHK(!ether_addr_equal_64bits(staging->bssid_addr, active->bssid_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3812:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 3812 | CHK(!ether_addr_equal_64bits(staging->bssid_addr, active->bssid_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3812:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 3812 | CHK(!ether_addr_equal_64bits(staging->bssid_addr, active->bssid_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3812:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 3812 | CHK(!ether_addr_equal_64bits(staging->bssid_addr, active->bssid_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ In file included from /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:31: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3813:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 3813 | CHK(!ether_addr_equal_64bits(staging->node_addr, active->node_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3813:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 3813 | CHK(!ether_addr_equal_64bits(staging->node_addr, active->node_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3813:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 3813 | CHK(!ether_addr_equal_64bits(staging->node_addr, active->node_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_ioc.c: In function 'bfa_nw_ioc_fwver_get': /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_ioc.c:1299:9: warning: converting a packed 'struct bfi_ioc_image_hdr' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1299 | u32 *fwsig = (u32 *) fwhdr; | ^~~ In file included from /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_ioc.h:24, from /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_ioc.c:20: /kisskb/src/drivers/net/ethernet/brocade/bna/bfi.h:259:8: note: defined here 259 | struct bfi_ioc_image_hdr { | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3813:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 3813 | CHK(!ether_addr_equal_64bits(staging->node_addr, active->node_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3814:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 3814 | CHK(!ether_addr_equal_64bits(staging->wlap_bssid_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3815 | active->wlap_bssid_addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3814:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 3814 | CHK(!ether_addr_equal_64bits(staging->wlap_bssid_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3815 | active->wlap_bssid_addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3814:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 3814 | CHK(!ether_addr_equal_64bits(staging->wlap_bssid_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3815 | active->wlap_bssid_addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3814:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 3814 | CHK(!ether_addr_equal_64bits(staging->wlap_bssid_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3815 | active->wlap_bssid_addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.c:3797:14: note: in definition of macro 'CHK' 3797 | if ((cond)) { \ | ^~~~ /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/pwm/pwm-cros-ec.c: In function 'cros_ec_pwm_set_duty': /kisskb/src/drivers/pwm/pwm-cros-ec.c:40:39: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | struct cros_ec_command *msg = &buf.msg; | ^~~~~~~~ /kisskb/src/drivers/pwm/pwm-cros-ec.c: In function '__cros_ec_pwm_get_duty': /kisskb/src/drivers/pwm/pwm-cros-ec.c:68:39: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 68 | struct cros_ec_command *msg = &buf.msg; | ^~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/fw.c: In function 'iwl_mvm_mfu_assert_dump_notif': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/fw.c:185:29: warning: taking address of packed member of 'struct iwl_mfu_assert_dump_notif' may result in an unaligned pointer value [-Waddress-of-packed-member] 185 | __le32 *dump_data = mfu_dump_notif->data; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_cee.c: In function 'bfa_cee_stats_swap': /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_cee.c:37:9: warning: converting a packed 'struct bfa_cee_stats' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 37 | u32 *buffer = (u32 *)stats; | ^~~ In file included from /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_cee.h:23, from /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_cee.c:20: /kisskb/src/drivers/net/ethernet/brocade/bna/bfa_defs_cna.h:196:8: note: defined here 196 | struct bfa_cee_stats { | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c: In function 'iwl_mvm_get_regdomain': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:309:43: warning: taking address of packed member of 'struct iwl_mcc_update_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] 309 | resp->channels, | ~~~~^~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/wmi-tlv.c: In function 'ath10k_wmi_tlv_swba_tim_parse': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi-tlv.c:859:36: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 859 | tim_info_arg->tim_bitmap = tim_info_ev->tim_bitmap; | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/ipw2x00/libipw_rx.c: In function 'is_same_network': /kisskb/src/drivers/net/wireless/intel/ipw2x00/libipw_rx.c:1454:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 1454 | ether_addr_equal_64bits(src->bssid, dst->bssid) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/ipw2x00/libipw_rx.c:1454:17: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/intel/ipw2x00/libipw_rx.c:1454:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/intel/ipw2x00/libipw_rx.c:1454:17: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/include/linux/if_vlan.h:16, from /kisskb/src/include/linux/filter.h:22, from /kisskb/src/include/net/sock.h:64, from /kisskb/src/include/linux/tcp.h:23, from /kisskb/src/drivers/net/wireless/intel/ipw2x00/libipw_rx.c:28: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/lib.c: In function 'iwlagn_wowlan_program_keys': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:936:63: warning: taking address of packed member of 'struct iwlagn_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] 936 | iwlagn_convert_p1k(p1k, data->tkip->tx.p1k); | ~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:965:51: warning: taking address of packed member of 'struct iwlagn_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] 965 | iwlagn_convert_p1k(p1k, rx_p1ks[0].p1k); | ~~~~~~~~~~^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:968:51: warning: taking address of packed member of 'struct iwlagn_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] 968 | iwlagn_convert_p1k(p1k, rx_p1ks[1].p1k); | ~~~~~~~~~~^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/ops.c: In function 'iwl_mvm_d0i3_exit_work': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/ops.c:1640:19: warning: taking address of packed member of 'struct iwl_wowlan_status' may result in an unaligned pointer value [-Waddress-of-packed-member] 1640 | qos_seq = status->qos_seq_ctr; | ^~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c: In function 'il4965_accumulative_stats': /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:1342:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1342 | prev_stats = (__le32 *) &il->_4965.stats; | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:1343:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1343 | accum_stats = (u32 *) &il->_4965.accum_stats; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:1347:25: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1347 | delta = (u32 *) &il->_4965.delta_stats; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:1348:29: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1348 | max_delta = (u32 *) &il->_4965.max_delta; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c: In function 'il4965_hdl_stats': /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:1386:50: warning: taking address of packed member of 'struct il_rx_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] 1386 | il4965_accumulative_stats(il, (__le32 *) &pkt->u.stats); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c: In function 'il4965_hw_get_beacon_cmd': /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:3821:55: warning: taking address of packed member of 'struct il_tx_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 3821 | il4965_fill_beacon_frame(il, tx_beacon_cmd->frame, | ~~~~~~~~~~~~~^~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:5: /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c: In function 'determine_fw_capabilities': /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:88:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 88 | le16_to_cpus(&nic_id.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:88:9: note: in expansion of macro 'le16_to_cpus' 88 | le16_to_cpus(&nic_id.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:89:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | le16_to_cpus(&nic_id.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:89:9: note: in expansion of macro 'le16_to_cpus' 89 | le16_to_cpus(&nic_id.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:90:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 90 | le16_to_cpus(&nic_id.major); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:90:9: note: in expansion of macro 'le16_to_cpus' 90 | le16_to_cpus(&nic_id.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:91:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 91 | le16_to_cpus(&nic_id.minor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:91:9: note: in expansion of macro 'le16_to_cpus' 91 | le16_to_cpus(&nic_id.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:111:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 111 | le16_to_cpus(&sta_id.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:111:9: note: in expansion of macro 'le16_to_cpus' 111 | le16_to_cpus(&sta_id.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:112:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 112 | le16_to_cpus(&sta_id.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:112:9: note: in expansion of macro 'le16_to_cpus' 112 | le16_to_cpus(&sta_id.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:113:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 113 | le16_to_cpus(&sta_id.major); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:113:9: note: in expansion of macro 'le16_to_cpus' 113 | le16_to_cpus(&sta_id.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:114:22: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] 114 | le16_to_cpus(&sta_id.minor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/orinoco/hw.c:114:9: note: in expansion of macro 'le16_to_cpus' 114 | le16_to_cpus(&sta_id.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/calib.c: In function 'iwl_sensitivity_write': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/calib.c:481:56: warning: taking address of packed member of 'struct iwl_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 481 | iwl_prepare_legacy_sensitivity_tbl(priv, data, &cmd.table[0]); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/calib.c: In function 'iwl_enhance_sensitivity_write': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/calib.c:516:56: warning: taking address of packed member of 'struct iwl_enhance_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 516 | iwl_prepare_legacy_sensitivity_tbl(priv, data, &cmd.enhance_table[0]); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c: In function 'vl600_rx_fixup': /kisskb/src/drivers/net/usb/lg-vl600.c:131:46: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 131 | le32_to_cpup(&frame->len)) { | ^~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c:153:50: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 153 | buf->len != le32_to_cpup(&frame->len)) { | ^~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c:159:46: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 159 | le32_to_cpup(&frame->len), GFP_ATOMIC); | ^~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c:166:30: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 166 | count = le32_to_cpup(&frame->pkt_cnt); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c:177:61: warning: taking address of packed member of 'struct vl600_pkt_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 177 | packet_len = sizeof(*packet) + le32_to_cpup(&packet->len); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c:190:34: warning: taking address of packed member of 'struct ethhdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | if (be16_to_cpup(ðhdr->h_proto) == ETH_P_ARP && | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c: In function 'vl600_tx_fixup': /kisskb/src/drivers/net/usb/lg-vl600.c:255:67: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 255 | if (skb->len > sizeof(*frame) && skb->len == le32_to_cpup(&frame->len)) | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c: In function 'iwl_mvm_mac_ctxt_send_beacon_v6': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1017:47: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v6' may result in an unaligned pointer value [-Waddress-of-packed-member] 1017 | iwl_mvm_mac_ctxt_set_tim(mvm, &beacon_cmd.tim_idx, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1018:42: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v6' may result in an unaligned pointer value [-Waddress-of-packed-member] 1018 | &beacon_cmd.tim_size, | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c: In function 'iwl_mvm_mac_ctxt_send_beacon_v7': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1037:47: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v7' may result in an unaligned pointer value [-Waddress-of-packed-member] 1037 | iwl_mvm_mac_ctxt_set_tim(mvm, &beacon_cmd.tim_idx, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1038:42: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd_v7' may result in an unaligned pointer value [-Waddress-of-packed-member] 1038 | &beacon_cmd.tim_size, | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c: In function 'iwl_mvm_mac_ctxt_send_beacon_v9': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1074:47: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 1074 | iwl_mvm_mac_ctxt_set_tim(mvm, &beacon_cmd.tim_idx, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1075:42: warning: taking address of packed member of 'struct iwl_mac_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 1075 | &beacon_cmd.tim_size, | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/rapidio/rio.c: In function 'rio_clr_err_stopped': /kisskb/src/drivers/rapidio/rio.c:1085:57: warning: array subscript 'pnum' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 1085 | struct rio_dev *nextdev = rdev->rswitch->nextdev[pnum]; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /kisskb/src/drivers/rapidio/rio.c:22: /kisskb/src/include/linux/rio.h:107:25: note: while referencing 'nextdev' 107 | struct rio_dev *nextdev[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/intersil/orinoco/scan.c: In function 'orinoco_add_hostscan_result': /kisskb/src/drivers/net/wireless/intersil/orinoco/scan.c:101:61: warning: taking address of packed member of 'struct symbol_scan_apinfo' may result in an unaligned pointer value [-Waddress-of-packed-member] 101 | ie_len += symbol_build_supp_rates(ie, bss->s.rates); | ~~~~~~^~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/relay.h:15, from /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spectral_count' at /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:402:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spectral_count': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:398:14: note: 'buf' declared here 398 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spectral_bins' at /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:458:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spectral_bins': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:454:14: note: 'buf' declared here 454 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spec_scan_ctl' at /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:322:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spec_scan_ctl': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/spectral.c:317:14: note: 'buf' declared here 317 | char buf[32]; | ^~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/timer.h:5, from /kisskb/src/include/linux/netdevice.h:28, from /kisskb/src/drivers/net/wireless/intersil/prism54/islpci_mgt.c:19: /kisskb/src/drivers/net/wireless/intersil/prism54/islpci_mgt.c: In function 'pimfor_decode_header': /kisskb/src/drivers/net/wireless/intersil/prism54/islpci_mgt.c:90:38: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 90 | le32_to_cpus(&h->oid); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/prism54/islpci_mgt.c:90:25: note: in expansion of macro 'le32_to_cpus' 90 | le32_to_cpus(&h->oid); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/prism54/islpci_mgt.c:91:38: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 91 | le32_to_cpus(&h->length); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/intersil/prism54/islpci_mgt.c:91:25: note: in expansion of macro 'le32_to_cpus' 91 | le32_to_cpus(&h->length); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c: In function 'iwlagn_accumulative_statistics': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:9: warning: converting a packed 'struct statistics_general_common' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 333 | ACCUM(common); | ^~~~~ In file included from /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/power.h:27, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/dev.h:47, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:35: /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2670:8: note: defined here 2670 | struct statistics_general_common { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:9: note: in expansion of macro 'ACCUM' 333 | ACCUM(common); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:9: note: in expansion of macro 'ACCUM' 333 | ACCUM(common); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:9: note: in expansion of macro 'ACCUM' 333 | ACCUM(common); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:9: warning: converting a packed 'struct statistics_rx_non_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2554:8: note: defined here 2554 | struct statistics_rx_non_phy { | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:9: note: in expansion of macro 'ACCUM' 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:9: note: in expansion of macro 'ACCUM' 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:9: note: in expansion of macro 'ACCUM' 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:9: warning: converting a packed 'struct statistics_rx_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2516:8: note: defined here 2516 | struct statistics_rx_phy { | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:9: note: in expansion of macro 'ACCUM' 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:9: note: in expansion of macro 'ACCUM' 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:9: note: in expansion of macro 'ACCUM' 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:9: warning: converting a packed 'struct statistics_rx_ht_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2539:8: note: defined here 2539 | struct statistics_rx_ht_phy { | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:9: note: in expansion of macro 'ACCUM' 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:9: note: in expansion of macro 'ACCUM' 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:9: note: in expansion of macro 'ACCUM' 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:9: warning: converting a packed 'struct statistics_rx_phy' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2516:8: note: defined here 2516 | struct statistics_rx_phy { | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:9: note: in expansion of macro 'ACCUM' 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:9: note: in expansion of macro 'ACCUM' 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:9: note: in expansion of macro 'ACCUM' 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:9: warning: converting a packed 'struct statistics_tx' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2635:8: note: defined here 2635 | struct statistics_tx { | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:9: note: in expansion of macro 'ACCUM' 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:9: note: in expansion of macro 'ACCUM' 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:9: note: in expansion of macro 'ACCUM' 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:17: warning: converting a packed 'struct statistics_bt_activity' pointer (alignment 1) to a '__le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 340 | ACCUM(bt_activity); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:2688:8: note: defined here 2688 | struct statistics_bt_activity { | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | (__le32 *)&priv->delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:17: note: in expansion of macro 'ACCUM' 340 | ACCUM(bt_activity); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | (__le32 *)&priv->max_delta_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:17: note: in expansion of macro 'ACCUM' 340 | ACCUM(bt_activity); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:31: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | (__le32 *)&priv->accum_stats._name, \ | ^ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:17: note: in expansion of macro 'ACCUM' 340 | ACCUM(bt_activity); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c: In function 'iwlagn_rx_statistics': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:382:24: warning: taking address of packed member of 'struct iwl_bt_notif_statistics' may result in an unaligned pointer value [-Waddress-of-packed-member] 382 | flag = &stats->flag; | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:400:24: warning: taking address of packed member of 'struct iwl_notif_statistics' may result in an unaligned pointer value [-Waddress-of-packed-member] 400 | flag = &stats->flag; | ^~~~~~~~~~~~ /kisskb/src/drivers/rapidio/rio-sysfs.c: In function 'lnext_show': /kisskb/src/drivers/rapidio/rio-sysfs.c:79:51: warning: array subscript 255 is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 79 | if (rdev->rswitch->nextdev[i]) | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/rapidio/rio-sysfs.c:14: /kisskb/src/include/linux/rio.h:107:25: note: while referencing 'nextdev' 107 | struct rio_dev *nextdev[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/rx.c: In function 'iwl_mvm_handle_rx_statistics': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/rx.c:795:33: warning: taking address of packed member of 'struct mvm_statistics_load_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 795 | bytes = (void *)&v11->load_stats.byte_count; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/rx.c:796:36: warning: taking address of packed member of 'struct mvm_statistics_load_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 796 | air_time = (void *)&v11->load_stats.air_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/rx.c:801:33: warning: taking address of packed member of 'struct mvm_statistics_load' may result in an unaligned pointer value [-Waddress-of-packed-member] 801 | bytes = (void *)&stats->load_stats.byte_count; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/rx.c:802:36: warning: taking address of packed member of 'struct mvm_statistics_load' may result in an unaligned pointer value [-Waddress-of-packed-member] 802 | air_time = (void *)&stats->load_stats.air_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_parse_firmware': /kisskb/src/drivers/net/wireless/intersil/p54/fwio.c:59:46: warning: taking address of packed member of 'struct bootrec' may result in an unaligned pointer value [-Waddress-of-packed-member] 59 | bootrec->data); | ^~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-calib.c: In function 'il4965_sensitivity_write': /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-calib.c:408:57: warning: taking address of packed member of 'struct il_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 408 | il4965_prepare_legacy_sensitivity_tbl(il, data, &cmd.table[0]); | ^~~~~~~~~~~~~ /kisskb/src/drivers/rapidio/rio-scan.c: In function 'rio_disc_peer': /kisskb/src/drivers/rapidio/rio-scan.c:743:47: warning: array subscript 'prev_port' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 743 | prev->rswitch->nextdev[prev_port] = rdev; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /kisskb/src/drivers/rapidio/rio-scan.c:27: /kisskb/src/include/linux/rio.h:107:25: note: while referencing 'nextdev' 107 | struct rio_dev *nextdev[0]; | ^~~~~~~ /kisskb/src/drivers/rapidio/rio-scan.c: In function 'rio_enum_peer': /kisskb/src/drivers/rapidio/rio-scan.c:590:47: warning: array subscript 'prev_port' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 590 | prev->rswitch->nextdev[prev_port] = rdev; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /kisskb/src/include/linux/rio.h:107:25: note: while referencing 'nextdev' 107 | struct rio_dev *nextdev[0]; | ^~~~~~~ /kisskb/src/drivers/rapidio/rio-scan.c:556:55: warning: array subscript 'prev_port' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 556 | prev->rswitch->nextdev[prev_port] = rdev; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /kisskb/src/include/linux/rio.h:107:25: note: while referencing 'nextdev' 107 | struct rio_dev *nextdev[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c: In function 'b43_generate_txhdr': /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:457:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 457 | (txhdr->format_598.rts_frame); | ^ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:461:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 461 | (txhdr->format_351.rts_frame); | ^ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:465:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | (txhdr->format_410.rts_frame); | ^ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:479:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 479 | (txhdr->format_598.rts_frame); | ^ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:483:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 483 | (txhdr->format_351.rts_frame); | ^ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:487:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 487 | (txhdr->format_410.rts_frame); | ^ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:519:34: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 519 | (&txhdr->format_598.rts_frame); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:523:34: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 523 | (&txhdr->format_351.rts_frame); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:527:34: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 527 | (&txhdr->format_410.rts_frame); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_pspoll_workaround': /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 310 | if (!ether_addr_equal_64bits(hdr->addr3, priv->bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:21: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c: In function 'il3945_hdl_stats': /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:427:50: warning: taking address of packed member of 'struct il_rx_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] 427 | il3945_accumulative_stats(il, (__le32 *) &pkt->u.raw); | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c: In function 'il3945_hdl_c_stats': /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:437:35: warning: taking address of packed member of 'struct il_rx_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] 437 | __le32 *flag = (__le32 *) &pkt->u.raw; | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c: In function 'il3945_pass_packet_to_mac80211': /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:517:39: warning: converting a packed 'struct il_rx_pkt' pointer (alignment 1) to a 'struct ieee80211_hdr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 517 | le32_to_cpu(rx_end->status), stats); | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/intel/iwlegacy/common.h:38, from /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:41: /kisskb/src/drivers/net/wireless/intel/iwlegacy/commands.h:3335:8: note: defined here 3335 | struct il_rx_pkt { | ^~~~~~~~~ In file included from /kisskb/src/include/net/mac80211.h:23, from /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:39: /kisskb/src/include/linux/ieee80211.h:236:8: note: defined here 236 | struct ieee80211_hdr { | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c: In function 'il3945_hw_get_beacon_cmd': /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:2442:55: warning: taking address of packed member of 'struct il3945_tx_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 2442 | il3945_fill_beacon_frame(il, tx_beacon_cmd->frame, | ~~~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c: In function 'il3945_is_network_packet': /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:468:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 468 | return ether_addr_equal_64bits(header->addr3, il->bssid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:468:24: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:468:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:468:24: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:37: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:471:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 471 | return ether_addr_equal_64bits(header->addr2, il->bssid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:471:24: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:471:24: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:471:24: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/remoteproc/remoteproc_debugfs.c:28: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rproc_recovery_write' at /kisskb/src/drivers/remoteproc/remoteproc_debugfs.c:127:8: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rproc_recovery_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/remoteproc/remoteproc_debugfs.c:121:14: note: 'buf' declared here 121 | char buf[10]; | ^~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/tx.c: In function 'iwl_mvm_rx_ba_notif': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1926:45: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed_ba_tfd[0]' [-Wzero-length-bounds] 1926 | &ba_res->tfd[i]; | ~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tdls.h:66, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h:66, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.h:73, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:83, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:72: /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tx.h:769:42: note: while referencing 'tfd' 769 | struct iwl_mvm_compressed_ba_tfd tfd[0]; | ^~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1926:45: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed_ba_tfd[0]' [-Wzero-length-bounds] 1926 | &ba_res->tfd[i]; | ~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tx.h:769:42: note: while referencing 'tfd' 769 | struct iwl_mvm_compressed_ba_tfd tfd[0]; | ^~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1926:45: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed_ba_tfd[0]' [-Wzero-length-bounds] 1926 | &ba_res->tfd[i]; | ~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tx.h:769:42: note: while referencing 'tfd' 769 | struct iwl_mvm_compressed_ba_tfd tfd[0]; | ^~~ In file included from /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c:32: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'ofld_poll' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c:1909:3: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c: In function 'ofld_poll': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c:1904:37: note: object 'queue' of size 96 1904 | struct sk_buff_head queue; | ^~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'ofld_poll' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c:1909:3: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c: In function 'ofld_poll': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/sge.c:1904:37: note: object 'queue' of size 96 1904 | struct sk_buff_head queue; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c: In function 't3_l2t_get': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:334:26: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 334 | for (e = d->l2tab[hash].first; e; e = e->next) | ~~~~~~~~^~~~~~ In file included from /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h:38, from /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h:40, from /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:42: /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ In function 'alloc_l2e', inlined from 't3_l2t_get' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:344:6: /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:227:34: warning: array subscript '<unknown>' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 227 | for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h: In function 't3_l2t_get': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ In function 'alloc_l2e', inlined from 't3_l2t_get' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:344:6: /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:231:18: warning: array subscript 1 is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 231 | for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h: In function 't3_l2t_get': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ In function 'alloc_l2e', inlined from 't3_l2t_get' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:344:6: /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:243:26: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 243 | for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h: In function 't3_l2t_get': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ In function 'alloc_l2e', inlined from 't3_l2t_get' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:344:6: /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:243:35: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 243 | for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) | ~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h: In function 't3_l2t_get': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:347:35: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 347 | e->next = d->l2tab[hash].first; | ~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:348:25: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 348 | d->l2tab[hash].first = e; | ~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c: In function 't3_l2t_update': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:409:26: warning: array subscript 'hash' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 409 | for (e = d->l2tab[hash].first; e; e = e->next) | ~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ In file included from /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:32: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 't3_l2t_update' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:427:5: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c: In function 't3_l2t_update': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:401:29: note: object 'arpq' of size 96 401 | struct sk_buff_head arpq; | ^~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c: In function 't3_init_l2t': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:453:20: warning: array subscript 1 is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 453 | d->rover = &d->l2tab[1]; /* entry 0 is not used */ | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:458:25: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 458 | d->l2tab[i].idx = i; | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:459:25: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 459 | d->l2tab[i].state = L2T_STATE_UNUSED; | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:17: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 460 | __skb_queue_head_init(&d->l2tab[i].arpq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:48: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 460 | __skb_queue_head_init(&d->l2tab[i].arpq); | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:48: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 460 | __skb_queue_head_init(&d->l2tab[i].arpq); | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:460:48: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 460 | __skb_queue_head_init(&d->l2tab[i].arpq); | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ In file included from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/skbuff.h:19: In function 'spinlock_check', inlined from 't3_init_l2t' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:461:3: /kisskb/src/include/linux/spinlock.h:318:16: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 318 | return &lock->rlock; | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h: In function 't3_init_l2t': /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.c:462:17: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'struct l2t_entry[0]' [-Wzero-length-bounds] 462 | atomic_set(&d->l2tab[i].refcnt, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb3/l2t.h:78:26: note: while referencing 'l2tab' 78 | struct l2t_entry l2tab[0]; | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/quota.c: In function 'iwl_mvm_update_quotas': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/quota.c:310:38: warning: taking address of packed member of 'struct iwl_time_quota_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 310 | le32_add_cpu(&qdata->quota, quota_rem); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.c: In function 'iwl_mvm_enable_txq': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.c:929:30: warning: taking address of packed member of 'struct iwl_scd_txq_cfg_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 929 | le16_add_cpu(&cmd.ssn, 1); | ^~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:23, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:24: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_pci_process_rx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1246:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_process_rx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1226:29: note: object 'list' of size 96 1226 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_pci_process_rx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1246:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_process_rx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1226:29: note: object 'list' of size 96 1226 | struct sk_buff_head list; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_pci_htc_tx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1211:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_htc_tx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1202:29: note: object 'list' of size 96 1202 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_pci_htc_tx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1211:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_htc_tx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1202:29: note: object 'list' of size 96 1202 | struct sk_buff_head list; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_pci_process_htt_rx_cb.constprop' at /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1294:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_process_htt_rx_cb.constprop': /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1270:29: note: object 'list' of size 96 1270 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_pci_process_htt_rx_cb.constprop' at /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1294:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_process_htt_rx_cb.constprop': /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:1270:29: note: object 'list' of size 96 1270 | struct sk_buff_head list; | ^~~~ /kisskb/src/drivers/media/usb/gspca/sn9c20x.c: In function 'sd_dbg_g_register': /kisskb/src/drivers/media/usb/gspca/sn9c20x.c:1565:61: warning: taking address of packed member of 'struct v4l2_dbg_register' may result in an unaligned pointer value [-Waddress-of-packed-member] 1565 | i2c_r2(gspca_dev, reg->reg, (u16 *) ®->val); | ^~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/net/mac80211.h:21, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.c:64: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'iwl_mvm_tx_deferred_stream' at /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.c:1499:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.c: In function 'iwl_mvm_tx_deferred_stream': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/sta.c:1466:29: note: object 'deferred_tx' of size 96 1466 | struct sk_buff_head deferred_tx; | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/net/tun.c:53: In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'tun_rx_batched' at /kisskb/src/drivers/net/tun.c:1547:3: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/tun.c: In function 'tun_rx_batched': /kisskb/src/drivers/net/tun.c:1533:29: note: object 'process_queue' of size 96 1533 | struct sk_buff_head process_queue; | ^~~~~~~~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'tun_rx_batched' at /kisskb/src/drivers/net/tun.c:1547:3: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/tun.c: In function 'tun_rx_batched': /kisskb/src/drivers/net/tun.c:1533:29: note: object 'process_queue' of size 96 1533 | struct sk_buff_head process_queue; | ^~~~~~~~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'tun_napi_receive' at /kisskb/src/drivers/net/tun.c:286:2, inlined from 'tun_napi_poll' at /kisskb/src/drivers/net/tun.c:307:13: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/tun.c: In function 'tun_napi_poll': /kisskb/src/drivers/net/tun.c:279:29: note: object 'process_queue' of size 96 279 | struct sk_buff_head process_queue; | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/skbuff.h:19, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/ath6kl/core.h:21, from /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:18: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath6kl_power_params_write' at /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1725:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath6kl_power_params_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1718:12: note: 'buf' declared here 1718 | u8 buf[100]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath6kl_roam_mode_write' at /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1272:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath6kl_roam_mode_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1267:14: note: 'buf' declared here 1267 | char buf[20]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath6kl_force_roam_write' at /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1240:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath6kl_force_roam_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1235:14: note: 'buf' declared here 1235 | char buf[20]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ath6kl_regwrite_write' at /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1087:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ath6kl_regwrite_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/debug.c:1081:14: note: 'buf' declared here 1081 | char buf[32]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/tun.c:44: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from '__tun_chr_ioctl' at /kisskb/src/drivers/net/tun.c:2987:7: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'ifr' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function '__tun_chr_ioctl': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/tun.c:2975:22: note: 'ifr' declared here 2975 | struct ifreq ifr; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from '__tun_chr_ioctl' at /kisskb/src/drivers/net/tun.c:2987:7: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'ifr' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function '__tun_chr_ioctl': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/tun.c:2975:22: note: 'ifr' declared here 2975 | struct ifreq ifr; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from '__tun_chr_ioctl' at /kisskb/src/drivers/net/tun.c:2987:7: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'ifr' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function '__tun_chr_ioctl': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/tun.c:2975:22: note: 'ifr' declared here 2975 | struct ifreq ifr; | ^~~ /kisskb/src/drivers/net/ethernet/broadcom/tg3.c: In function 'tg3_init_one': /kisskb/src/drivers/net/ethernet/broadcom/tg3.c:17876:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds] 17876 | struct tg3_napi *tnapi = &tp->napi[i]; | ~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/ethernet/broadcom/tg3.c:77: /kisskb/src/drivers/net/ethernet/broadcom/tg3.h:3203:41: note: while referencing 'napi' 3203 | struct tg3_napi napi[TG3_IRQ_MAX_VECS]; | ^~~~ /kisskb/src/drivers/net/ethernet/broadcom/tg3.c:17876:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds] 17876 | struct tg3_napi *tnapi = &tp->napi[i]; | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/broadcom/tg3.h:3203:41: note: while referencing 'napi' 3203 | struct tg3_napi napi[TG3_IRQ_MAX_VECS]; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:23, from /kisskb/src/drivers/net/wireless/ath/ath10k/hif.h:22, from /kisskb/src/drivers/net/wireless/ath/ath10k/ce.h:22, from /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:25: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_snoc_process_rx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:600:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_process_rx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:580:29: note: object 'list' of size 96 580 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_snoc_process_rx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:600:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_process_rx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:580:29: note: object 'list' of size 96 580 | struct sk_buff_head list; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_snoc_htc_tx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:667:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_htc_tx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:659:29: note: object 'list' of size 96 659 | struct sk_buff_head list; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath10k_snoc_htc_tx_cb' at /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:667:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_htc_tx_cb': /kisskb/src/drivers/net/wireless/ath/ath10k/snoc.c:659:29: note: object 'list' of size 96 659 | struct sk_buff_head list; | ^~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function 't4_phy_fw_ver': /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:3753:21: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 3753 | *phy_fw_ver = val; | ~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:3742:20: note: 'val' was declared here 3742 | u32 param, val; | ^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c: In function 'mt76x2_get_power_info_2g.isra': /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:385:44: warning: 'data[2]' may be used uninitialized [-Wmaybe-uninitialized] 385 | t->chain[chain].target_power = data[2]; | ~~~~^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:371:12: note: 'data[2]' was declared here 371 | u8 data[6]; | ^~~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:384:43: warning: 'data[1]' may be used uninitialized [-Wmaybe-uninitialized] 384 | t->chain[chain].tssi_offset = data[1]; | ~~~~^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:371:12: note: 'data[1]' was declared here 371 | u8 data[6]; | ^~~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:383:42: warning: 'data[0]' may be used uninitialized [-Wmaybe-uninitialized] 383 | t->chain[chain].tssi_slope = data[0]; | ~~~~^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:371:12: note: 'data[0]' was declared here 371 | u8 data[6]; | ^~~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c: In function 'mt76x2_get_power_info_5g.isra': /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:436:44: warning: 'data[2]' may be used uninitialized [-Wmaybe-uninitialized] 436 | t->chain[chain].target_power = data[2]; | ~~~~^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:402:12: note: 'data[2]' was declared here 402 | u8 data[5]; | ^~~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:435:43: warning: 'data[1]' may be used uninitialized [-Wmaybe-uninitialized] 435 | t->chain[chain].tssi_offset = data[1]; | ~~~~^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:402:12: note: 'data[1]' was declared here 402 | u8 data[5]; | ^~~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:434:42: warning: 'data[0]' may be used uninitialized [-Wmaybe-uninitialized] 434 | t->chain[chain].tssi_slope = data[0]; | ~~~~^~~ /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c:402:12: note: 'data[0]' was declared here 402 | u8 data[5]; | ^~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c: In function 'htc_wait_for_ctrl_msg': /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c:2275:20: warning: array subscript 'struct htc_frame_hdr[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 2275 | if (htc_hdr->eid != ENDPOINT_0) | ^~ /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c:2264:13: note: object 'look_ahead' of size 4 2264 | u32 look_ahead; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:13, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/ath6kl/core.h:21, from /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c:18: /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c:2285:46: warning: array subscript 'struct htc_frame_hdr[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 2285 | packet->act_len = le16_to_cpu(htc_hdr->payld_len) + HTC_HDR_LENGTH; | ^~ /kisskb/src/include/uapi/linux/swab.h:101:54: note: in definition of macro '__swab16' 101 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) | ^ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' 91 | #define le16_to_cpu __le16_to_cpu | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c:2285:27: note: in expansion of macro 'le16_to_cpu' 2285 | packet->act_len = le16_to_cpu(htc_hdr->payld_len) + HTC_HDR_LENGTH; | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/htc_mbox.c:2264:13: note: object 'look_ahead' of size 4 2264 | u32 look_ahead; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/net/mac80211.h:21, from /kisskb/src/drivers/net/wireless/mediatek/mt7601u/mt7601u.h:24, from /kisskb/src/drivers/net/wireless/mediatek/mt7601u/dma.c:14: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'mt7601u_tx_tasklet' at /kisskb/src/drivers/net/wireless/mediatek/mt7601u/dma.c:268:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/mediatek/mt7601u/dma.c: In function 'mt7601u_tx_tasklet': /kisskb/src/drivers/net/wireless/mediatek/mt7601u/dma.c:256:29: note: object 'skbs' of size 96 256 | struct sk_buff_head skbs; | ^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/offloading.c: In function 'iwl_mvm_send_proto_offload': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/offloading.c:156:51: warning: taking address of packed member of 'struct iwl_ns_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 156 | if (ipv6_addr_cmp(&nsc[j].dest_ipv6_addr, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c: In function 'ath6kl_tgt_stats_event': /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:834:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 834 | ath6kl_add_le32(&st_ap->tx_bytes, st_p->tx_bytes); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:835:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 835 | ath6kl_add_le32(&st_ap->tx_pkts, st_p->tx_pkts); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:836:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 836 | ath6kl_add_le32(&st_ap->tx_error, st_p->tx_error); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:837:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 837 | ath6kl_add_le32(&st_ap->tx_discard, st_p->tx_discard); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:838:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 838 | ath6kl_add_le32(&st_ap->rx_bytes, st_p->rx_bytes); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:839:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 839 | ath6kl_add_le32(&st_ap->rx_pkts, st_p->rx_pkts); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:840:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 840 | ath6kl_add_le32(&st_ap->rx_error, st_p->rx_error); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/main.c:841:41: warning: taking address of packed member of 'struct wmi_per_sta_stat' may result in an unaligned pointer value [-Waddress-of-packed-member] 841 | ath6kl_add_le32(&st_ap->rx_discard, st_p->rx_discard); | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/ath6kl/core.h:21, from /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c:20: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath6kl_tx_complete' at /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c:726:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c: In function 'ath6kl_tx_complete': /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c:684:29: note: object 'skb_queue' of size 96 684 | struct sk_buff_head skb_queue; | ^~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath6kl_tx_complete' at /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c:726:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c: In function 'ath6kl_tx_complete': /kisskb/src/drivers/net/wireless/ath/ath6kl/txrx.c:684:29: note: object 'skb_queue' of size 96 684 | struct sk_buff_head skb_queue; | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwl8k.c: In function 'rxq_process': /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1352:22: warning: taking address of packed member of 'struct mwl8k_dma_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1352 | wh = &((struct mwl8k_dma_data *)skb->data)->wh; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwl8k.c: In function 'mwl8k_txq_xmit': /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1928:14: warning: taking address of packed member of 'struct mwl8k_dma_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1928 | wh = &((struct mwl8k_dma_data *)skb->data)->wh; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwl8k.c: In function 'mwl8k_capture_bssid': /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1276:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 1276 | ether_addr_equal_64bits(wh->addr3, priv->capture_bssid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1276:17: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1276:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1276:17: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:21: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/b43legacy/xmit.c: In function 'b43legacy_generate_plcp_hdr': /kisskb/src/drivers/net/wireless/broadcom/b43legacy/xmit.c:127:24: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 127 | __le32 *data = &(plcp->data); | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/ath9k/ath9k.h:20, from /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:18: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'ath_txq_unlock_complete' at /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:109:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c: In function 'ath_txq_unlock_complete': /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:105:29: note: object 'q' of size 96 105 | struct sk_buff_head q; | ^ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'ath_txq_unlock_complete' at /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:109:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c: In function 'ath_txq_unlock_complete': /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:105:29: note: object 'q' of size 96 105 | struct sk_buff_head q; | ^ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath_tx_complete_aggr.constprop' at /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:670:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c: In function 'ath_tx_complete_aggr.constprop': /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:495:29: note: object 'bf_pending' of size 96 495 | struct sk_buff_head bf_pending; | ^~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath_tx_complete_aggr.constprop' at /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:670:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c: In function 'ath_tx_complete_aggr.constprop': /kisskb/src/drivers/net/wireless/ath/ath9k/xmit.c:495:29: note: object 'bf_pending' of size 96 495 | struct sk_buff_head bf_pending; | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/d3.c: In function 'iwl_mvm_wowlan_program_keys': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/d3.c:264:64: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] 264 | iwl_mvm_convert_p1k(p1k, data->tkip->tx.p1k); | ~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/d3.c:294:52: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] 294 | iwl_mvm_convert_p1k(p1k, rx_p1ks[0].p1k); | ~~~~~~~~~~^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/d3.c:297:52: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] 297 | iwl_mvm_convert_p1k(p1k, rx_p1ks[1].p1k); | ~~~~~~~~~~^~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c: In function 'iwl_get_nvm': /kisskb/src/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1411:40: warning: taking address of packed member of 'struct iwl_nvm_get_info_regulatory' may result in an unaligned pointer value [-Waddress-of-packed-member] 1411 | rsp->regulatory.channel_profile, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/wmm.c: In function 'mwifiex_ret_wmm_get_status': /kisskb/src/drivers/net/wireless/marvell/mwifiex/wmm.c:946:33: warning: converting a packed 'struct mwifiex_ie_types_data' pointer (alignment 1) to a 'struct mwifiex_ie_types_wmm_queue_status' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 946 | tlv_hdr; | ^~~~~~~ In file included from /kisskb/src/drivers/net/wireless/marvell/mwifiex/wmm.c:23: /kisskb/src/drivers/net/wireless/marvell/mwifiex/fw.h:653:8: note: defined here 653 | struct mwifiex_ie_types_data { | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/fw.h:1749:8: note: defined here 1749 | struct mwifiex_ie_types_wmm_queue_status { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wcn36xx/main.c: In function 'wcn36xx_update_allowed_rates': /kisskb/src/drivers/net/wireless/ath/wcn36xx/main.c:722:23: warning: taking address of packed member of 'struct wcn36xx_hal_supported_rates' may result in an unaligned pointer value [-Waddress-of-packed-member] 722 | rates_table = sta_priv->supported_rates.dsss_rates; | ^~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wcn36xx/main.c:733:23: warning: taking address of packed member of 'struct wcn36xx_hal_supported_rates' may result in an unaligned pointer value [-Waddress-of-packed-member] 733 | rates_table = sta_priv->supported_rates.ofdm_rates; | ^~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/carl9170/main.c:42: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'carl9170_flush_ba' at /kisskb/src/drivers/net/wireless/ath/carl9170/main.c:265:5: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/main.c: In function 'carl9170_flush_ba': /kisskb/src/drivers/net/wireless/ath/carl9170/main.c:251:29: note: object 'free' of size 96 251 | struct sk_buff_head free; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'carl9170_flush_ba' at /kisskb/src/drivers/net/wireless/ath/carl9170/main.c:265:5: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/main.c: In function 'carl9170_flush_ba': /kisskb/src/drivers/net/wireless/ath/carl9170/main.c:251:29: note: object 'free' of size 96 251 | struct sk_buff_head free; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:18: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_fws_rxreorder' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1816:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1660:29: note: object 'reorder_list' of size 96 1660 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_fws_rxreorder' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1816:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1660:29: note: object 'reorder_list' of size 96 1660 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_fws_rxreorder' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1795:5: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1660:29: note: object 'reorder_list' of size 96 1660 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_fws_rxreorder' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1795:5: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1660:29: note: object 'reorder_list' of size 96 1660 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_fws_rxreorder' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1691:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1660:29: note: object 'reorder_list' of size 96 1660 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_fws_rxreorder' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1691:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1660:29: note: object 'reorder_list' of size 96 1660 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/moduleparam.h:7, from /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:18: /kisskb/src/drivers/net/wireless/ath/wil6210/main.c: In function 'wil_mbox_ring_le2cpus': /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1166:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] 1166 | le32_to_cpus(&r->base); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1166:9: note: in expansion of macro 'le32_to_cpus' 1166 | le32_to_cpus(&r->base); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1167:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] 1167 | le16_to_cpus(&r->entry_size); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1167:9: note: in expansion of macro 'le16_to_cpus' 1167 | le16_to_cpus(&r->entry_size); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1168:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] 1168 | le16_to_cpus(&r->size); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1168:9: note: in expansion of macro 'le16_to_cpus' 1168 | le16_to_cpus(&r->size); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1169:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | le32_to_cpus(&r->tail); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1169:9: note: in expansion of macro 'le32_to_cpus' 1169 | le32_to_cpus(&r->tail); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1170:22: warning: taking address of packed member of 'struct wil6210_mbox_ring' may result in an unaligned pointer value [-Waddress-of-packed-member] 1170 | le32_to_cpus(&r->head); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1170:9: note: in expansion of macro 'le32_to_cpus' 1170 | le32_to_cpus(&r->head); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c: In function 'wil_get_bl_info': /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1213:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v0' may result in an unaligned pointer value [-Waddress-of-packed-member] 1213 | le32_to_cpus(&bl.bl0.rf_type); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1213:17: note: in expansion of macro 'le32_to_cpus' 1213 | le32_to_cpus(&bl.bl0.rf_type); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1214:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v0' may result in an unaligned pointer value [-Waddress-of-packed-member] 1214 | le32_to_cpus(&bl.bl0.baseband_type); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1214:17: note: in expansion of macro 'le32_to_cpus' 1214 | le32_to_cpus(&bl.bl0.baseband_type); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1222:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 1222 | le16_to_cpus(&bl.bl1.rf_type); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1222:17: note: in expansion of macro 'le16_to_cpus' 1222 | le16_to_cpus(&bl.bl1.rf_type); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1224:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 1224 | le32_to_cpus(&bl.bl1.baseband_type); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1224:17: note: in expansion of macro 'le32_to_cpus' 1224 | le32_to_cpus(&bl.bl1.baseband_type); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1225:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 1225 | le16_to_cpus(&bl.bl1.bl_version_subminor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1225:17: note: in expansion of macro 'le16_to_cpus' 1225 | le16_to_cpus(&bl.bl1.bl_version_subminor); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1226:30: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 1226 | le16_to_cpus(&bl.bl1.bl_version_build); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1226:17: note: in expansion of macro 'le16_to_cpus' 1226 | le16_to_cpus(&bl.bl1.bl_version_build); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c: In function 'rt2x00lib_rxdone_check_ba': /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:639:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 639 | if (!ether_addr_equal_64bits(ba->ra, entry->ta)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:639:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:639:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:639:22: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00.h:36, from /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:32: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:642:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 642 | if (!ether_addr_equal_64bits(ba->ta, entry->ra)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:642:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:642:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:642:22: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/main.c: In function 'ath_is_mybeacon': /kisskb/src/drivers/net/wireless/ath/main.c:67:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 67 | ether_addr_equal_64bits(hdr->addr3, common->curbssid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/main.c:67:17: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/ath/main.c:67:17: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/ath/main.c:67:17: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/ath/ath.h:20, from /kisskb/src/drivers/net/wireless/ath/main.c:22: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8187se_interrupt': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:386:38: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 386 | reg = rtl818x_ioread32(priv, &priv->map->INT_STATUS_SE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:392:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 392 | rtl818x_iowrite32(priv, &priv->map->INT_STATUS_SE, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:395:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 395 | rtl818x_iowrite32(priv, &priv->map->INT_TIMEOUT, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_interrupt': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:432:38: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 432 | reg = rtl818x_ioread16(priv, &priv->map->INT_STATUS); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:438:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 438 | rtl818x_iowrite16(priv, &priv->map->INT_STATUS, reg); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_set_anaparam3': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:603:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 603 | rtl818x_iowrite16(priv, &priv->map->ANAPARAM3, anaparam3); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_set_anaparam2': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:623:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 623 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, anaparam2); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_set_anaparam': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:640:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 640 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM, anaparam); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_int_enable': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:720:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 720 | rtl818x_iowrite32(priv, &priv->map->IMR, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:729:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 729 | rtl818x_iowrite16(priv, &priv->map->INT_MASK, 0xFFFF); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_int_disable': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:738:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 738 | rtl818x_iowrite32(priv, &priv->map->IMR, 0); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:740:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 740 | rtl818x_iowrite16(priv, &priv->map->INT_MASK, 0); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_conf_basic_rates': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:768:46: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 768 | reg = rtl818x_ioread16(priv, &priv->map->BRSR); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:771:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 771 | rtl818x_iowrite16(priv, &priv->map->BRSR, reg); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:778:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 778 | rtl818x_iowrite16(priv, &priv->map->BRSR, basic_mask); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:787:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 787 | rtl818x_iowrite16(priv, &priv->map->BRSR_8187SE, resp_mask); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_config_cardbus': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:805:48: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 805 | reg16 = rtl818x_ioread16(priv, &priv->map->FEMR); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:807:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 807 | rtl818x_iowrite16(priv, &priv->map->FEMR, reg16); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_init_hw': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:855:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 855 | rtl818x_iowrite32(priv, &priv->map->RDSAR, priv->rx_ring_dma); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:861:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 861 | rtl818x_iowrite32(priv, &priv->map->TBDA, | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:863:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 863 | rtl818x_iowrite32(priv, &priv->map->TLPDA, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:866:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 866 | rtl818x_iowrite32(priv, &priv->map->TBDA, | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:868:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 868 | rtl818x_iowrite32(priv, &priv->map->TVODA, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:870:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 870 | rtl818x_iowrite32(priv, &priv->map->TVIDA, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:872:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 872 | rtl818x_iowrite32(priv, &priv->map->TBEDA, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:874:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 874 | rtl818x_iowrite32(priv, &priv->map->TBKDA, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:892:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 892 | rtl818x_iowrite32(priv, &priv->map->INT_TIMEOUT, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:935:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 935 | rtl818x_iowrite16(priv, &priv->map->TID_AC_MAP, 0xFA50); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:937:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 937 | rtl818x_iowrite16(priv, &priv->map->INT_MIG, 0); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:957:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 957 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:958:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 958 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1BFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:959:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 959 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x2488); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:961:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 961 | rtl818x_iowrite32(priv, &priv->map->RF_TIMING, 0x4003); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:967:48: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 967 | reg32 = rtl818x_ioread32(priv, &priv->map->RF_PARA); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:970:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 970 | rtl818x_iowrite32(priv, &priv->map->RF_PARA, reg32); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_start': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1154:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1154 | rtl818x_iowrite32(priv, &priv->map->MAR[0], ~0); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1155:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1155 | rtl818x_iowrite32(priv, &priv->map->MAR[1], ~0); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1178:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1178 | rtl818x_iowrite32(priv, &priv->map->RX_CONF, reg); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1209:38: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1209 | reg = rtl818x_ioread32(priv, &priv->map->TX_CONF); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1226:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1226 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_get_tsf': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1276:39: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1276 | return rtl818x_ioread32(priv, &priv->map->TSFT[0]) | | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1277:45: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1277 | (u64)(rtl818x_ioread32(priv, &priv->map->TSFT[1])) << 32; | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8187se_conf_ac_parm': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1404:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1404 | rtl818x_iowrite32(priv, &priv->map->AC_BK_PARAM, ac_param); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1407:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1407 | rtl818x_iowrite32(priv, &priv->map->AC_BE_PARAM, ac_param); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1410:41: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1410 | rtl818x_iowrite32(priv, &priv->map->AC_VI_PARAM, ac_param); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1413:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1413 | rtl818x_iowrite32(priv, &priv->map->AC_VO_PARAM, ac_param); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_configure_filter': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1597:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1597 | rtl818x_iowrite32(priv, &priv->map->RX_CONF, priv->rx_conf); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_eeprom_read': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1654:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1654 | if (rtl818x_ioread32(priv, &priv->map->RX_CONF) & (1 << 6)) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_probe': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1817:38: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1817 | reg = rtl818x_ioread32(priv, &priv->map->TX_CONF); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/vmalloc.h:5, from /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:65: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_queue' at /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:877:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_queue': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:874:14: note: 'buf' declared here 874 | char buf[20]; | ^~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c: In function 'brcms_c_ampdu_finalize': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c:687:15: warning: taking address of packed member of 'struct d11txh' may result in an unaligned pointer value [-Waddress-of-packed-member] 687 | rts = (struct ieee80211_rts *)&txh->rts_frame; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_ani' at /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:779:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_ani': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:776:14: note: 'buf' declared here 776 | char buf[20]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_frameerrors' at /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:630:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_frameerrors': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:627:14: note: 'buf' declared here 627 | char buf[20]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_antenna' at /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:457:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_antenna': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:454:14: note: 'buf' declared here 454 | char buf[20]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_beacon' at /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:250:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_beacon': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:247:14: note: 'buf' declared here 247 | char buf[20]; | ^~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:19: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_sdiod_sglist_rw' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:399:3: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_sglist_rw': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:367:29: note: object 'local_list' of size 96 367 | struct sk_buff_head local_list, *target_list; | ^~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_sdiod_sglist_rw' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:399:3: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_sglist_rw': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:367:29: note: object 'local_list' of size 96 367 | struct sk_buff_head local_list, *target_list; | ^~~~~~~~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_sdiod_sglist_rw' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:391:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_sglist_rw': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:367:29: note: object 'local_list' of size 96 367 | struct sk_buff_head local_list, *target_list; | ^~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_sdiod_sglist_rw' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:391:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_sglist_rw': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:367:29: note: object 'local_list' of size 96 367 | struct sk_buff_head local_list, *target_list; | ^~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_debug' at /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:352:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_debug': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath5k/debug.c:349:14: note: 'buf' declared here 349 | char buf[20]; | ^~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:23: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_sdio_sendfromq.isra' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2301:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_sendfromq.isra': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2275:29: note: object 'pktq' of size 96 2275 | struct sk_buff_head pktq; | ^~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'brcmf_sdio_sendfromq.isra' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2301:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_sendfromq.isra': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2275:29: note: object 'pktq' of size 96 2275 | struct sk_buff_head pktq; | ^~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8225_write': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:34:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 34 | reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput) & 0xfff3; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:35:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 35 | reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:37:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 37 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x7); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:39:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 39 | reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:40:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x7 | 0x400); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:44:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 44 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:47:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 47 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:58:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 58 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:60:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 60 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg | (1 << 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:61:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 61 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg | (1 << 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:64:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 64 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:67:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 67 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:71:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 71 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:72:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 72 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x400); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:73:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8225_read': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:82:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 82 | reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:83:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 83 | reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:84:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 84 | reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect) | 0x400; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:88:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 88 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x000F); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:89:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x000F); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:91:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 91 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:94:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 94 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:102:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 102 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:107:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 107 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:111:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 111 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:117:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 117 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:123:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 123 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x000E); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:124:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 124 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x040E); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:126:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 126 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:130:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:134:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 134 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:141:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 141 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:145:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 145 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:149:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:153:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 153 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:158:44: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 158 | if (rtl818x_ioread16(priv, &priv->map->RFPinsInput) & (1 << 1)) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:161:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 161 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:167:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 167 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:172:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 172 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:173:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 173 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:174:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 174 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x03A0); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8225_rf_set_tx_power': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:290:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 290 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, RTL8225_ANAPARAM2_ON); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8225_rf_init': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:313:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 313 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:314:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 314 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:315:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 315 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x0488); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:321:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 321 | rtl818x_iowrite32(priv, &priv->map->RF_TIMING, 0x000a8008); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:324:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 324 | rtl818x_ioread16(priv, &priv->map->BRSR); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:325:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 325 | rtl818x_iowrite16(priv, &priv->map->BRSR, 0xFFFF); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:326:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 326 | rtl818x_iowrite32(priv, &priv->map->RF_PARA, 0x00100044); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:359:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 359 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:447:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 447 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8225z2_rf_init': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:542:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 542 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:543:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 543 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:544:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 544 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x0488); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:550:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 550 | rtl818x_iowrite32(priv, &priv->map->RF_TIMING, 0x00088008); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:553:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 553 | rtl818x_ioread16(priv, &priv->map->BRSR); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:554:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 554 | rtl818x_iowrite16(priv, &priv->map->BRSR, 0xFFFF); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:555:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 555 | rtl818x_iowrite32(priv, &priv->map->RF_PARA, 0x00100044); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:560:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 560 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:607:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:699:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 699 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8225_rf_stop': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:712:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 712 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, RTL8225_ANAPARAM2_OFF); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:713:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 713 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM, RTL8225_ANAPARAM_OFF); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c: In function 'rtl8180_detect_rf': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:753:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 753 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:754:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 754 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x0488); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:755:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 755 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c: In function 'write_sa2400': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:58:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 58 | (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c: In function 'sa2400_rf_init': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:177:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 177 | txconf = rtl818x_ioread32(priv, &priv->map->TX_CONF); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:178:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 178 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:190:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, txconf); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c: In function 'mwifiex_scan_channel_list': /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c:697:48: warning: taking address of packed member of 'struct mwifiex_ie_types_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 697 | le16_unaligned_add_cpu(&chan_tlv_out->header.len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c: In function 'mwifiex_cmd_802_11_bg_scan_config': /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c:2386:48: warning: taking address of packed member of 'struct mwifiex_ie_types_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2386 | le16_unaligned_add_cpu(&chan_list_tlv->header.len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c:2425:40: warning: taking address of packed member of 'struct mwifiex_ie_types_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2425 | le16_unaligned_add_cpu(&chan_list_tlv->header.len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c:2450:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 2450 | le16_unaligned_add_cpu(&cmd->size, tlv_pos - bgscan_config->tlv); | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wcn36xx/smd.c: In function 'wcn36xx_smd_feature_caps_exchange': /kisskb/src/drivers/net/wireless/ath/wcn36xx/smd.c:2058:31: warning: taking address of packed member of 'struct wcn36xx_hal_feat_caps_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2058 | set_feat_caps(msg_body.feat_caps, STA_POWERSAVE); | ~~~~~~~~^~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c: In function 'iwl_fill_data_tbs_amsdu': /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2132:22: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 2132 | le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2202:30: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 2202 | le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c: In function 'write_max2820': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c:57:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 57 | (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c: In function 'brcms_c_wme_setparams': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:4106:17: warning: converting a packed 'struct shm_acparams' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 4106 | shm_entry = (u16 *) &acp_shm; | ^~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h:21, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:27: /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h:1304:8: note: defined here 1304 | struct shm_acparams { | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c: In function 'brcms_c_d11hdrs_mac80211': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:6653:23: warning: taking address of packed member of 'struct d11txh' may result in an unaligned pointer value [-Waddress-of-packed-member] 6653 | rts = (struct ieee80211_rts *)&txh->rts_frame; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/cfg80211.c: In function 'wil_cfg80211_scan': /kisskb/src/drivers/net/wireless/ath/wil6210/cfg80211.c:804:37: warning: array subscript 255 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] 804 | cmd.cmd.channel_list[cmd.cmd.num_channels++].channel = ch - 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ath/wil6210/wil6210.h:28, from /kisskb/src/drivers/net/wireless/ath/wil6210/cfg80211.c:22: /kisskb/src/drivers/net/wireless/ath/wil6210/wmi.h:460:11: note: while referencing 'channel_list' 460 | } channel_list[0]; | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_mac_control': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:81:52: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 81 | struct host_cmd_ds_mac_control *mac_ctrl = &cmd->params.mac_ctrl; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_802_11_snmp_mib': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:129:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 129 | le16_unaligned_add_cpu(&cmd->size, MAX_SNMP_BUF_SIZE); | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:134:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 134 | le16_unaligned_add_cpu(&cmd->size, sizeof(u16)); | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_802_11_subsc_evt': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1356:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1356 | le16_unaligned_add_cpu(&cmd->size, | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1378:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1378 | le16_unaligned_add_cpu(&cmd->size, | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_coalesce_cfg': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1659:25: warning: taking address of packed member of 'struct coalesce_receive_filt_rule' may result in an unaligned pointer value [-Waddress-of-packed-member] 1659 | param = rule->params; | ^~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1683:40: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1683 | le16_unaligned_add_cpu(&cmd->size, | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1691:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1691 | le16_unaligned_add_cpu(&cmd->size, sizeof(u16) + sizeof(u16)); | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_tdls_config': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1709:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1709 | le16_unaligned_add_cpu(&cmd->size, sizeof(tdls_config->tdls_action)); | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1736:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1736 | le16_unaligned_add_cpu(&cmd->size, len); | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_tdls_oper': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1760:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1760 | le16_unaligned_add_cpu(&cmd->size, | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:1862:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 1862 | le16_unaligned_add_cpu(&cmd->size, config_len); | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:28: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'iwl_trans_pcie_reclaim' at /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:1138:3: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c: In function 'iwl_trans_pcie_reclaim': /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:1135:37: note: object 'overflow_skbs' of size 96 1135 | struct sk_buff_head overflow_skbs; | ^~~~~~~~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'iwl_trans_pcie_reclaim' at /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:1138:3: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c: In function 'iwl_trans_pcie_reclaim': /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:1135:37: note: object 'overflow_skbs' of size 96 1135 | struct sk_buff_head overflow_skbs; | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/net/wireless/ath/ath9k/dfs_debug.c:18: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_dfs' at /kisskb/src/drivers/net/wireless/ath/ath9k/dfs_debug.c:106:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_dfs': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/dfs_debug.c:102:14: note: 'buf' declared here 102 | char buf[32]; | ^~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c: In function 'write_grf5101': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c:52:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 52 | (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c:42: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'carl9170_tx_ampdu' at /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c:1198:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c: In function 'carl9170_tx_ampdu': /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c:1126:29: note: object 'agg' of size 96 1126 | struct sk_buff_head agg; | ^~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'carl9170_tx_ampdu' at /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c:1198:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c: In function 'carl9170_tx_ampdu': /kisskb/src/drivers/net/wireless/ath/carl9170/tx.c:1126:29: note: object 'agg' of size 96 1126 | struct sk_buff_head agg; | ^~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/uap_cmd.c: In function 'mwifiex_cmd_uap_sys_config': /kisskb/src/drivers/net/wireless/marvell/mwifiex/uap_cmd.c:726:19: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 726 | sys_cfg = (struct host_cmd_ds_sys_config *)&cmd->params.uap_sys_config; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c: In function 'carl9170_ba_check': /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:601:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 601 | ether_addr_equal_64bits(bar->ra, entry_bar->ta) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:601:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:601:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:601:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:42: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:602:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 602 | ether_addr_equal_64bits(bar->ta, entry_bar->ra)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:602:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:602:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/ath/carl9170/rx.c:602:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:24: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rt2x00debug_write_rfcsr' at /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:528:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rt2x00debug_write_rfcsr': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:478:14: note: 'line' declared here 478 | char line[17]; \ | ^~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:513:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS_WRITE' 513 | RT2X00DEBUGFS_OPS_WRITE(__name, __type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:528:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS' 528 | RT2X00DEBUGFS_OPS(rfcsr, "0x%.2x\n", u8); | ^~~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rt2x00debug_write_rf' at /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:527:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rt2x00debug_write_rf': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:478:14: note: 'line' declared here 478 | char line[17]; \ | ^~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:513:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS_WRITE' 513 | RT2X00DEBUGFS_OPS_WRITE(__name, __type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:527:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS' 527 | RT2X00DEBUGFS_OPS(rf, "0x%.8x\n", u32); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/skbuff.h:19, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/net/wireless/ath/ath9k/ath9k.h:20, from /kisskb/src/drivers/net/wireless/ath/ath9k/tx99.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_tx99' at /kisskb/src/drivers/net/wireless/ath/ath9k/tx99.c:187:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_tx99': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/tx99.c:175:14: note: 'buf' declared here 175 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rt2x00debug_write_bbp' at /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:526:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rt2x00debug_write_bbp': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:478:14: note: 'line' declared here 478 | char line[17]; \ | ^~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:513:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS_WRITE' 513 | RT2X00DEBUGFS_OPS_WRITE(__name, __type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:526:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS' 526 | RT2X00DEBUGFS_OPS(bbp, "0x%.2x\n", u8); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/debugfs.c: In function 'wil_txdesc_debugfs_show': /kisskb/src/drivers/net/wireless/ath/wil6210/debugfs.c:1107:9: warning: converting a packed 'volatile struct vring_tx_desc' pointer (alignment 1) to a 'u32' {aka 'volatile unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1107 | u = (volatile u32 *)d; | ^ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rt2x00debug_write_eeprom' at /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:525:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rt2x00debug_write_eeprom': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:478:14: note: 'line' declared here 478 | char line[17]; \ | ^~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:513:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS_WRITE' 513 | RT2X00DEBUGFS_OPS_WRITE(__name, __type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:525:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS' 525 | RT2X00DEBUGFS_OPS(eeprom, "0x%.4x\n", u16); | ^~~~~~~~~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rt2x00debug_write_csr' at /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:524:1: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rt2x00debug_write_csr': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:478:14: note: 'line' declared here 478 | char line[17]; \ | ^~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:513:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS_WRITE' 513 | RT2X00DEBUGFS_OPS_WRITE(__name, __type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c:524:1: note: in expansion of macro 'RT2X00DEBUGFS_OPS' 524 | RT2X00DEBUGFS_OPS(csr, "0x%.8x\n", u32); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c: In function 'mwifiex_update_autoindex_ies': /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c:134:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] 134 | le16_unaligned_add_cpu(&ie_list->len, | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c: In function 'mwifiex_update_uap_custom_ie': /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c:176:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] 176 | le16_unaligned_add_cpu(&ap_custom_ie->len, len); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c:183:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | le16_unaligned_add_cpu(&ap_custom_ie->len, len); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c:190:40: warning: taking address of packed member of 'struct mwifiex_ie_list' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | le16_unaligned_add_cpu(&ap_custom_ie->len, len); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c: In function 'mwifiex_update_vs_ie': /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c:246:40: warning: taking address of packed member of 'struct mwifiex_ie' may result in an unaligned pointer value [-Waddress-of-packed-member] 246 | le16_unaligned_add_cpu(&ie->ie_length, vs_ie->len + 2); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/net/wireless/ath/wcn36xx/debug.c:19: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_bool_bmps' at /kisskb/src/drivers/net/wireless/ath/wcn36xx/debug.c:63:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_bool_bmps': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wcn36xx/debug.c:59:14: note: 'buf' declared here 59 | char buf[32]; | ^~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_set_anaparam': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:602:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM, anaparam); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:603:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 603 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, anaparam2); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_init_hw': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:664:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 664 | rtl818x_iowrite16(priv, &priv->map->INT_MASK, 0); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:679:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 679 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:682:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 682 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, (4 << 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:696:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 696 | rtl818x_iowrite32(priv, &priv->map->INT_TIMEOUT, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:702:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 702 | rtl818x_iowrite16(priv, &priv->map->BRSR, 0x01F3); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:705:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 705 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:709:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 709 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, (4 << 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:712:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 712 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:713:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 713 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:714:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 714 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:717:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 717 | rtl818x_iowrite32(priv, &priv->map->RF_TIMING, 0x000a8008); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:718:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 718 | rtl818x_iowrite16(priv, &priv->map->BRSR, 0xFFFF); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:719:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 719 | rtl818x_iowrite32(priv, &priv->map->RF_PARA, 0x00100044); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:725:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 725 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FF7); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:730:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 730 | rtl818x_iowrite16(priv, &priv->map->BRSR, 0x01F3); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187b_init_hw': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:823:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 823 | rtl818x_iowrite16(priv, &priv->map->TID_AC_MAP, 0xFA50); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:824:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 824 | rtl818x_iowrite16(priv, &priv->map->INT_MIG, 0); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:830:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 830 | rtl818x_iowrite32(priv, &priv->map->RF_TIMING, 0x00004001); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:835:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 835 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:836:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 836 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x2488); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:837:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 837 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:844:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 844 | rtl818x_iowrite16(priv, &priv->map->INT_MASK, 0xFFFF); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:868:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 868 | rtl818x_iowrite32(priv, &priv->map->HSSI_PARA, 0x0600321B); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_start': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:952:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 952 | rtl818x_iowrite32(priv, &priv->map->RX_CONF, reg); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:960:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 960 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:975:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 975 | rtl818x_iowrite16(priv, &priv->map->INT_MASK, 0xFFFF); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:977:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 977 | rtl818x_iowrite32(priv, &priv->map->MAR[0], ~0); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:978:33: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 978 | rtl818x_iowrite32(priv, &priv->map->MAR[1], ~0); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:995:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 995 | rtl818x_iowrite32(priv, &priv->map->RX_CONF, reg); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1011:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1011 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_stop': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1031:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1031 | rtl818x_iowrite16(priv, &priv->map->INT_MASK, 0); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_get_tsf': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1060:39: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1060 | return rtl818x_ioread32(priv, &priv->map->TSFT[0]) | | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1061:45: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1061 | (u64)(rtl818x_ioread32(priv, &priv->map->TSFT[1])) << 32; | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_config': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1163:38: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1163 | reg = rtl818x_ioread32(priv, &priv->map->TX_CONF); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1168:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1168 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1172:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1172 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1174:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1174 | rtl818x_iowrite16(priv, &priv->map->ATIM_WND, 2); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1175:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1175 | rtl818x_iowrite16(priv, &priv->map->ATIMTR_INTERVAL, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1176:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1176 | rtl818x_iowrite16(priv, &priv->map->BEACON_INTERVAL, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1177:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1177 | rtl818x_iowrite16(priv, &priv->map->BEACON_INTERVAL_TIME, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_configure_filter': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1339:39: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1339 | rtl818x_iowrite32_async(priv, &priv->map->RX_CONF, priv->rx_conf); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c: In function 'rtl8187_probe': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1491:36: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1491 | if (rtl818x_ioread32(priv, &priv->map->RX_CONF) & (1 << 6)) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:1536:48: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1536 | reg32 = rtl818x_ioread32(priv, &priv->map->TX_CONF); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_nf_override' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:1209:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_nf_override': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:1205:14: note: 'buf' declared here 1205 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_debug' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:108:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_debug': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:104:14: note: 'buf' declared here 104 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_regidx' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:844:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_regidx': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:840:14: note: 'buf' declared here 840 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_tpc' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:1150:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_tpc': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:1145:14: note: 'buf' declared here 1145 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_wow' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:1086:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_wow': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:1082:14: note: 'buf' declared here 1082 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_bt_ant_diversity' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:255:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_bt_ant_diversity': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:251:14: note: 'buf' declared here 251 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_regval' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:889:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_regval': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:885:14: note: 'buf' declared here 885 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_ani' at /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:198:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_ani': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/debug.c:194:14: note: 'buf' declared here 194 | char buf[32]; | ^~~ /kisskb/src/drivers/net/wireless/ath/wil6210/txrx_edma.c: In function 'wil_ring_alloc_skb_edma': /kisskb/src/drivers/net/wireless/ath/wil6210/txrx_edma.c:207:46: warning: taking address of packed member of 'struct wil_ring_rx_enhanced_dma' may result in an unaligned pointer value [-Waddress-of-packed-member] 207 | wil_desc_set_addr_edma(&d->dma.addr, &d->dma.addr_high_high, pa); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/txrx_edma.c: In function 'wil_tx_desc_map_edma': /kisskb/src/drivers/net/wireless/ath/wil6210/txrx_edma.c:1114:46: warning: taking address of packed member of 'struct wil_ring_tx_enhanced_dma' may result in an unaligned pointer value [-Waddress-of-packed-member] 1114 | wil_desc_set_addr_edma(&d->dma.addr, &d->dma.addr_high_high, pa); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c: In function 'rtl8225_write_bitbang': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:127:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 127 | reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput) & 0xfff3; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:128:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 128 | reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:130:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x7); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:132:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 132 | reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:133:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 133 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x7); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:136:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:138:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 138 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:145:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 145 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:147:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 147 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg | (1 << 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:148:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 148 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg | (1 << 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:151:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 151 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:154:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 154 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:157:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 157 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:158:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 158 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c: In function 'rtl8225_write_8051': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:166:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 166 | reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:167:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 167 | reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:168:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 168 | reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:173:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 173 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x0007); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:174:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 174 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x0007); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:177:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 177 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:180:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 180 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:193:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:196:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 196 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:197:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 197 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c: In function 'rtl8225_read': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:216:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 216 | reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:217:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 217 | reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:218:40: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 218 | reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:222:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 222 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x000F); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:223:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 223 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x000F); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:225:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 225 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:227:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 227 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:234:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:238:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 238 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:241:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 241 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:246:49: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 246 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:251:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 251 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:254:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 254 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:257:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 257 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:263:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 263 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:266:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 266 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:269:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 269 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:272:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 272 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:276:44: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 276 | if (rtl818x_ioread16(priv, &priv->map->RFPinsInput) & (1 << 1)) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:279:41: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 279 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:284:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 284 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:288:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 288 | rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:289:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 289 | rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:290:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 290 | rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x03A0); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c: In function 'rtl8225_rf_set_tx_power': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:409:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 409 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c: In function 'rtl8225z2_rf_set_tx_power': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:664:33: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] 664 | rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_validate_ms': /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c:699:9: warning: converting a packed 'struct asd_manuf_sec' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 699 | if (asd_calc_flash_chksum((u16 *)ms, ms->size/2)) { | ^~ /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c:416:8: note: defined here 416 | struct asd_manuf_sec { | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_main.c: In function 'beiscsi_complete_pdu': /kisskb/src/drivers/scsi/be2iscsi/be_main.c:1443:37: warning: converting a packed 'struct pdu_base' pointer (alignment 1) to a 'struct iscsi_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1443 | login_hdr = (struct iscsi_hdr *)phdr; | ^~~~~~~~~ In file included from /kisskb/src/drivers/scsi/be2iscsi/be_main.c:49: /kisskb/src/drivers/scsi/be2iscsi/be_main.h:840:8: note: defined here 840 | struct pdu_base { | ^~~~~~~~ In file included from /kisskb/src/include/scsi/libiscsi.h:33, from /kisskb/src/drivers/scsi/be2iscsi/be_main.c:40: /kisskb/src/include/scsi/iscsi_proto.h:87:8: note: defined here 87 | struct iscsi_hdr { | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_main.c:1453:44: warning: converting a packed 'struct pdu_base' pointer (alignment 1) to a 'struct iscsi_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1453 | __iscsi_complete_pdu(conn, (struct iscsi_hdr *)phdr, pdata, dlen); | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_main.h:840:8: note: defined here 840 | struct pdu_base { | ^~~~~~~~ /kisskb/src/include/scsi/iscsi_proto.h:87:8: note: defined here 87 | struct iscsi_hdr { | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c: In function 'iwl_pcie_gen2_build_amsdu': /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c:290:22: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 290 | le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c:335:30: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 335 | le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c: In function 'sge_qinfo_show': /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2751:17: note: in expansion of macro 'S' 2751 | S("QType:", "Ethernet"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2751:17: note: in expansion of macro 'S' 2751 | S("QType:", "Ethernet"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2752:17: note: in expansion of macro 'S' 2752 | S("Interface:", | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2752:17: note: in expansion of macro 'S' 2752 | S("Interface:", | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2754:17: note: in expansion of macro 'T' 2754 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2754:17: note: in expansion of macro 'T' 2754 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2755:17: note: in expansion of macro 'T' 2755 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2755:17: note: in expansion of macro 'T' 2755 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2756:17: note: in expansion of macro 'T' 2756 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2756:17: note: in expansion of macro 'T' 2756 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2757:17: note: in expansion of macro 'T' 2757 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2757:17: note: in expansion of macro 'T' 2757 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2758:17: note: in expansion of macro 'T' 2758 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2758:17: note: in expansion of macro 'T' 2758 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2760:17: note: in expansion of macro 'T' 2760 | T("DCB Prio:", dcb_prio); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2760:17: note: in expansion of macro 'T' 2760 | T("DCB Prio:", dcb_prio); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2761:17: note: in expansion of macro 'S3' 2761 | S3("u", "DCB PGID:", | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2761:17: note: in expansion of macro 'S3' 2761 | S3("u", "DCB PGID:", | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2764:17: note: in expansion of macro 'S3' 2764 | S3("u", "DCB PFC:", | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2764:17: note: in expansion of macro 'S3' 2764 | S3("u", "DCB PFC:", | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2768:17: note: in expansion of macro 'R' 2768 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2768:17: note: in expansion of macro 'R' 2768 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2769:17: note: in expansion of macro 'R' 2769 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2769:17: note: in expansion of macro 'R' 2769 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2770:17: note: in expansion of macro 'R' 2770 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2770:17: note: in expansion of macro 'R' 2770 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2771:17: note: in expansion of macro 'R' 2771 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2771:17: note: in expansion of macro 'R' 2771 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2772:17: note: in expansion of macro 'R' 2772 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2772:17: note: in expansion of macro 'R' 2772 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2773:17: note: in expansion of macro 'S3' 2773 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2773:17: note: in expansion of macro 'S3' 2773 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2774:17: note: in expansion of macro 'S3' 2774 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2774:17: note: in expansion of macro 'S3' 2774 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2775:17: note: in expansion of macro 'R' 2775 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2775:17: note: in expansion of macro 'R' 2775 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2776:17: note: in expansion of macro 'R' 2776 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2776:17: note: in expansion of macro 'R' 2776 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2777:17: note: in expansion of macro 'R' 2777 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2777:17: note: in expansion of macro 'R' 2777 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2778:17: note: in expansion of macro 'R' 2778 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2778:17: note: in expansion of macro 'R' 2778 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2779:17: note: in expansion of macro 'R' 2779 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2779:17: note: in expansion of macro 'R' 2779 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2780:17: note: in expansion of macro 'R' 2780 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2780:17: note: in expansion of macro 'R' 2780 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2781:17: note: in expansion of macro 'RL' 2781 | RL("RxPackets:", stats.pkts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2781:17: note: in expansion of macro 'RL' 2781 | RL("RxPackets:", stats.pkts); | ^~ In file included from /kisskb/src/drivers/net/wireless/ath/wil6210/fw.c:20: /kisskb/src/drivers/net/wireless/ath/wil6210/wil6210.h: In function 'wil_request_firmware': /kisskb/src/drivers/net/wireless/ath/wil6210/wil6210.h:1090:35: warning: 'hdr_sz' may be used uninitialized [-Wmaybe-uninitialized] 1090 | #define wil_err(wil, fmt, arg...) __wil_err(wil, "%s: " fmt, __func__, ##arg) | ^~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ath/wil6210/fw.c:39: /kisskb/src/drivers/net/wireless/ath/wil6210/fw_inc.c:580:19: note: 'hdr_sz' was declared here 580 | size_t s, hdr_sz; | ^~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2782:17: note: in expansion of macro 'RL' 2782 | RL("RxCSO:", stats.rx_cso); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2782:17: note: in expansion of macro 'RL' 2782 | RL("RxCSO:", stats.rx_cso); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2783:17: note: in expansion of macro 'RL' 2783 | RL("VLANxtract:", stats.vlan_ex); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2783:17: note: in expansion of macro 'RL' 2783 | RL("VLANxtract:", stats.vlan_ex); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2784:17: note: in expansion of macro 'RL' 2784 | RL("LROmerged:", stats.lro_merged); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2784:17: note: in expansion of macro 'RL' 2784 | RL("LROmerged:", stats.lro_merged); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2785:17: note: in expansion of macro 'RL' 2785 | RL("LROpackets:", stats.lro_pkts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2785:17: note: in expansion of macro 'RL' 2785 | RL("LROpackets:", stats.lro_pkts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2786:17: note: in expansion of macro 'RL' 2786 | RL("RxDrops:", stats.rx_drops); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2786:17: note: in expansion of macro 'RL' 2786 | RL("RxDrops:", stats.rx_drops); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2787:17: note: in expansion of macro 'RL' 2787 | RL("RxBadPkts:", stats.bad_rx_pkts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2787:17: note: in expansion of macro 'RL' 2787 | RL("RxBadPkts:", stats.bad_rx_pkts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2788:17: note: in expansion of macro 'TL' 2788 | TL("TSO:", tso); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2788:17: note: in expansion of macro 'TL' 2788 | TL("TSO:", tso); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2789:17: note: in expansion of macro 'TL' 2789 | TL("TxCSO:", tx_cso); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2789:17: note: in expansion of macro 'TL' 2789 | TL("TxCSO:", tx_cso); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2790:17: note: in expansion of macro 'TL' 2790 | TL("VLANins:", vlan_ins); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2790:17: note: in expansion of macro 'TL' 2790 | TL("VLANins:", vlan_ins); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2791:17: note: in expansion of macro 'TL' 2791 | TL("TxQFull:", q.stops); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2791:17: note: in expansion of macro 'TL' 2791 | TL("TxQFull:", q.stops); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2792:17: note: in expansion of macro 'TL' 2792 | TL("TxQRestarts:", q.restarts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2792:17: note: in expansion of macro 'TL' 2792 | TL("TxQRestarts:", q.restarts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2793:17: note: in expansion of macro 'TL' 2793 | TL("TxMapErr:", mapping_err); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2793:17: note: in expansion of macro 'TL' 2793 | TL("TxMapErr:", mapping_err); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2794:17: note: in expansion of macro 'RL' 2794 | RL("FLAllocErr:", fl.alloc_failed); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2794:17: note: in expansion of macro 'RL' 2794 | RL("FLAllocErr:", fl.alloc_failed); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2795:17: note: in expansion of macro 'RL' 2795 | RL("FLLrgAlcErr:", fl.large_alloc_failed); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2795:17: note: in expansion of macro 'RL' 2795 | RL("FLLrgAlcErr:", fl.large_alloc_failed); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2796:17: note: in expansion of macro 'RL' 2796 | RL("FLMapErr:", fl.mapping_err); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2796:17: note: in expansion of macro 'RL' 2796 | RL("FLMapErr:", fl.mapping_err); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2797:17: note: in expansion of macro 'RL' 2797 | RL("FLLow:", fl.low); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2797:17: note: in expansion of macro 'RL' 2797 | RL("FLLow:", fl.low); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2798:17: note: in expansion of macro 'RL' 2798 | RL("FLStarving:", fl.starving); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2740:28: note: in expansion of macro 'S3' 2740 | #define R3(fmt_spec, s, v) S3(fmt_spec, s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2742:18: note: in expansion of macro 'R3' 2742 | #define RL(s, v) R3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2798:17: note: in expansion of macro 'RL' 2798 | RL("FLStarving:", fl.starving); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2811:17: note: in expansion of macro 'S' 2811 | S("QType:", "OFLD-TXQ"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2811:17: note: in expansion of macro 'S' 2811 | S("QType:", "OFLD-TXQ"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2812:17: note: in expansion of macro 'T' 2812 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2812:17: note: in expansion of macro 'T' 2812 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2813:17: note: in expansion of macro 'T' 2813 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2813:17: note: in expansion of macro 'T' 2813 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2814:17: note: in expansion of macro 'T' 2814 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2814:17: note: in expansion of macro 'T' 2814 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2815:17: note: in expansion of macro 'T' 2815 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2815:17: note: in expansion of macro 'T' 2815 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2816:17: note: in expansion of macro 'T' 2816 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2816:17: note: in expansion of macro 'T' 2816 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2829:17: note: in expansion of macro 'S' 2829 | S("QType:", "RDMA-CPL"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2829:17: note: in expansion of macro 'S' 2829 | S("QType:", "RDMA-CPL"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2830:17: note: in expansion of macro 'S' 2830 | S("Interface:", | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2830:17: note: in expansion of macro 'S' 2830 | S("Interface:", | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2832:17: note: in expansion of macro 'R' 2832 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2832:17: note: in expansion of macro 'R' 2832 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2833:17: note: in expansion of macro 'R' 2833 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2833:17: note: in expansion of macro 'R' 2833 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2834:17: note: in expansion of macro 'R' 2834 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2834:17: note: in expansion of macro 'R' 2834 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2835:17: note: in expansion of macro 'R' 2835 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2835:17: note: in expansion of macro 'R' 2835 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2836:17: note: in expansion of macro 'R' 2836 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2836:17: note: in expansion of macro 'R' 2836 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2837:17: note: in expansion of macro 'S3' 2837 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2837:17: note: in expansion of macro 'S3' 2837 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2838:17: note: in expansion of macro 'S3' 2838 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2838:17: note: in expansion of macro 'S3' 2838 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2839:17: note: in expansion of macro 'R' 2839 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2839:17: note: in expansion of macro 'R' 2839 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2840:17: note: in expansion of macro 'R' 2840 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2840:17: note: in expansion of macro 'R' 2840 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2841:17: note: in expansion of macro 'R' 2841 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2841:17: note: in expansion of macro 'R' 2841 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2842:17: note: in expansion of macro 'R' 2842 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2842:17: note: in expansion of macro 'R' 2842 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2843:17: note: in expansion of macro 'R' 2843 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2843:17: note: in expansion of macro 'R' 2843 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2844:17: note: in expansion of macro 'R' 2844 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2844:17: note: in expansion of macro 'R' 2844 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2859:17: note: in expansion of macro 'S' 2859 | S("QType:", "RDMA-CIQ"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2859:17: note: in expansion of macro 'S' 2859 | S("QType:", "RDMA-CIQ"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2860:17: note: in expansion of macro 'S' 2860 | S("Interface:", | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2860:17: note: in expansion of macro 'S' 2860 | S("Interface:", | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2862:17: note: in expansion of macro 'R' 2862 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2862:17: note: in expansion of macro 'R' 2862 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2863:17: note: in expansion of macro 'R' 2863 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2863:17: note: in expansion of macro 'R' 2863 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2864:17: note: in expansion of macro 'R' 2864 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2864:17: note: in expansion of macro 'R' 2864 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2865:17: note: in expansion of macro 'R' 2865 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2865:17: note: in expansion of macro 'R' 2865 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2866:17: note: in expansion of macro 'R' 2866 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2866:17: note: in expansion of macro 'R' 2866 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2867:17: note: in expansion of macro 'S3' 2867 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2867:17: note: in expansion of macro 'S3' 2867 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2868:17: note: in expansion of macro 'S3' 2868 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2868:17: note: in expansion of macro 'S3' 2868 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2881:17: note: in expansion of macro 'S' 2881 | S("QType:", "iSCSI"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2881:17: note: in expansion of macro 'S' 2881 | S("QType:", "iSCSI"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2882:17: note: in expansion of macro 'R' 2882 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2882:17: note: in expansion of macro 'R' 2882 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2883:17: note: in expansion of macro 'R' 2883 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2883:17: note: in expansion of macro 'R' 2883 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2884:17: note: in expansion of macro 'R' 2884 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2884:17: note: in expansion of macro 'R' 2884 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2885:17: note: in expansion of macro 'R' 2885 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2885:17: note: in expansion of macro 'R' 2885 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2886:17: note: in expansion of macro 'R' 2886 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2886:17: note: in expansion of macro 'R' 2886 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2887:17: note: in expansion of macro 'S3' 2887 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2887:17: note: in expansion of macro 'S3' 2887 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2888:17: note: in expansion of macro 'S3' 2888 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2888:17: note: in expansion of macro 'S3' 2888 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2889:17: note: in expansion of macro 'R' 2889 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2889:17: note: in expansion of macro 'R' 2889 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2890:17: note: in expansion of macro 'R' 2890 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2890:17: note: in expansion of macro 'R' 2890 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2891:17: note: in expansion of macro 'R' 2891 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2891:17: note: in expansion of macro 'R' 2891 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2892:17: note: in expansion of macro 'R' 2892 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2892:17: note: in expansion of macro 'R' 2892 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2893:17: note: in expansion of macro 'R' 2893 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2893:17: note: in expansion of macro 'R' 2893 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2894:17: note: in expansion of macro 'R' 2894 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2894:17: note: in expansion of macro 'R' 2894 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2907:17: note: in expansion of macro 'S' 2907 | S("QType:", "iSCSIT"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2907:17: note: in expansion of macro 'S' 2907 | S("QType:", "iSCSIT"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2908:17: note: in expansion of macro 'R' 2908 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2908:17: note: in expansion of macro 'R' 2908 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2909:17: note: in expansion of macro 'R' 2909 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2909:17: note: in expansion of macro 'R' 2909 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2910:17: note: in expansion of macro 'R' 2910 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2910:17: note: in expansion of macro 'R' 2910 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2911:17: note: in expansion of macro 'R' 2911 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2911:17: note: in expansion of macro 'R' 2911 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2912:17: note: in expansion of macro 'R' 2912 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2912:17: note: in expansion of macro 'R' 2912 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2913:17: note: in expansion of macro 'S3' 2913 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2913:17: note: in expansion of macro 'S3' 2913 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2914:17: note: in expansion of macro 'S3' 2914 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2914:17: note: in expansion of macro 'S3' 2914 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2915:17: note: in expansion of macro 'R' 2915 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2915:17: note: in expansion of macro 'R' 2915 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2916:17: note: in expansion of macro 'R' 2916 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2916:17: note: in expansion of macro 'R' 2916 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2917:17: note: in expansion of macro 'R' 2917 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2917:17: note: in expansion of macro 'R' 2917 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2918:17: note: in expansion of macro 'R' 2918 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2918:17: note: in expansion of macro 'R' 2918 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2919:17: note: in expansion of macro 'R' 2919 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2919:17: note: in expansion of macro 'R' 2919 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2920:17: note: in expansion of macro 'R' 2920 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2920:17: note: in expansion of macro 'R' 2920 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2933:17: note: in expansion of macro 'S' 2933 | S("QType:", "TLS"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2933:17: note: in expansion of macro 'S' 2933 | S("QType:", "TLS"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2934:17: note: in expansion of macro 'R' 2934 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2934:17: note: in expansion of macro 'R' 2934 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2935:17: note: in expansion of macro 'R' 2935 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2935:17: note: in expansion of macro 'R' 2935 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2936:17: note: in expansion of macro 'R' 2936 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2936:17: note: in expansion of macro 'R' 2936 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2937:17: note: in expansion of macro 'R' 2937 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2937:17: note: in expansion of macro 'R' 2937 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2938:17: note: in expansion of macro 'R' 2938 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2938:17: note: in expansion of macro 'R' 2938 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2939:17: note: in expansion of macro 'S3' 2939 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2939:17: note: in expansion of macro 'S3' 2939 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2940:17: note: in expansion of macro 'S3' 2940 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2940:17: note: in expansion of macro 'S3' 2940 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2941:17: note: in expansion of macro 'R' 2941 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2941:17: note: in expansion of macro 'R' 2941 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2942:17: note: in expansion of macro 'R' 2942 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2942:17: note: in expansion of macro 'R' 2942 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2943:17: note: in expansion of macro 'R' 2943 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2943:17: note: in expansion of macro 'R' 2943 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2944:17: note: in expansion of macro 'R' 2944 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2944:17: note: in expansion of macro 'R' 2944 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2945:17: note: in expansion of macro 'R' 2945 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2945:17: note: in expansion of macro 'R' 2945 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2946:17: note: in expansion of macro 'R' 2946 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2946:17: note: in expansion of macro 'R' 2946 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2962:17: note: in expansion of macro 'S' 2962 | S("QType:", "Crypto"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2962:17: note: in expansion of macro 'S' 2962 | S("QType:", "Crypto"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2963:17: note: in expansion of macro 'T' 2963 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2963:17: note: in expansion of macro 'T' 2963 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2964:17: note: in expansion of macro 'T' 2964 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2964:17: note: in expansion of macro 'T' 2964 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2965:17: note: in expansion of macro 'T' 2965 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2965:17: note: in expansion of macro 'T' 2965 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2966:17: note: in expansion of macro 'T' 2966 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2966:17: note: in expansion of macro 'T' 2966 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2967:17: note: in expansion of macro 'T' 2967 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2967:17: note: in expansion of macro 'T' 2967 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2968:17: note: in expansion of macro 'R' 2968 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2968:17: note: in expansion of macro 'R' 2968 | R("RspQ ID:", rspq.abs_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2969:17: note: in expansion of macro 'R' 2969 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2969:17: note: in expansion of macro 'R' 2969 | R("RspQ size:", rspq.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2970:17: note: in expansion of macro 'R' 2970 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2970:17: note: in expansion of macro 'R' 2970 | R("RspQE size:", rspq.iqe_len); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2971:17: note: in expansion of macro 'R' 2971 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2971:17: note: in expansion of macro 'R' 2971 | R("RspQ CIDX:", rspq.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2972:17: note: in expansion of macro 'R' 2972 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2972:17: note: in expansion of macro 'R' 2972 | R("RspQ Gen:", rspq.gen); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2973:17: note: in expansion of macro 'S3' 2973 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2973:17: note: in expansion of macro 'S3' 2973 | S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2974:17: note: in expansion of macro 'S3' 2974 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2974:17: note: in expansion of macro 'S3' 2974 | S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2975:17: note: in expansion of macro 'R' 2975 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2975:17: note: in expansion of macro 'R' 2975 | R("FL ID:", fl.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2976:17: note: in expansion of macro 'R' 2976 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2976:17: note: in expansion of macro 'R' 2976 | R("FL size:", fl.size - 8); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2977:17: note: in expansion of macro 'R' 2977 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2977:17: note: in expansion of macro 'R' 2977 | R("FL pend:", fl.pend_cred); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2978:17: note: in expansion of macro 'R' 2978 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2978:17: note: in expansion of macro 'R' 2978 | R("FL avail:", fl.avail); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2979:17: note: in expansion of macro 'R' 2979 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2979:17: note: in expansion of macro 'R' 2979 | R("FL PIDX:", fl.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2980:17: note: in expansion of macro 'R' 2980 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2741:17: note: in expansion of macro 'S3' 2741 | #define R(s, v) S3("u", s, rx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2980:17: note: in expansion of macro 'R' 2980 | R("FL CIDX:", fl.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2991:17: note: in expansion of macro 'S' 2991 | S("QType:", "Control"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2736:17: note: in expansion of macro 'S3' 2736 | #define S(s, v) S3("s", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2991:17: note: in expansion of macro 'S' 2991 | S("QType:", "Control"); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2992:17: note: in expansion of macro 'T' 2992 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2992:17: note: in expansion of macro 'T' 2992 | T("TxQ ID:", q.cntxt_id); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2993:17: note: in expansion of macro 'T' 2993 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2993:17: note: in expansion of macro 'T' 2993 | T("TxQ size:", q.size); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2994:17: note: in expansion of macro 'T' 2994 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2994:17: note: in expansion of macro 'T' 2994 | T("TxQ inuse:", q.in_use); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2995:17: note: in expansion of macro 'T' 2995 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2995:17: note: in expansion of macro 'T' 2995 | T("TxQ CIDX:", q.cidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2996:17: note: in expansion of macro 'T' 2996 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2738:17: note: in expansion of macro 'S3' 2738 | #define T(s, v) S3("u", s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2996:17: note: in expansion of macro 'T' 2996 | T("TxQ PIDX:", q.pidx); | ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2997:17: note: in expansion of macro 'TL' 2997 | TL("TxQFull:", q.stops); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2997:17: note: in expansion of macro 'TL' 2997 | TL("TxQFull:", q.stops); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2732:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | for (i = 0; i < n; ++i) \ | ^~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2998:17: note: in expansion of macro 'TL' 2998 | TL("TxQRestarts:", q.restarts); | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2734 | seq_putc(seq, '\n'); \ | ^~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2737:28: note: in expansion of macro 'S3' 2737 | #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2739:18: note: in expansion of macro 'T3' 2739 | #define TL(s, v) T3("lu", s, v) | ^~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2998:17: note: in expansion of macro 'TL' 2998 | TL("TxQRestarts:", q.restarts); | ^~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/include/linux/seq_file.h:8, from /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:35: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'tp_la_write' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:684:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'tp_la_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:679:14: note: 's' declared here 679 | char s[32]; | ^ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rss_key_write' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2243:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rss_key_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2238:14: note: 's' declared here 2238 | char s[100], *p; | ^ In function 'asd_get_tmf_resp_tasklet', inlined from 'asd_tmf_tasklet_complete' at /kisskb/src/drivers/scsi/aic94xx/aic94xx_tmf.c:333:20: /kisskb/src/drivers/scsi/aic94xx/aic94xx_tmf.c:309:36: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 309 | res = ru->resp_data[3]; | ~~~~~~~~~~~~~^~~ In file included from /kisskb/src/include/scsi/libsas.h:32, from /kisskb/src/drivers/scsi/aic94xx/aic94xx.h:33, from /kisskb/src/drivers/scsi/aic94xx/aic94xx_tmf.c:29: /kisskb/src/include/scsi/sas.h: In function 'asd_tmf_tasklet_complete': /kisskb/src/include/scsi/sas.h:574:16: note: while referencing 'resp_data' 574 | u8 resp_data[0]; | ^~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwifiex/11h.c: In function 'mwifiex_cmd_issue_chan_report_request': /kisskb/src/drivers/net/wireless/marvell/mwifiex/11h.c:153:32: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 153 | le16_unaligned_add_cpu(&cmd->size, | ^~~~~~~~~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'mbox_write' at /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:1307:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'mbox_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:1297:24: note: 's' declared here 1297 | char c = '\n', s[256]; | ^ /kisskb/src/drivers/rtc/rtc-cros-ec.c: In function 'cros_ec_rtc_get': /kisskb/src/drivers/rtc/rtc-cros-ec.c:45:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 45 | ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); | ^~~~~~~~ /kisskb/src/drivers/rtc/rtc-cros-ec.c: In function 'cros_ec_rtc_set': /kisskb/src/drivers/rtc/rtc-cros-ec.c:73:48: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 73 | ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); | ^~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'mgmt_vendor_specific_fw_cmd': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:60:36: warning: taking address of packed member of 'struct be_bsg_vendor_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 60 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:67:36: warning: taking address of packed member of 'struct be_bsg_vendor_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] 67 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'mgmt_open_connection': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:159:28: warning: taking address of packed member of 'struct tcp_connect_and_offload_in_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 159 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_if_get_handle': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:403:28: warning: taking address of packed member of 'struct be_cmd_get_all_if_id_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 403 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_boot_logout_sess': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:934:28: warning: taking address of packed member of 'struct be_cmd_req_logout_fw_sess' may result in an unaligned pointer value [-Waddress-of-packed-member] 934 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI_INI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_boot_reopen_sess': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:973:28: warning: taking address of packed member of 'struct be_cmd_reopen_session_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 973 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI_INI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_boot_get_sinfo': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:1029:28: warning: taking address of packed member of 'struct be_cmd_get_session_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1029 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI_INI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function '__beiscsi_boot_get_shandle': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:1062:28: warning: taking address of packed member of 'struct be_cmd_get_boot_target_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1062 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI_INI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_invalidate_cxn': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:1449:28: warning: taking address of packed member of 'struct be_invalidate_connection_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] 1449 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI_INI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_upload_cxn': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:1485:28: warning: taking address of packed member of 'struct be_tcp_upload_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] 1485 | be_cmd_hdr_prepare(&req->hdr, CMD_COMMON_TCP_UPLOAD, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c: In function 'beiscsi_mgmt_invalidate_icds': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:1534:28: warning: taking address of packed member of 'struct invldt_cmds_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] 1534 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_eq_create': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:754:28: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 754 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:769:38: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 769 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_cq_create': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:797:28: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 797 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:831:38: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 831 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_mccq_create': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:875:28: warning: taking address of packed member of 'struct be_cmd_req_mcc_create_ext' may result in an unaligned pointer value [-Waddress-of-packed-member] 875 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:892:38: warning: taking address of packed member of 'struct be_cmd_req_mcc_create_ext' may result in an unaligned pointer value [-Waddress-of-packed-member] 892 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_q_destroy': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:951:28: warning: taking address of packed member of 'struct be_cmd_req_q_destroy' may result in an unaligned pointer value [-Waddress-of-packed-member] 951 | be_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req)); | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'be_cmd_create_default_pdu_queue': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:997:28: warning: taking address of packed member of 'struct be_defq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 997 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1039:38: warning: taking address of packed member of 'struct be_defq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1039 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'be_cmd_wrbq_create': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1097:28: warning: taking address of packed member of 'struct be_wrbq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1097 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1107:38: warning: taking address of packed member of 'struct be_wrbq_create_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1107 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'be_cmd_iscsi_post_template_hdr': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1138:28: warning: taking address of packed member of 'struct be_post_template_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1138 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1144:38: warning: taking address of packed member of 'struct be_post_template_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1144 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'be_cmd_iscsi_remove_template_hdr': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1161:28: warning: taking address of packed member of 'struct be_remove_template_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1161 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'be_cmd_iscsi_post_sgl_pages': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1191:36: warning: taking address of packed member of 'struct be_post_sgl_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1191 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1198:46: warning: taking address of packed member of 'struct be_post_sgl_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1198 | be_cmd_page_addrs_prepare(req->pages, req->num_pages, q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'be_cmd_set_vlan': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1250:28: warning: taking address of packed member of 'struct be_cmd_set_vlan_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1250 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_check_supported_fw': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1287:28: warning: taking address of packed member of 'struct be_mgmt_controller_attributes' may result in an unaligned pointer value [-Waddress-of-packed-member] 1287 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_get_fw_config': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1348:28: warning: taking address of packed member of 'struct be_fw_cfg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1348 | be_cmd_hdr_prepare(&pfw_cfg->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_get_port_name': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1503:28: warning: taking address of packed member of 'struct be_cmd_get_port_name' may result in an unaligned pointer value [-Waddress-of-packed-member] 1503 | be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_set_host_data': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1540:28: warning: taking address of packed member of 'struct be_cmd_set_host_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1540 | be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_set_uer_feature': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1583:28: warning: taking address of packed member of 'struct be_cmd_set_features' may result in an unaligned pointer value [-Waddress-of-packed-member] 1583 | be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_function_reset': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1657:28: warning: taking address of packed member of 'struct be_post_sgl_pages_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1657 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_iscsi_cleanup': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1763:36: warning: taking address of packed member of 'struct iscsi_cleanup_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1763 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:1772:36: warning: taking address of packed member of 'struct iscsi_cleanup_req_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 1772 | be_cmd_hdr_prepare(&req_v1->hdr, CMD_SUBSYSTEM_ISCSI, | ^~~~~~~~~~~~ /kisskb/src/drivers/media/usb/uvc/uvc_ctrl.c: In function 'uvc_ctrl_get': /kisskb/src/drivers/media/usb/uvc/uvc_ctrl.c:1573:53: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 1573 | return __uvc_ctrl_get(chain, ctrl, mapping, &xctrl->value); | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:54, from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_els.c:17: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_load_radio_caps': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:387:25: warning: taking address of packed member of 'struct rsi_radio_caps' may result in an unaligned pointer value [-Waddress-of-packed-member] 387 | rsi_set_len_qno(&radio_caps->desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_hal_send_sta_notify_frame': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:499:25: warning: taking address of packed member of 'struct rsi_peer_notify' may result in an unaligned pointer value [-Waddress-of-packed-member] 499 | rsi_set_len_qno(&peer_notify->desc.desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_aggregation_params_frame': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:553:25: warning: taking address of packed member of 'struct rsi_aggr_params' may result in an unaligned pointer value [-Waddress-of-packed-member] 553 | rsi_set_len_qno(&aggr_params->desc_dword0.len_qno, 0, RSI_WIFI_MGMT_Q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_program_bb_rf': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:600:25: warning: taking address of packed member of 'struct rsi_bb_rf_prog' may result in an unaligned pointer value [-Waddress-of-packed-member] 600 | rsi_set_len_qno(&bb_rf_prog->desc_dword0.len_qno, 0, RSI_WIFI_MGMT_Q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_set_vap_capabilities': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:651:25: warning: taking address of packed member of 'struct rsi_vap_caps' may result in an unaligned pointer value [-Waddress-of-packed-member] 651 | rsi_set_len_qno(&vap_caps->desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_hal_load_key': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:751:25: warning: taking address of packed member of 'struct rsi_set_key' may result in an unaligned pointer value [-Waddress-of-packed-member] 751 | rsi_set_len_qno(&set_key->desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_common_dev_params': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:800:25: warning: taking address of packed member of 'struct rsi_config_vals' may result in an unaligned pointer value [-Waddress-of-packed-member] 800 | rsi_set_len_qno(&dev_cfgs->len_qno, (frame_len - FRAME_DESC_SZ), | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_set_channel': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1004:25: warning: taking address of packed member of 'struct rsi_chan_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 1004 | rsi_set_len_qno(&chan_cfg->desc_dword0.len_qno, 0, RSI_WIFI_MGMT_Q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_vap_dynamic_update': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1084:25: warning: taking address of packed member of 'struct rsi_dynamic_s' may result in an unaligned pointer value [-Waddress-of-packed-member] 1084 | rsi_set_len_qno(&dynamic_frame->desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_auto_rate_request': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1296:25: warning: taking address of packed member of 'struct rsi_auto_rate' may result in an unaligned pointer value [-Waddress-of-packed-member] 1296 | rsi_set_len_qno(&auto_rate->desc.desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_eeprom_read': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1384:25: warning: taking address of packed member of 'struct rsi_eeprom_read_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 1384 | rsi_set_len_qno(&mgmt_frame->len_qno, 0, RSI_WIFI_MGMT_Q); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_block_unblock_frame': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1427:25: warning: taking address of packed member of 'struct rsi_block_unblock_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1427 | rsi_set_len_qno(&mgmt_frame->desc_dword0.len_qno, 0, RSI_WIFI_MGMT_Q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_ps_request': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1498:25: warning: taking address of packed member of 'struct rsi_request_ps' may result in an unaligned pointer value [-Waddress-of-packed-member] 1498 | rsi_set_len_qno(&ps->desc.desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_set_antenna': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1563:25: warning: taking address of packed member of 'struct rsi_ant_sel_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 1563 | rsi_set_len_qno(&ant_sel_frame->desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c: In function 'rsi_send_wowlan_request': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_mgmt.c:1612:25: warning: taking address of packed member of 'struct rsi_wowlan_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 1612 | rsi_set_len_qno(&cmd_frame->desc.desc_dword0.len_qno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c: In function 'rsi_prepare_mgmt_desc': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c:98:25: warning: taking address of packed member of 'struct rsi_mgmt_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 98 | rsi_set_len_qno(&mgmt_desc->len_qno, (skb->len - FRAME_DESC_SZ), | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c: In function 'rsi_prepare_data_desc': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c:203:25: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 203 | rsi_set_len_qno(&data_desc->len_qno, (skb->len - FRAME_DESC_SZ), | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c:238:41: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 238 | rsi_set_len_qno(&data_desc->len_qno, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c: In function 'rsi_send_bt_pkt': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c:398:25: warning: taking address of packed member of 'struct rsi_bt_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 398 | rsi_set_len_qno(&bt_desc->len_qno, (skb->len - FRAME_DESC_SZ), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c: In function 'rsi_prepare_beacon': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_hal.c:442:25: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 442 | rsi_set_len_qno(&bcn_frm->len_qno, mac_bcn->len, RSI_WIFI_DATA_Q); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/soc/qcom/smp2p.c: In function 'qcom_smp2p_intr': /kisskb/src/drivers/soc/qcom/smp2p.c:213:48: warning: taking address of packed member of 'struct smp2p_smem_item' may result in an unaligned pointer value [-Waddress-of-packed-member] 213 | entry->value = &in->entries[i].value; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/soc/qcom/smp2p.c: In function 'qcom_smp2p_outbound_entry': /kisskb/src/drivers/soc/qcom/smp2p.c:361:24: warning: taking address of packed member of 'struct smp2p_smem_item' may result in an unaligned pointer value [-Waddress-of-packed-member] 361 | entry->value = &out->entries[out->valid_entries].value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:54, from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c:17: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:54, from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_hwi.c:16: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:21: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'bnx2fc_rcv' at /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c:474:2: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct fcoe_percpu_s[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c: In function 'bnx2fc_rcv': /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c:52:22: note: at offset 88 into object 'bnx2fc_global' of size 200 52 | struct fcoe_percpu_s bnx2fc_global; | ^~~~~~~~~~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'bnx2fc_rcv' at /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c:474:2: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct fcoe_percpu_s[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c: In function 'bnx2fc_rcv': /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c:52:22: note: at offset 88 into object 'bnx2fc_global' of size 200 52 | struct fcoe_percpu_s bnx2fc_global; | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_eq_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1011:32: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1011 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1029:38: warning: taking address of packed member of 'struct be_cmd_req_eq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1029 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_mac_addr_query': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1062:32: warning: taking address of packed member of 'struct be_cmd_req_mac_query' may result in an unaligned pointer value [-Waddress-of-packed-member] 1062 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_pmac_add': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1103:32: warning: taking address of packed member of 'struct be_cmd_req_pmac_add' may result in an unaligned pointer value [-Waddress-of-packed-member] 1103 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_cq_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1178:32: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1178 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1215:38: warning: taking address of packed member of 'struct be_cmd_req_cq_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1215 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_mccq_ext_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1256:32: warning: taking address of packed member of 'struct be_cmd_req_mcc_ext_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1256 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1290:38: warning: taking address of packed member of 'struct be_cmd_req_mcc_ext_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1290 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_mccq_org_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1321:32: warning: taking address of packed member of 'struct be_cmd_req_mcc_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1321 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1334:38: warning: taking address of packed member of 'struct be_cmd_req_mcc_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1334 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_txq_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1373:32: warning: taking address of packed member of 'struct be_cmd_req_eth_tx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1373 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1392:38: warning: taking address of packed member of 'struct be_cmd_req_eth_tx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1392 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_rxq_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1429:32: warning: taking address of packed member of 'struct be_cmd_req_eth_rx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1429 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1435:38: warning: taking address of packed member of 'struct be_cmd_req_eth_rx_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1435 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_q_destroy': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1496:32: warning: taking address of packed member of 'struct be_cmd_req_q_destroy' may result in an unaligned pointer value [-Waddress-of-packed-member] 1496 | be_wrb_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req), wrb, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_rxq_destroy': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1523:32: warning: taking address of packed member of 'struct be_cmd_req_q_destroy' may result in an unaligned pointer value [-Waddress-of-packed-member] 1523 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_if_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1546:32: warning: taking address of packed member of 'struct be_cmd_req_if_create' may result in an unaligned pointer value [-Waddress-of-packed-member] 1546 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_fat_dump_len': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1781:32: warning: taking address of packed member of 'struct be_cmd_req_get_fat' may result in an unaligned pointer value [-Waddress-of-packed-member] 1781 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_fat_dump': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1831:40: warning: taking address of packed member of 'struct be_cmd_req_get_fat' may result in an unaligned pointer value [-Waddress-of-packed-member] 1831 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_fw_ver': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1878:32: warning: taking address of packed member of 'struct be_cmd_req_get_fw_version' may result in an unaligned pointer value [-Waddress-of-packed-member] 1878 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function '__be_cmd_modify_eqd': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1914:32: warning: taking address of packed member of 'struct be_cmd_req_modify_eq_delay' may result in an unaligned pointer value [-Waddress-of-packed-member] 1914 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_vlan_config': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1964:32: warning: taking address of packed member of 'struct be_cmd_req_vlan_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 1964 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_set_flow_control': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:2061:32: warning: taking address of packed member of 'struct be_cmd_req_set_flow_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 2061 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_set_beacon_state': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:2241:32: warning: taking address of packed member of 'struct be_cmd_req_enable_disable_beacon' may result in an unaligned pointer value [-Waddress-of-packed-member] 2241 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_beacon_state': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:2273:32: warning: taking address of packed member of 'struct be_cmd_req_get_beacon_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 2273 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_write_flashrom': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:2553:32: warning: taking address of packed member of 'struct be_cmd_write_flashrom' may result in an unaligned pointer value [-Waddress-of-packed-member] 2553 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_flash_crc': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:2599:32: warning: taking address of packed member of 'struct be_cmd_read_flash_crc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2599 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_enable_magic_wol': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:3232:32: warning: taking address of packed member of 'struct be_cmd_req_acpi_wol_magic_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 3232 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_cntl_attributes': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:3549:30: warning: taking address of packed member of 'struct mgmt_hba_attribs' may result in an unaligned pointer value [-Waddress-of-packed-member] 3549 | serial_num = attribs->hba_attribs.controller_serial_number; | ^~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_mac_from_list': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:3723:32: warning: taking address of packed member of 'struct be_cmd_req_get_mac_list' may result in an unaligned pointer value [-Waddress-of-packed-member] 3723 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_set_mac_list': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:3846:32: warning: taking address of packed member of 'struct be_cmd_req_set_mac_list' may result in an unaligned pointer value [-Waddress-of-packed-member] 3846 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_set_hsw_config': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:3906:32: warning: taking address of packed member of 'struct be_cmd_req_set_hsw_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 3906 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_hsw_config': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:3961:32: warning: taking address of packed member of 'struct be_cmd_req_get_hsw_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 3961 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_acpi_wol_cap': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:4054:32: warning: taking address of packed member of 'struct be_cmd_req_acpi_wol_magic_config_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 4054 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_set_profile_config': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:4548:32: warning: taking address of packed member of 'struct be_cmd_req_set_profile_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 4548 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_manage_iface': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:4699:32: warning: taking address of packed member of 'struct be_cmd_req_manage_iface_filters' may result in an unaligned pointer value [-Waddress-of-packed-member] 4699 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_get_active_profile': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:4921:32: warning: taking address of packed member of 'struct be_cmd_req_get_active_profile' may result in an unaligned pointer value [-Waddress-of-packed-member] 4921 | be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ^~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:54, from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_io.c:15: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In function '_rtl92c_ccxpower_index_check', inlined from 'rtl92c_phy_set_txpower_level' at /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c:590:2: /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c:577:54: warning: 'ofdmpowerlevel' may be used uninitialized [-Wmaybe-uninitialized] 577 | rtlphy->cur_ofdm24g_txpwridx = ofdmpowerlevel[0]; | ~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c: In function 'rtl92c_phy_set_txpower_level': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c:584:30: note: 'ofdmpowerlevel' declared here 584 | u8 cckpowerlevel[2], ofdmpowerlevel[2]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:54, from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_tgt.c:16: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc.h:54, from /kisskb/src/drivers/scsi/bnx2fc/bnx2fc_debug.c:15: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_sdio.c: In function 'rsi_sdio_enable_interrupts.isra': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_sdio.c:1223:14: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 1223 | data |= ~RSI_INT_ENABLE_MASK & 0xff; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_sdio.c:1210:12: note: 'data' was declared here 1210 | u8 data; | ^~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_sdio.c: In function 'rsi_reset_card': /kisskb/src/drivers/net/wireless/rsi/rsi_91x_sdio.c:237:19: warning: 'resp' may be used uninitialized [-Wmaybe-uninitialized] 237 | card->ocr = resp; | ~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/wireless/rsi/rsi_91x_sdio.c:174:20: note: 'resp' was declared here 174 | u32 clock, resp, i; | ^~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_def.c: In function '__ath9k_hw_def_fill_eeprom': /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_def.c:99:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 99 | u16 *eep_data = (u16 *)&ah->eeprom.def; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_def.c: In function '__ath9k_hw_usb_def_fill_eeprom': /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_def.c:113:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 113 | u16 *eep_data = (u16 *)&ah->eeprom.def; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_4k.c: In function '__ath9k_hw_4k_fill_eeprom': /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_4k.c:40:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 40 | u16 *eep_data = (u16 *)&ah->eeprom.map4k; | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_4k.c: In function '__ath9k_hw_usb_4k_fill_eeprom': /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_4k.c:54:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 54 | u16 *eep_data = (u16 *)&ah->eeprom.map4k; | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_9287.c: In function '__ath9k_hw_ar9287_fill_eeprom': /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_9287.c:43:9: warning: converting a packed 'struct ar9287_eeprom' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 43 | eep_data = (u16 *)eep; | ^~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath9k/hw.h:27, from /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_9287.c:18: /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom.h:617:8: note: defined here 617 | struct ar9287_eeprom { | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_9287.c: In function '__ath9k_hw_usb_ar9287_fill_eeprom': /kisskb/src/drivers/net/wireless/ath/ath9k/eeprom_9287.c:56:32: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 56 | u16 *eep_data = (u16 *)&ah->eeprom.map9287; | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c: In function 'rtl92d_phy_reload_iqk_setting': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:2418:39: warning: the comparison will always evaluate as 'true' for the address of 'value' will never be NULL [-Waddress] 2418 | value[0] != NULL) | ^~ In file included from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:26: /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/../wifi.h:1308:14: note: 'value' declared here 1308 | long value[1][IQK_MATRIX_REG_NUM]; | ^~~~~ In function '_rtl92d_ccxpower_index_check', inlined from 'rtl92d_phy_set_txpower_level' at /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:944:3: /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:914:54: warning: 'ofdmpowerlevel' may be used uninitialized [-Wmaybe-uninitialized] 914 | rtlphy->cur_ofdm24g_txpwridx = ofdmpowerlevel[0]; | ~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c: In function 'rtl92d_phy_set_txpower_level': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:936:30: note: 'ofdmpowerlevel' declared here 936 | u8 cckpowerlevel[2], ofdmpowerlevel[2]; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c: In function 'rtl92ee_dm_check_rssi_monitor': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:524:49: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 524 | struct rssi_sta *stat = &drv_priv->rssi_stat; | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/scsi/fcoe/fcoe.c:22: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'fcoe_receive_work' at /kisskb/src/drivers/scsi/fcoe/fcoe.c:1757:2: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/fcoe/fcoe.c: In function 'fcoe_receive_work': /kisskb/src/drivers/scsi/fcoe/fcoe.c:1751:29: note: object 'tmp' of size 96 1751 | struct sk_buff_head tmp; | ^~~ /kisskb/src/drivers/scsi/fcoe/fcoe_ctlr.c:1978:37: warning: argument 1 of type 'unsigned char[32]' with mismatched bound [-Warray-parameter=] 1978 | u64 fcoe_wwn_from_mac(unsigned char mac[MAX_ADDR_LEN], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/fcoe/fcoe_ctlr.c:45: /kisskb/src/include/scsi/libfcoe.h:263:37: note: previously declared as 'unsigned char[]' 263 | u64 fcoe_wwn_from_mac(unsigned char mac[], unsigned int, unsigned int); | ~~~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_ioctl_handler': /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1450:46: warning: taking address of packed member of 'struct atto_express_ioctl' may result in an unaligned pointer value [-Waddress-of-packed-member] 1450 | handle_csmi_ioctl(a, &ioctl->data.csmi); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1455:62: warning: taking address of packed member of 'struct atto_express_ioctl' may result in an unaligned pointer value [-Waddress-of-packed-member] 1455 | &ioctl->data. | ^~~~~~~~~~~~~ 1456 | ioctl_hba); | ~~~~~~~~~ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_write_vda': /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1910:33: warning: 'dma_addr' may be used uninitialized [-Wmaybe-uninitialized] 1910 | a->ppvda_buffer = dma_addr; | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1903:28: note: 'dma_addr' declared here 1903 | dma_addr_t dma_addr; | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/relay.h:15, from /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spectral_short_repeat' at /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:862:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spectral_short_repeat': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:858:14: note: 'buf' declared here 858 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spectral_count' at /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:910:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spectral_count': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:906:14: note: 'buf' declared here 906 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spectral_period' at /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:958:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spectral_period': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:954:14: note: 'buf' declared here 954 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_spectral_fft_period' at /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:1006:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_spectral_fft_period': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/common-spectral.c:1002:14: note: 'buf' declared here 1002 | char buf[32]; | ^~~ /kisskb/src/drivers/net/wireless/ti/wl12xx/main.c: In function 'wl12xx_convert_fw_status': /kisskb/src/drivers/net/wireless/ti/wl12xx/main.c:1451:35: warning: taking address of packed member of 'struct wl12xx_fw_status' may result in an unaligned pointer value [-Waddress-of-packed-member] 1451 | fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; | ^~~~~~~~~~~~~ In function '_rtl8723e_ccxpower_index_check', inlined from 'rtl8723e_phy_set_txpower_level' at /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:659:2: /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:646:54: warning: 'ofdmpowerlevel' may be used uninitialized [-Wmaybe-uninitialized] 646 | rtlphy->cur_ofdm24g_txpwridx = ofdmpowerlevel[0]; | ~~~~~~~~~~~~~~^~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c: In function 'rtl8723e_phy_set_txpower_level': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:653:30: note: 'ofdmpowerlevel' declared here 653 | u8 cckpowerlevel[2], ofdmpowerlevel[2]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/drivers/staging/android/ion/ion-ioctl.c:8: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ion_ioctl' at /kisskb/src/drivers/staging/android/ion/ion-ioctl.c:59:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ion_ioctl': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/android/ion/ion-ioctl.c:47:29: note: 'data' declared here 47 | union ion_ioctl_arg data; | ^~~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath9k/htc.h:23, from /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:17: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath9k_htc_tx_cleanup_queue' at /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:741:4: /kisskb/src/include/linux/skbuff.h:1842:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c: In function 'ath9k_htc_tx_cleanup_queue': /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:733:29: note: object 'queue' of size 96 733 | struct sk_buff_head queue; | ^~~~~ In function '__skb_insert', inlined from '__skb_queue_before' at /kisskb/src/include/linux/skbuff.h:1842:2, inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:1876:2, inlined from 'ath9k_htc_tx_cleanup_queue' at /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:741:4: /kisskb/src/include/linux/skbuff.h:1736:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1736 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c: In function 'ath9k_htc_tx_cleanup_queue': /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:733:29: note: object 'queue' of size 96 733 | struct sk_buff_head queue; | ^~~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'map_sg_data': /kisskb/src/drivers/scsi/ibmvscsi/ibmvscsi.c:724:44: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] 724 | &indirect->desc_list[0]); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h:12, from /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h:7, from /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:17: In function 'hclge_query_mac_an_speed_dup', inlined from 'hclge_update_speed_duplex' at /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2077:8: /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:1895:36: warning: array subscript 'struct hclge_query_an_speed_dup_cmd[0]' is partly outside array bounds of 'struct hclge_desc[1]' [-Warray-bounds] 1895 | *duplex = hnae3_get_bit(req->an_syn_dup_speed, HCLGE_QUERY_DUPLEX_B); /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hnae3.h:543:49: note: in definition of macro 'hnae3_get_field' 543 | #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) | ^~~~~~ /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:1895:19: note: in expansion of macro 'hnae3_get_bit' 1895 | *duplex = hnae3_get_bit(req->an_syn_dup_speed, HCLGE_QUERY_DUPLEX_B); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 'hclge_update_speed_duplex': /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:1880:27: note: at offset 8 into object 'desc' of size 32 1880 | struct hclge_desc desc; | ^~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/libsrp.c: In function 'srp_indirect_data': /kisskb/src/drivers/scsi/ibmvscsi_tgt/libsrp.c:222:22: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] 222 | md = &id->desc_list[0]; | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/libsrp.c:239:47: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] 239 | err = rdma_io(cmd, &dummy, 1, &id->table_desc, 1, DMA_TO_DEVICE, | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_libfc.c:27: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/wireless/ath/ath9k/htc.h:20, from /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_debug.c:17: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'write_file_debug' at /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_debug.c:382:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'write_file_debug': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath9k/htc_drv_debug.c:378:14: note: 'buf' declared here 378 | char buf[32]; | ^~~ In file included from /kisskb/src/include/linux/tcp.h:21, from /kisskb/src/include/net/tcp.h:24, from /kisskb/src/drivers/target/iscsi/cxgbit/cxgbit_target.c:14: In function '__skb_queue_splice', inlined from 'skb_queue_splice_init' at /kisskb/src/include/linux/skbuff.h:1779:3, inlined from 'cxgbit_unlock_sock' at /kisskb/src/drivers/target/iscsi/cxgbit/cxgbit_target.c:312:3: /kisskb/src/include/linux/skbuff.h:1748:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1748 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/target/iscsi/cxgbit/cxgbit_target.c: In function 'cxgbit_unlock_sock': /kisskb/src/drivers/target/iscsi/cxgbit/cxgbit_target.c:304:29: note: object 'backlogq' of size 96 304 | struct sk_buff_head backlogq; | ^~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In function 'ibmvscsis_send_messages': /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1944:44: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] 1944 | crq->valid = VALID_CMD_RESP_EL; | ^~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1882:13: note: object 'msg_hi' of size 8 1882 | u64 msg_hi = 0; | ^~~~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1945:44: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] 1945 | crq->format = cmd->rsp.format; | ^~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1882:13: note: object 'msg_hi' of size 8 1882 | u64 msg_hi = 0; | ^~~~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1948:52: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] 1948 | crq->status = VIOSRP_ADAPTER_FAIL; | ^~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1882:13: note: object 'msg_hi' of size 8 1882 | u64 msg_hi = 0; | ^~~~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1950:44: warning: array subscript 'struct viosrp_crq[0]' is partly outside array bounds of 'u64[1]' {aka 'long long unsigned int[1]'} [-Warray-bounds] 1950 | crq->IU_length = cpu_to_be16(cmd->rsp.len); | ^~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1882:13: note: object 'msg_hi' of size 8 1882 | u64 msg_hi = 0; | ^~~~~~ /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c: In function 'config_id_frame_v1_hw': /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:488:9: warning: converting a packed 'struct sas_identify_frame' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 488 | identify_buffer = (u32 *)(&identify_frame); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/scsi/libsas.h:32, from /kisskb/src/include/scsi/sas_ata.h:29, from /kisskb/src/drivers/scsi/hisi_sas/hisi_sas.h:27, from /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:12: /kisskb/src/include/scsi/sas.h:493:8: note: defined here 493 | struct sas_identify_frame { | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c: In function 'rtl_action_proc': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:1439:44: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1439 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c: In function 'rtl_tx_agg_start': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:1787:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1787 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c: In function 'rtl_rx_agg_start': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:1846:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1846 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_exch.c:35: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c: In function 'rtl_recognize_peer': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:2705:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 2705 | if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:2705:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:2705:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:2705:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/wifi.h:33, from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:26: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c: In function 'config_id_frame_v2_hw': /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c:911:9: warning: converting a packed 'struct sas_identify_frame' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 911 | identify_buffer = (u32 *)(&identify_frame); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/scsi/libsas.h:32, from /kisskb/src/include/scsi/sas_ata.h:29, from /kisskb/src/drivers/scsi/hisi_sas/hisi_sas.h:27, from /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c:12: /kisskb/src/include/scsi/sas.h:493:8: note: defined here 493 | struct sas_identify_frame { | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_convert_fw_status': /kisskb/src/drivers/net/wireless/ti/wl18xx/main.c:1203:35: warning: taking address of packed member of 'struct wl18xx_fw_status' may result in an unaligned pointer value [-Waddress-of-packed-member] 1203 | fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/core.c: In function 'rtl_op_sta_add': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/core.c:918:31: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 918 | list_add_tail(&sta_entry->list, &rtlpriv->entry_list); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/core.c: In function 'rtl_op_sta_remove': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/core.c:965:26: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 965 | list_del(&sta_entry->list); | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/wifi.h:31, from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:25: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rtl_debugfs_set_write_rfreg' at /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:419:17: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rtl_debugfs_set_write_rfreg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:408:14: note: 'tmp' declared here 408 | char tmp[32 + 1]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rtl_debugfs_set_write_h2c' at /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:373:17: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rtl_debugfs_set_write_h2c': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:362:14: note: 'tmp' declared here 362 | char tmp[32 + 1]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rtl_debugfs_set_write_reg' at /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:322:17: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rtl_debugfs_set_write_reg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/debug.c:312:14: note: 'tmp' declared here 312 | char tmp[32 + 1]; | ^~~ /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c: In function 'config_id_frame_v3_hw': /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:599:9: warning: converting a packed 'struct sas_identify_frame' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 599 | identify_buffer = (u32 *)(&identify_frame); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/scsi/libsas.h:32, from /kisskb/src/include/scsi/sas_ata.h:29, from /kisskb/src/drivers/scsi/hisi_sas/hisi_sas.h:27, from /kisskb/src/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:11: /kisskb/src/include/scsi/sas.h:493:8: note: defined here 493 | struct sas_identify_frame { | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_elsct.c:30: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/regulator/s5m8767.c: In function 's5m8767_pmic_probe': /kisskb/src/drivers/regulator/s5m8767.c:935:35: warning: array subscript [0, 36] is outside array bounds of 'struct regulator_desc[37]' [-Warray-bounds] 935 | regulators[id].vsel_reg = | ~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/s5m8767.c:388:30: note: while referencing 'regulators' 388 | static struct regulator_desc regulators[] = { | ^~~~~~~~~~ /kisskb/src/drivers/regulator/s5m8767.c:940:43: warning: array subscript 37 is above array bounds of 'struct regulator_desc[37]' [-Warray-bounds] 940 | regulators[id].vsel_mask = 0xff; | ~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/s5m8767.c:388:30: note: while referencing 'regulators' 388 | static struct regulator_desc regulators[] = { | ^~~~~~~~~~ /kisskb/src/drivers/regulator/s5m8767.c:938:43: warning: array subscript -1 is below array bounds of 'struct regulator_desc[37]' [-Warray-bounds] 938 | regulators[id].vsel_mask = 0x3f; | ~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/s5m8767.c:388:30: note: while referencing 'regulators' 388 | static struct regulator_desc regulators[] = { | ^~~~~~~~~~ /kisskb/src/drivers/net/ethernet/ibm/ibmvnic.c: In function 'release_napi': /kisskb/src/drivers/net/ethernet/ibm/ibmvnic.c:776:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'adapter->napi + (sizetype)((long unsigned int)i * 368)' must not be NULL [-Waddress] 776 | if (&adapter->napi[i]) { | ^ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c: In function 'rtl_swlps_beacon': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:526:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 526 | if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:526:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:526:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:526:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/wifi.h:33, from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:26: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c: In function 'rtl_p2p_info': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:1004:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 1004 | if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:1004:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:1004:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/realtek/rtlwifi/ps.c:1004:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c: In function 'megasas_adp_reset_gen2': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:937:35: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] 937 | u32 __iomem *seq_offset = ®_set->seq_offset; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:938:40: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] 938 | u32 __iomem *hostdiag_offset = ®_set->host_diag; | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:941:30: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] 941 | seq_offset = ®_set->fusion_seq_offset; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:942:35: warning: taking address of packed member of 'struct megasas_register_set' may result in an unaligned pointer value [-Waddress-of-packed-member] 942 | hostdiag_offset = ®_set->fusion_host_diag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:34: /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c: In function 'megasas_get_pd_info': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4227:37: warning: taking address of packed member of 'union MR_PD_DDF_TYPE' may result in an unaligned pointer value [-Waddress-of-packed-member] 4227 | le16_to_cpus((u16 *)&instance->pd_info->state.ddf.pdType); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4227:17: note: in expansion of macro 'le16_to_cpus' 4227 | le16_to_cpus((u16 *)&instance->pd_info->state.ddf.pdType); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c: In function 'megasas_get_ctrl_info': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4722:37: warning: taking address of packed member of 'struct megasas_ctrl_prop' may result in an unaligned pointer value [-Waddress-of-packed-member] 4722 | le32_to_cpus((u32 *)&ci->properties.OnOffProperties); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4722:17: note: in expansion of macro 'le32_to_cpus' 4722 | le32_to_cpus((u32 *)&ci->properties.OnOffProperties); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4723:37: warning: taking address of packed member of 'struct megasas_ctrl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 4723 | le32_to_cpus((u32 *)&ci->adapterOperations2); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4723:17: note: in expansion of macro 'le32_to_cpus' 4723 | le32_to_cpus((u32 *)&ci->adapterOperations2); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4724:37: warning: taking address of packed member of 'struct megasas_ctrl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 4724 | le32_to_cpus((u32 *)&ci->adapterOperations3); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4724:17: note: in expansion of macro 'le32_to_cpus' 4724 | le32_to_cpus((u32 *)&ci->adapterOperations3); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4725:37: warning: taking address of packed member of 'struct megasas_ctrl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 4725 | le16_to_cpus((u16 *)&ci->adapter_operations4); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:4725:17: note: in expansion of macro 'le16_to_cpus' 4725 | le16_to_cpus((u16 *)&ci->adapter_operations4); | ^~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_lport.c:99: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/libfc/fc_lport.c: In function 'fc_lport_flogi_fill': /kisskb/src/drivers/scsi/libfc/fc_lport.c:369:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 369 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/libfc/fc_lport.c:374:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 374 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/arch/powerpc/include/asm/sections.h:7, from /kisskb/src/include/linux/interrupt.h:20, from /kisskb/src/include/linux/pci.h:32, from /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:36: /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c: In function 'megasas_mgmt_compat_ioctl_fw': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7521:39: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 7521 | if (get_user(local_sense_off, &ioc->sense_off) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7521:13: note: in expansion of macro 'get_user' 7521 | if (get_user(local_sense_off, &ioc->sense_off) || | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7522:43: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 7522 | get_user(local_sense_len, &ioc->sense_len) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7522:17: note: in expansion of macro 'get_user' 7522 | get_user(local_sense_len, &ioc->sense_len) || | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7523:42: warning: taking address of packed member of 'struct compat_megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 7523 | get_user(user_sense_off, &cioc->sense_off)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7523:17: note: in expansion of macro 'get_user' 7523 | get_user(user_sense_off, &cioc->sense_off)) | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7540:35: warning: taking address of packed member of 'struct compat_megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 7540 | if (get_user(ptr, &cioc->sgl[i].iov_base) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7540:21: note: in expansion of macro 'get_user' 7540 | if (get_user(ptr, &cioc->sgl[i].iov_base) || | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7541:47: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 7541 | put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) || /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_base.c:7541:21: note: in expansion of macro 'put_user' 7541 | put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) || | ^~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:25: /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'calib_fail_count_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:184:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 184 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:184:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 184 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'diversity_num_of_packets_per_ant_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:173:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 173 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:173:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 173 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:173:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 173 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:173:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 173 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'pipeline_pipeline_fifo_full_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:170:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 170 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pipeline, pipeline_fifo_full, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:170:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 170 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pipeline, pipeline_fifo_full, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'aggr_size_rx_size_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:154:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 154 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, rx_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:154:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 154 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, rx_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'aggr_size_tx_agg_len_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:152:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 152 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:152:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 152 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'aggr_size_tx_agg_rate_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:150:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 150 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:150:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 150 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'rx_rate_rx_frames_per_rates_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:148:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 148 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(rx_rate, rx_frames_per_rates, 50); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:148:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 148 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(rx_rate, rx_frames_per_rates, 50); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'pwr_cont_miss_bcns_spread_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:127:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 127 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pwr, cont_miss_bcns_spread, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:127:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 127 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pwr, cont_miss_bcns_spread, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'tx_tx_retry_per_rate_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:104:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 104 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:76:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 76 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(tx, tx_retry_per_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:98:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 98 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:38:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 38 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:76:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 76 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(tx, tx_retry_per_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_reset_barrier': /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4259:29: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] 4259 | ((MAILBOX_t *)&mbox)->mbxCommand = MBX_KILL_BOARD; | ^~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4224:27: note: object 'mbox' of size 4 4224 | volatile uint32_t mbox; | ^~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4260:29: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] 4260 | ((MAILBOX_t *)&mbox)->mbxOwner = OWN_CHIP; | ^~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4224:27: note: object 'mbox' of size 4 4224 | volatile uint32_t mbox; | ^~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4285:29: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] 4285 | ((MAILBOX_t *)&mbox)->mbxOwner = OWN_HOST; | ^~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4224:27: note: object 'mbox' of size 4 4224 | volatile uint32_t mbox; | ^~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_brdrestart_s3': /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4578:11: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] 4578 | mb->mbxCommand = MBX_RESTART; | ^~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4559:27: note: object 'word0' of size 4 4559 | volatile uint32_t word0; | ^~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4579:11: warning: array subscript 'MAILBOX_t[0]' is partly outside array bounds of 'volatile uint32_t[1]' {aka 'volatile unsigned int[1]'} [-Warray-bounds] 4579 | mb->mbxHc = 1; | ^~ /kisskb/src/drivers/scsi/lpfc/lpfc_sli.c:4559:27: note: object 'word0' of size 4 4559 | volatile uint32_t word0; | ^~~~~ /kisskb/src/drivers/net/wireless/realtek/rtlwifi/regd.c: In function 'rtl_regd_init': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/regd.c:430:45: warning: the comparison will always evaluate as 'false' for the address of 'regd' will never be NULL [-Waddress] 430 | if (wiphy == NULL || &rtlpriv->regd == NULL) | ^~ In file included from /kisskb/src/drivers/net/wireless/realtek/rtlwifi/regd.c:26: /kisskb/src/drivers/net/wireless/realtek/rtlwifi/wifi.h:2771:31: note: 'regd' declared here 2771 | struct rtl_regulatory regd; | ^~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_rport.c:73: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/cmd.c: In function 'wl1271_cmd_build_arp_rsp': /kisskb/src/drivers/net/wireless/ti/wlcore/cmd.c:1254:19: warning: taking address of packed member of 'struct wl12xx_arp_rsp_template' may result in an unaligned pointer value [-Waddress-of-packed-member] 1254 | arp_hdr = &tmpl->arp_hdr; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/libsas/sas_task.c: In function 'sas_ssp_task_response': /kisskb/src/drivers/scsi/libsas/sas_task.c:17:44: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 17 | tstat->stat = iu->resp_data[3]; | ~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/scsi/libsas/sas_task.c:3: /kisskb/src/include/scsi/sas.h:574:16: note: while referencing 'resp_data' 574 | u8 resp_data[0]; | ^~~~~~~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_fcp.c:41: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fusion.c: In function 'megasas_ioc_init_fusion': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fusion.c:1053:19: warning: taking address of packed member of 'struct megasas_init_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 1053 | drv_ops = (MFI_CAPABILITIES *) &(init_frame->driver_operations); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fusion.c:34: /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fusion.c:1080:29: warning: taking address of packed member of 'struct megasas_init_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 1080 | cpu_to_le32s((u32 *)&init_frame->driver_operations.mfi_capabilities); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:94:38: note: in definition of macro '__cpu_to_le32s' 94 | #define __cpu_to_le32s(x) __swab32s((x)) | ^ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fusion.c:1080:9: note: in expansion of macro 'cpu_to_le32s' 1080 | cpu_to_le32s((u32 *)&init_frame->driver_operations.mfi_capabilities); | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:27: In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_manufacturer' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1760:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:40: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_manufacturer': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_sn' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1782:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_sn': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_model' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1804:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_model': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_description' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1825:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_description': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_drvr_ver' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1878:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_drvr_ver': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_vendor_id' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:2093:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_vendor_id': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_smart_attr_service' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:2489:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_smart_attr_service': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_smart_attr_version' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:2531:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_smart_attr_version': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_smart_attr_model' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:2553:2: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_smart_attr_model': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ In function 'strncpy', inlined from 'lpfc_fdmi_hba_attr_rom_ver' at /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1903:3: /kisskb/src/include/linux/string.h:253:16: warning: '__builtin_strncpy' offset [8, 259] from the object at 'ad' is out of the bounds of referenced subobject 'AttrValue' with type 'unsigned int' at offset 4 [-Warray-bounds] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h: In function 'lpfc_fdmi_hba_attr_rom_ver': /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1351:18: note: subobject 'AttrValue' declared here 1351 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/osd/osd_initiator.c: In function 'osd_req_decode_sense_full': /kisskb/src/drivers/scsi/osd/osd_initiator.c:1857:56: warning: taking address of packed member of 'struct osd_sense_attributes_data_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 1857 | struct osd_sense_attr *pattr = osadd->sense_attrs; | ^~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'MR_LdRaidGet': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:117:16: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 117 | return &map->raidMap.ldSpanMap[ld].ldRaid; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'MR_LdSpanInfoGet': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:124:16: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 124 | return &map->raidMap.ldSpanMap[ld].spanBlock[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'MR_LdSpanPtrGet': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:165:16: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 165 | return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'MR_PopulateDrvRaidMap': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:185:47: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 185 | struct MR_DRV_RAID_MAP *pDrvRaidMap = &drv_map->raidMap; | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:286:30: warning: taking address of packed member of 'struct MR_FW_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 286 | pFwRaidMap = &fw_map_old->raidMap; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'MR_ValidateMapInfo': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:333:23: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 333 | pDrvRaidMap = &drv_map->raidMap; | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'mr_spanset_get_span_block': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:456:40: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 456 | quad = &map->raidMap.ldSpanMap[ld]. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 457 | spanBlock[span]. | ~~~~~~~~~~~~~~~~ 458 | block_span_info.quad[info]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'get_strip_from_row': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:576:40: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 576 | quad = &map->raidMap.ldSpanMap[ld]. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 577 | spanBlock[span].block_span_info.quad[info]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'mr_update_span_set': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:1181:40: warning: taking address of packed member of 'struct MR_DRV_RAID_MAP_ALL' may result in an unaligned pointer value [-Waddress-of-packed-member] 1181 | quad = &map->raidMap.ldSpanMap[ld]. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1182 | spanBlock[span].block_span_info. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1183 | quad[element]; | ~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:34: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'qlogic_cs_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/pcmcia/ds.h:77:9: note: in expansion of macro 'module_driver' 77 | module_driver(__pcmcia_driver, pcmcia_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:310:1: note: in expansion of macro 'module_pcmcia_driver' 310 | module_pcmcia_driver(qlogic_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:40: /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:310:22: note: 'cleanup_module' target declared here 310 | module_pcmcia_driver(qlogic_cs_driver); | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:310:1: note: in expansion of macro 'module_pcmcia_driver' 310 | module_pcmcia_driver(qlogic_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'qlogic_cs_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/pcmcia/ds.h:77:9: note: in expansion of macro 'module_driver' 77 | module_driver(__pcmcia_driver, pcmcia_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:310:1: note: in expansion of macro 'module_pcmcia_driver' 310 | module_pcmcia_driver(qlogic_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:310:22: note: 'init_module' target declared here 310 | module_pcmcia_driver(qlogic_cs_driver); | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:310:1: note: in expansion of macro 'module_pcmcia_driver' 310 | module_pcmcia_driver(qlogic_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:37: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'aha152x_cs_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/pcmcia/ds.h:77:9: note: in expansion of macro 'module_driver' 77 | module_driver(__pcmcia_driver, pcmcia_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:223:1: note: in expansion of macro 'module_pcmcia_driver' 223 | module_pcmcia_driver(aha152x_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/scsi/scsi.h:10, from /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:43: /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:223:22: note: 'cleanup_module' target declared here 223 | module_pcmcia_driver(aha152x_cs_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:223:1: note: in expansion of macro 'module_pcmcia_driver' 223 | module_pcmcia_driver(aha152x_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'aha152x_cs_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/pcmcia/ds.h:77:9: note: in expansion of macro 'module_driver' 77 | module_driver(__pcmcia_driver, pcmcia_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:223:1: note: in expansion of macro 'module_pcmcia_driver' 223 | module_pcmcia_driver(aha152x_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:223:22: note: 'init_module' target declared here 223 | module_pcmcia_driver(aha152x_cs_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:223:1: note: in expansion of macro 'module_pcmcia_driver' 223 | module_pcmcia_driver(aha152x_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:51: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'sym53c500_cs_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/pcmcia/ds.h:77:9: note: in expansion of macro 'module_driver' 77 | module_driver(__pcmcia_driver, pcmcia_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:883:1: note: in expansion of macro 'module_pcmcia_driver' 883 | module_pcmcia_driver(sym53c500_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/include/linux/io.h:25, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:55: /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:883:22: note: 'cleanup_module' target declared here 883 | module_pcmcia_driver(sym53c500_cs_driver); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:883:1: note: in expansion of macro 'module_pcmcia_driver' 883 | module_pcmcia_driver(sym53c500_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'sym53c500_cs_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/pcmcia/ds.h:77:9: note: in expansion of macro 'module_driver' 77 | module_driver(__pcmcia_driver, pcmcia_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:883:1: note: in expansion of macro 'module_pcmcia_driver' 883 | module_pcmcia_driver(sym53c500_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:883:22: note: 'init_module' target declared here 883 | module_pcmcia_driver(sym53c500_cs_driver); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:883:1: note: in expansion of macro 'module_pcmcia_driver' 883 | module_pcmcia_driver(sym53c500_cs_driver); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/main.c: In function 'mlx4_allocate_default_counters': /kisskb/src/drivers/net/ethernet/mellanox/mlx4/main.c:2542:49: warning: 'idx' may be used uninitialized [-Wmaybe-uninitialized] 2542 | priv->def_counter[port] = idx; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/main.c:2533:13: note: 'idx' was declared here 2533 | u32 idx; | ^~~ In file included from /kisskb/src/drivers/scsi/qedf/qedf.h:17, from /kisskb/src/drivers/scsi/qedf/qedf_main.c:25: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c: In function '__vxge_hw_device_reg_addr_get': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:642:25: warning: taking address of packed member of 'struct vxge_hw_common_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 642 | (u64 __iomem *)&hldev->common_reg->vpath_rst_in_prog); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c: In function 'vxge_hw_device_hw_info_get': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:1020:17: warning: taking address of packed member of 'struct vxge_hw_common_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 1020 | (u64 __iomem *)&common_reg->vpath_rst_in_prog); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c: In function '__vxge_hw_vpath_xmac_tx_stats_get': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:1452:9: warning: converting a packed 'struct vxge_hw_xmac_vpath_tx_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 1452 | val64 = (u64 *)vpath_tx_stats; | ^~~~~ In file included from /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:20: /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:890:8: note: defined here 890 | struct vxge_hw_xmac_vpath_tx_stats { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c: In function '__vxge_hw_vpath_xmac_rx_stats_get': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:1483:9: warning: converting a packed 'struct vxge_hw_xmac_vpath_rx_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 1483 | val64 = (u64 *) vpath_rx_stats; | ^~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:1040:8: note: defined here 1040 | struct vxge_hw_xmac_vpath_rx_stats { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c: In function 'vxge_hw_device_xmac_aggr_stats_get': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:1734:9: warning: converting a packed 'struct vxge_hw_xmac_aggr_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 1734 | val64 = (u64 *)aggr_stats; | ^~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:384:8: note: defined here 384 | struct vxge_hw_xmac_aggr_stats { | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c: In function 'vxge_hw_device_xmac_port_stats_get': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-config.c:1768:9: warning: converting a packed 'struct vxge_hw_xmac_port_stats' pointer (alignment 1) to a 'u64' {aka 'long long unsigned int'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 1768 | val64 = (u64 *) port_stats; | ^~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:739:8: note: defined here 739 | struct vxge_hw_xmac_port_stats { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qedf/qedf.h:17, from /kisskb/src/drivers/scsi/qedf/qedf_fip.c:11: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qedf/qedf.h:17, from /kisskb/src/drivers/scsi/qedf/qedf_io.c:11: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1730:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1730 | u8 (macaddr)[ETH_ALEN], | ~~~~^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:18: /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2158:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2158 | u8 *macaddr, | ~~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1731:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1731 | u8 (macaddr_mask)[ETH_ALEN], | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2159:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2159 | u8 *macaddr_mask, | ~~~~^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1793:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1793 | u8 (macaddr)[ETH_ALEN], | ~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2165:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2165 | u8 *macaddr, | ~~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1794:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1794 | u8 (macaddr_mask)[ETH_ALEN]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2166:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2166 | u8 *macaddr_mask); | ~~~~^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1845:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1845 | u8 (macaddr)[ETH_ALEN], | ~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2171:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2171 | u8 *macaddr, | ~~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1846:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1846 | u8 (macaddr_mask)[ETH_ALEN]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2172:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2172 | u8 *macaddr_mask); | ~~~~^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1898:13: warning: argument 2 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1898 | u8 (macaddr)[ETH_ALEN], | ~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2177:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2177 | u8 *macaddr, | ~~~~^~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1899:13: warning: argument 3 of type 'u8[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 1899 | u8 (macaddr_mask)[ETH_ALEN]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-traffic.h:2178:13: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2178 | u8 *macaddr_mask); | ~~~~^~~~~~~~~~~~ In function 'wlcore_validate_fw_ver', inlined from 'wlcore_boot_static_data' at /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:160:8: /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:127:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] 127 | snprintf(min_fw_str, sizeof(min_fw_str), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | "%s%u.", min_fw_str, min_ver[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c: In function 'wlcore_boot_static_data': /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:88:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 88 | char min_fw_str[32] = ""; | ^~~~~~~~~~ In function 'wlcore_validate_fw_ver', inlined from 'wlcore_boot_static_data' at /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:160:8: /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:124:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] 124 | snprintf(min_fw_str, sizeof(min_fw_str), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | "%s*.", min_fw_str); | ~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c: In function 'wlcore_boot_static_data': /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:88:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 88 | char min_fw_str[32] = ""; | ^~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qedf/qedf.h:17, from /kisskb/src/drivers/scsi/qedf/qedf_attr.c:9: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qedf/qedf.h:17, from /kisskb/src/drivers/scsi/qedf/qedf_els.c:9: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7: /kisskb/src/drivers/scsi/qla2xxx/qla_init.c: In function 'qla2x00_chip_diag': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 841 | (num < 8 ? \ | ~~~~~~~~~~~~ 842 | &(reg)->u.isp2100.mailbox0 + (num) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 843 | &(reg)->u_end.isp2200.mailbox8 + (num) - 8) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:2976:50: note: in expansion of macro 'MAILBOX_REG' 2976 | data = qla2x00_debounce_register(MAILBOX_REG(ha, reg, 0)); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:844:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 844 | &(reg)->u.isp2300.mailbox0 + (num)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:2976:50: note: in expansion of macro 'MAILBOX_REG' 2976 | data = qla2x00_debounce_register(MAILBOX_REG(ha, reg, 0)); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c: In function 'qla27xx_find_valid_image': /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7286:13: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 7286 | ha->flt_region_img_status_pri, size); | ^~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:4399:8: note: defined here 4399 | struct qla27xx_image_status { | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7296:9: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 7296 | wptr = (uint32_t *)(&pri_image_status); | ^~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:4399:8: note: defined here 4399 | struct qla27xx_image_status { | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7316:13: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 7316 | ha->flt_region_img_status_sec, size); | ^~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:4399:8: note: defined here 4399 | struct qla27xx_image_status { | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7326:9: warning: converting a packed 'struct qla27xx_image_status' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 7326 | wptr = (uint32_t *)(&sec_image_status); | ^~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:4399:8: note: defined here 4399 | struct qla27xx_image_status { | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_mbx.c:7: /kisskb/src/drivers/scsi/qla2xxx/qla_mbx.c: In function 'qla2x00_mailbox_command': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 841 | (num < 8 ? \ | ~~~~~~~~~~~~ 842 | &(reg)->u.isp2100.mailbox0 + (num) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 843 | &(reg)->u_end.isp2200.mailbox8 + (num) - 8) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_mbx.c:216:44: note: in expansion of macro 'MAILBOX_REG' 216 | optr = (uint16_t __iomem *)MAILBOX_REG(ha, ®->isp, 0); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:844:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 844 | &(reg)->u.isp2300.mailbox0 + (num)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_mbx.c:216:44: note: in expansion of macro 'MAILBOX_REG' 216 | optr = (uint16_t __iomem *)MAILBOX_REG(ha, ®->isp, 0); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 841 | (num < 8 ? \ | ~~~~~~~~~~~~ 842 | &(reg)->u.isp2100.mailbox0 + (num) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 843 | &(reg)->u_end.isp2200.mailbox8 + (num) - 8) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_mbx.c:227:49: note: in expansion of macro 'MAILBOX_REG' 227 | (uint16_t __iomem *)MAILBOX_REG(ha, ®->isp, 8); | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qedf/qedf.h:17, from /kisskb/src/drivers/scsi/qedf/qedf_debugfs.c:15: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/target/tcm_fc/tfc_cmd.c:34: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla4xxx/ql4_nx.c: In function 'qla4_8xxx_minidump_pex_dma_read': /kisskb/src/drivers/scsi/qla4xxx/ql4_nx.c:2109:46: warning: converting a packed 'struct qla4_83xx_pex_dma_descriptor' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2109 | (sizeof(struct qla4_83xx_pex_dma_descriptor)/16)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla4xxx/ql4_def.h:46, from /kisskb/src/drivers/scsi/qla4xxx/ql4_nx.c:11: /kisskb/src/drivers/scsi/qla4xxx/ql4_83xx.h:359:8: note: defined here 359 | struct qla4_83xx_pex_dma_descriptor { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_iocb.c:7: /kisskb/src/drivers/scsi/qla2xxx/qla_iocb.c: In function '__qla2x00_alloc_iocbs': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:825:10: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 825 | &(reg)->u.isp2100.mailbox4 : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_iocb.c:2135:29: note: in expansion of macro 'ISP_REQ_Q_OUT' 2135 | ISP_REQ_Q_OUT(ha, ®->isp)); | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:826:10: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 826 | &(reg)->u.isp2300.req_q_out) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_iocb.c:2135:29: note: in expansion of macro 'ISP_REQ_Q_OUT' 2135 | ISP_REQ_Q_OUT(ha, ®->isp)); | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/fwserial/fwserial.c: In function 'fill_plug_req': /kisskb/src/drivers/staging/fwserial/fwserial.c:1614:26: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] 1614 | fill_plug_params(&pkt->plug_req, port); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/fwserial/fwserial.c: In function 'fill_plug_rsp_ok': /kisskb/src/drivers/staging/fwserial/fwserial.c:1622:26: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] 1622 | fill_plug_params(&pkt->plug_rsp, port); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/fwserial/fwserial.c: At top level: /kisskb/src/drivers/staging/fwserial/fwserial.c:2472:9: warning: converting a packed 'struct fwserial_unit_directory_data' pointer (alignment 1) to a 'u32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2472 | .data = (u32 *)&fwserial_unit_directory_data, | ^ /kisskb/src/drivers/staging/fwserial/fwserial.c:2444:8: note: defined here 2444 | struct fwserial_unit_directory_data { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/fwserial/fwserial.c:2473:1: warning: converting a packed 'struct fwserial_unit_directory_data' pointer (alignment 1) to a 'u32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2473 | }; | ^ /kisskb/src/drivers/staging/fwserial/fwserial.c:2444:8: note: defined here 2444 | struct fwserial_unit_directory_data { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/fwserial/fwserial.c: In function 'fwserial_parse_mgmt_write': /kisskb/src/drivers/staging/fwserial/fwserial.c:2679:59: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] 2679 | fwserial_virt_plug_complete(peer, &pkt->plug_rsp); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/target/tcm_fc/tfc_io.c:43: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:15: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 546 | csp = &plogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:551:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 551 | cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_flogi_fill': /kisskb/src/include/scsi/fc_encode.h:577:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | sp = &flogi->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:582:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 582 | cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h: In function 'fc_fdisc_fill': /kisskb/src/include/scsi/fc_encode.h:602:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | sp = &fdisc->fl_csp; | ^~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:607:14: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | cp = &fdisc->fl_cssp[3 - 1]; /* class 3 parameters */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_isr.c:7: /kisskb/src/drivers/scsi/qla2xxx/qla_isr.c: In function 'qla2x00_mbx_completion': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 841 | (num < 8 ? \ | ~~~~~~~~~~~~ 842 | &(reg)->u.isp2100.mailbox0 + (num) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 843 | &(reg)->u_end.isp2200.mailbox8 + (num) - 8) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_isr.c:290:52: note: in expansion of macro 'MAILBOX_REG' 290 | wptr = (uint16_t __iomem *)MAILBOX_REG(ha, reg, 8); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:13, from /kisskb/src/drivers/scsi/qla2xxx/qla_gs.c:7: In function 'memcpy', inlined from 'qla2x00_fdmiv2_rhba' at /kisskb/src/drivers/scsi/qla2xxx/qla_gs.c:2188:2: /kisskb/src/include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 352 | return __builtin_memcpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h: In function 'qla2x00_fdmiv2_rhba': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:2820:33: note: at offset [4, 8] into destination object 'hba_identifier' of size 8 2820 | uint8_t hba_identifier[8]; | ^~~~~~~~~~~~~~ In function 'memcpy', inlined from 'qla2x00_fdmiv2_rpa' at /kisskb/src/drivers/scsi/qla2xxx/qla_gs.c:2488:2: /kisskb/src/include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 352 | return __builtin_memcpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h: In function 'qla2x00_fdmiv2_rpa': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:2837:33: note: at offset [4, 8] into destination object 'port_name' of size 8 2837 | uint8_t port_name[8]; | ^~~~~~~~~ In function 'memcpy', inlined from 'qla2x00_fdmiv2_rpa' at /kisskb/src/drivers/scsi/qla2xxx/qla_gs.c:2498:2: /kisskb/src/include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 352 | return __builtin_memcpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h: In function 'qla2x00_fdmiv2_rpa': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:2837:33: note: at offset [4, 8] into destination object 'port_name' of size 8 2837 | uint8_t port_name[8]; | ^~~~~~~~~ In function 'memcpy', inlined from 'qla2x00_fdmiv2_rpa' at /kisskb/src/drivers/scsi/qla2xxx/qla_gs.c:2541:2: /kisskb/src/include/linux/string.h:352:16: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 352 | return __builtin_memcpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h: In function 'qla2x00_fdmiv2_rpa': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:2837:33: note: at offset [4, 8] into destination object 'port_name' of size 8 2837 | uint8_t port_name[8]; | ^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c: In function 'qla2xxx_read_window': /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:458:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 458 | uint16_t __iomem *dmp_reg = ®->u.isp2300.fb_cmd; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c: In function 'qla2300_fw_dump': /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:783:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 783 | dmp_reg = ®->u.isp2300.req_q_in; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:788:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 788 | dmp_reg = ®->u.isp2300.mailbox0; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c: In function 'qla2100_fw_dump': /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:949:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 949 | dmp_reg = ®->u.isp2100.mailbox0; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:952:43: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 952 | dmp_reg = ®->u_end.isp2200.mailbox8; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:957:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 957 | dmp_reg = ®->u.isp2100.unused_2[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:73: /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c: In function 'ql_dump_regs': /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:842:46: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 841 | (num < 8 ? \ | ~~~~~~~~~~~~ 842 | &(reg)->u.isp2100.mailbox0 + (num) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 843 | &(reg)->u_end.isp2200.mailbox8 + (num) - 8) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:2739:27: note: in expansion of macro 'MAILBOX_REG' 2739 | mbx_reg = MAILBOX_REG(ha, reg, 0); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:844:37: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 844 | &(reg)->u.isp2300.mailbox0 + (num)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:2739:27: note: in expansion of macro 'MAILBOX_REG' 2739 | mbx_reg = MAILBOX_REG(ha, reg, 0); | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:6: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gdm_usb_lte_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:1004:1: note: in expansion of macro 'module_exit' 1004 | module_exit(gdm_usb_lte_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:996:20: note: 'cleanup_module' target declared here 996 | static void __exit gdm_usb_lte_exit(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'gdm_usb_lte_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:1003:1: note: in expansion of macro 'module_init' 1003 | module_init(gdm_usb_lte_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:986:19: note: 'init_module' target declared here 986 | static int __init gdm_usb_lte_init(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c: In function 'mlx4_en_process_rx_cq': /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:737:45: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 737 | if (ether_addr_equal_64bits(entry->mac, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 738 | ethh->h_source)) | ~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:737:45: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/include/linux/if_vlan.h:16, from /kisskb/src/include/linux/filter.h:22, from /kisskb/src/include/trace/events/xdp.h:9, from /kisskb/src/include/linux/bpf_trace.h:5, from /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:35: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:6: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gdm_usb_mux_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:666:1: note: in expansion of macro 'module_exit' 666 | module_exit(gdm_usb_mux_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:659:20: note: 'cleanup_module' target declared here 659 | static void __exit gdm_usb_mux_exit(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'gdm_usb_mux_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:665:1: note: in expansion of macro 'module_init' 665 | module_init(gdm_usb_mux_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:648:19: note: 'init_module' target declared here 648 | static int __init gdm_usb_mux_init(void) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/scsi/snic/snic_debugfs.c:18: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'snic_reset_stats_write' at /kisskb/src/drivers/scsi/snic/snic_debugfs.c:151:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'snic_reset_stats_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/snic/snic_debugfs.c:144:14: note: 'buf' declared here 144 | char buf[64]; | ^~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qla2x00_bsg_sp_free': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:39:21: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 39 | &bsg_request->rqst_data.h_vendor.vendor_cmd[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qla24xx_iidma': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:1353:25: warning: taking address of packed member of 'struct qla_port_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 1353 | &port_param->speed, mb); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qlafx00_mgmt_cmd': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:1960:13: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 1960 | &bsg_request->rqst_data.h_vendor.vendor_cmd[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qla26xx_serdes_op': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:2087:63: warning: taking address of packed member of 'struct qla_serdes_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2087 | rval = qla2x00_read_serdes_word(vha, sr.addr, &sr.val); | ^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qla8044_serdes_op': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:2129:63: warning: taking address of packed member of 'struct qla_serdes_reg_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 2129 | rval = qla8044_read_serdes_word(vha, sr.addr, &sr.val); | ^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qla2x00_get_priv_stats': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:2300:25: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 2300 | uint32_t *cmd = bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ In function 'tb_xdp_handle_error', inlined from 'tb_xdp_properties_changed_request' at /kisskb/src/drivers/thunderbolt/xdomain.c:406:9, inlined from 'tb_xdomain_properties_changed' at /kisskb/src/drivers/thunderbolt/xdomain.c:929:8: /kisskb/src/drivers/thunderbolt/xdomain.c:210:22: warning: array subscript 'const struct tb_xdp_error_response[0]' is partly outside array bounds of 'struct tb_xdp_properties_changed_response[1]' [-Warray-bounds] 210 | switch (error->error) { | ~~~~~^~~~~~~ /kisskb/src/drivers/thunderbolt/xdomain.c: In function 'tb_xdomain_properties_changed': /kisskb/src/drivers/thunderbolt/xdomain.c:389:51: note: object 'res' of size 32 389 | struct tb_xdp_properties_changed_response res; | ^~~ /kisskb/src/drivers/thunderbolt/xdomain.c: In function 'modalias_show': /kisskb/src/drivers/thunderbolt/xdomain.c:597:16: warning: 'sprintf' argument 3 overlaps destination object 'buf' [-Wrestrict] 597 | return sprintf(buf, "%s\n", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/thunderbolt/xdomain.c:591:36: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 591 | char *buf) | ~~~~~~^~~ /kisskb/src/drivers/target/target_core_transport.c: In function 'transport_generic_free_cmd': /kisskb/src/drivers/target/target_core_transport.c:2680:28: warning: storing the address of local variable 'compl' in '*cmd.compl' [-Wdangling-pointer=] 2680 | cmd->compl = &compl; | ~~~~~~~~~~~^~~~~~~~ In file included from /kisskb/src/include/linux/srcutree.h:28, from /kisskb/src/include/linux/srcu.h:62, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/include/linux/memory_hotplug.h:7, from /kisskb/src/include/linux/mmzone.h:747, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:31, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_file.h:11, from /kisskb/src/arch/powerpc/include/asm/machdep.h:12, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:7, from /kisskb/src/include/linux/random.h:166, from /kisskb/src/include/linux/net.h:22, from /kisskb/src/drivers/target/target_core_transport.c:26: /kisskb/src/drivers/target/target_core_transport.c:2660:36: note: 'compl' declared here 2660 | DECLARE_COMPLETION_ONSTACK(compl); | ^~~~~ /kisskb/src/include/linux/completion.h:70:27: note: in definition of macro 'DECLARE_COMPLETION_ONSTACK' 70 | struct completion work = COMPLETION_INITIALIZER_ONSTACK(work) | ^~~~ /kisskb/src/drivers/target/target_core_transport.c:2660:36: note: 'cmd' declared here 2660 | DECLARE_COMPLETION_ONSTACK(compl); | ^~~~~ /kisskb/src/include/linux/completion.h:70:27: note: in definition of macro 'DECLARE_COMPLETION_ONSTACK' 70 | struct completion work = COMPLETION_INITIALIZER_ONSTACK(work) | ^~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_hba_set_event': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:1228:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 1228 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_hba_get_event': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:1314:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 1314 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_send_mgmt_rsp': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:1636:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 1636 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_sli3_bsg_diag_loopback_mode': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:1827:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 1827 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_sli4_bsg_diag_loopback_mode': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:2093:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 2093 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_sli4_bsg_diag_mode_end': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:2274:25: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 2274 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_sli4_bsg_link_diag_test': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:2380:26: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 2380 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_sli_cfg_read_cmd_ext': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:3846:35: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 3846 | (struct dfc_mbox_req *)bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_sli_cfg_write_cmd_ext': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:4033:35: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 4033 | (struct dfc_mbox_req *)bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_handle_sli_cfg_ext': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:4579:35: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 4579 | (struct dfc_mbox_req *)bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_issue_mbox': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:4691:36: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 4691 | (struct dfc_mbox_req *)bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_mbox_cmd': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:4963:33: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 4963 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_menlo_cmd': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:5149:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 5149 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_set_ras_config': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:5437:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 5437 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_get_ras_fwlog': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:5572:17: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 5572 | bsg_request->rqst_data.h_vendor.vendor_cmd; | ^~~~~~~~~~~ In function 'serial_unlink_irq_chain', inlined from 'univ8250_release_irq' at /kisskb/src/drivers/tty/serial/8250/8250_core.c:349:3: /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 247 | serial_do_unlink(i, up); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:26: note: 'i' was declared here 227 | struct irq_info *i; | ^ In file included from /kisskb/src/arch/powerpc/include/asm/bitops.h:198, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/drivers/net/ethernet/intel/ice/ice.h:9, from /kisskb/src/drivers/net/ethernet/intel/ice/ice_common.h:7, from /kisskb/src/drivers/net/ethernet/intel/ice/ice_common.c:4: In function 'test_bit', inlined from 'ice_is_tc_ena' at /kisskb/src/drivers/net/ethernet/intel/ice/ice_type.h:18:9, inlined from 'ice_cfg_vsi_qs' at /kisskb/src/drivers/net/ethernet/intel/ice/ice_common.c:2740:12, inlined from 'ice_cfg_vsi_lan' at /kisskb/src/drivers/net/ethernet/intel/ice/ice_common.c:2763:9: /kisskb/src/include/asm-generic/bitops/non-atomic.h:106:27: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u8[1]' {aka 'unsigned char[1]'} [-Warray-bounds] 106 | return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); | ~~~~^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/ice/ice_common.c: In function 'ice_cfg_vsi_lan': /kisskb/src/drivers/net/ethernet/intel/ice/ice_common.c:2721:1: note: object 'bitmap' of size 1 2721 | ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:23: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:93:2, inlined from 'diag_cmd_data_free.isra' at /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:891:2: /kisskb/src/include/linux/list.h:63:20: warning: storing the address of local variable 'head' in '*(struct list_head *)mlist.prev' [-Wdangling-pointer=] 63 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'diag_cmd_data_free.isra': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:883:26: note: 'head' declared here 883 | struct list_head head, *curr, *next; | ^~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:883:26: note: 'mlist' declared here /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmem': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2362:25: warning: converting a packed 'struct qla8044_minidump_entry_hdr' pointer (alignment 1) to a 'struct qla8044_minidump_entry_rdmem' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2362 | m_hdr = (struct qla8044_minidump_entry_rdmem *)entry_hdr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:39, from /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.h:286:8: note: defined here 286 | struct qla8044_minidump_entry_hdr { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.h:359:8: note: defined here 359 | struct qla8044_minidump_entry_rdmem { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_pex_dma_read': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2969:36: warning: converting a packed 'struct qla8044_pex_dma_descriptor' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2969 | (sizeof(struct qla8044_pex_dma_descriptor)/16)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.h:569:8: note: defined here 569 | struct qla8044_pex_dma_descriptor { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_mr.c: In function 'qlafx00_fxdisc_iocb': /kisskb/src/drivers/scsi/qla2xxx/qla_mr.c:3317:25: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] 3317 | &bsg_request->rqst_data.h_vendor.vendor_cmd[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_ms_mem_write_128b': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:1193:39: warning: 'agt_ctrl' may be used uninitialized [-Wmaybe-uninitialized] 1193 | if ((agt_ctrl & MIU_TA_CTL_BUSY) == 0) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:1126:18: note: 'agt_ctrl' was declared here 1126 | uint32_t agt_ctrl; | ^~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmem': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2413:37: warning: 'r_data' may be used uninitialized [-Wmaybe-uninitialized] 2413 | *data_ptr++ = r_data; | ~~~~~~~~~~~~^~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2354:35: note: 'r_data' was declared here 2354 | uint32_t r_addr, r_value, r_data; | ^~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rddfe': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3034:35: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 3034 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3005:45: note: 'temp' was declared here 3005 | uint32_t addr1, addr2, value, data, temp, wrVal; | ^~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3084:37: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 3084 | *data_ptr++ = data; | ~~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3005:39: note: 'data' was declared here 3005 | uint32_t addr1, addr2, value, data, temp, wrVal; | ^~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_poll_reg': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:695:17: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 695 | ql_log(ql_log_fatal, vha, 0xb090, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 696 | "%s: Poll Failed: 0x%08x 0x%08x 0x%08x\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | __func__, value, test_mask, test_result); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:663:18: note: 'value' was declared here 663 | uint32_t value; | ^~~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_rd_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:175:8: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_ipmdio_rd_reg': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_rd_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:168:8: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_ipmdio_rd_reg': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_wr_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:221:8, inlined from 'qla8044_minidump_process_rdmdio' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3144:9: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmdio': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_wr_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:214:8, inlined from 'qla8044_minidump_process_rdmdio' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3144:9: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmdio': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_wr_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:221:8, inlined from 'qla8044_minidump_process_rdmdio' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3138:9: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmdio': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_wr_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:214:8, inlined from 'qla8044_minidump_process_rdmdio' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3138:9: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmdio': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_wr_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:221:8, inlined from 'qla8044_minidump_process_rdmdio' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3132:9: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmdio': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ In function 'qla8044_poll_wait_for_ready', inlined from 'qla8044_ipmdio_wr_reg' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:214:8, inlined from 'qla8044_minidump_process_rdmdio' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3132:9: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:149:27: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 149 | if ((temp & mask) != 0) | ~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_rdmdio': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:143:18: note: 'temp' was declared here 143 | uint32_t temp; | ^~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_minidump_process_control': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2235:25: warning: 'read_value' may be used uninitialized [-Wmaybe-uninitialized] 2235 | qla8044_wr_reg_indirect(vha, crb_addr, read_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2211:18: note: 'read_value' was declared here 2211 | uint32_t read_value, opcode, poll_time, addr, index; | ^~~~~~~~~~ In function 'qla8044_poll_read_list', inlined from 'qla8044_process_reset_template' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:983:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:921:65: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 921 | vha->reset_tmplt.array[index++] = value; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_process_reset_template': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:894:18: note: 'value' was declared here 894 | uint32_t value; | ^~~~~ In function 'qla8044_rmw_crb_reg', inlined from 'qla8044_read_modify_write' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:830:3, inlined from 'qla8044_process_reset_template' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:971:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:247:15: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 247 | value &= p_rmw_hdr->test_mask; | ^~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_process_reset_template': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:241:18: note: 'value' was declared here 241 | uint32_t value; | ^~~~~ In function 'qla8044_read_write_crb_reg', inlined from 'qla8044_read_write_list' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:640:3, inlined from 'qla8044_process_reset_template' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:962:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:135:9: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 135 | qla8044_wr_reg_indirect(vha, waddr, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_process_reset_template': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:132:18: note: 'value' was declared here 132 | uint32_t value; | ^~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_write_flash_buffer_mode.constprop': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3712:9: warning: 'spi_val' may be used uninitialized [-Wmaybe-uninitialized] 3712 | qla8044_wr_reg_indirect(vha, QLA8044_FLASH_SPI_CONTROL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3713 | spi_val | QLA8044_FLASH_SPI_CTL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3701:18: note: 'spi_val' was declared here 3701 | uint32_t spi_val; | ^~~~~~~ In function 'qla8044_minidump_process_pollwr', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3441:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3193:30: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 3193 | if ((r_value & poll) != 0) | ~~~~~~~~~^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3178:54: note: 'r_value' was declared here 3178 | uint32_t addr1, addr2, value1, value2, poll, r_value; | ^~~~~~~ In function 'qla8044_minidump_process_pollrdmwr', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3423:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2780:14: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 2780 | data &= poll_hdr->modify_mask; | ^~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2749:49: note: 'data' was declared here 2749 | uint32_t poll_wait, poll_mask, r_value, data; | ^~~~ In function 'qla8044_minidump_process_pollrdmwr', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3423:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2767:30: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2767 | if ((r_value & poll_mask) != 0) { | ~~~~~~~~~^~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2749:40: note: 'r_value' was declared here 2749 | uint32_t poll_wait, poll_mask, r_value, data; | ^~~~~~~ In function 'qla8044_minidump_process_rdmux2', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3419:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2726:29: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 2726 | *data_ptr++ = data; | ~~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2705:49: note: 'data' was declared here 2705 | uint32_t sel_val1, sel_val2, t_sel_val, data, i; | ^~~~ In function 'qla8044_minidump_process_pollrd', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3413:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2677:38: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2677 | if ((r_value & poll_mask) != 0) { | ~~~~~~~~~^~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2658:43: note: 'r_value' was declared here 2658 | uint32_t r_addr, s_addr, s_value, r_value, poll_wait, poll_mask; | ^~~~~~~ In function 'qla8044_minidump_process_queue', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3409:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2644:37: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2644 | *data_ptr++ = r_value; | ~~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2627:28: note: 'r_value' was declared here 2627 | uint32_t r_stride, r_value, r_cnt, qid = 0; | ^~~~~~~ In function 'qla8044_minidump_process_rdmux', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3405:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2615:29: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2615 | *data_ptr++ = r_value; | ~~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2598:66: note: 'r_value' was declared here 2598 | uint32_t r_addr, s_stride, s_addr, s_value, loop_cnt, i, r_value; | ^~~~~~~ In function 'qla8044_minidump_process_l1cache', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3397:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2554:37: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2554 | *data_ptr++ = r_value; | ~~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2533:52: note: 'r_value' was declared here 2533 | uint32_t i, k, loop_count, t_value, r_cnt, r_value; | ^~~~~~~ In function 'qla8044_minidump_process_l2tag', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3386:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2507:48: warning: 'c_value_r' may be used uninitialized [-Wmaybe-uninitialized] 2507 | if ((c_value_r & p_mask) == 0) { | ~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2478:29: note: 'c_value_r' was declared here 2478 | uint32_t c_value_w, c_value_r; | ^~~~~~~~~ In function 'qla8044_minidump_process_l2tag', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3386:11: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2519:37: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2519 | *data_ptr++ = r_value; | ~~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2476:52: note: 'r_value' was declared here 2476 | uint32_t i, k, loop_count, t_value, r_cnt, r_value; | ^~~~~~~ In function 'qla8044_minidump_process_rdcrb', inlined from 'qla8044_collect_md_data' at /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:3357:4: /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2344:29: warning: 'r_value' may be used uninitialized [-Wmaybe-uninitialized] 2344 | *data_ptr++ = r_value; | ~~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c: In function 'qla8044_collect_md_data': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2331:49: note: 'r_value' was declared here 2331 | uint32_t r_addr, r_stride, loop_cnt, i, r_value; | ^~~~~~~ /kisskb/src/drivers/staging/greybus/authentication.c: In function 'cap_ioctl': /kisskb/src/drivers/staging/greybus/authentication.c:232:47: warning: taking address of packed member of 'struct cap_ioc_get_ims_certificate' may result in an unaligned pointer value [-Waddress-of-packed-member] 232 | &ims_cert->cert_size, | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/greybus/authentication.c:250:40: warning: taking address of packed member of 'struct cap_ioc_authenticate' may result in an unaligned pointer value [-Waddress-of-packed-member] 250 | &authenticate->signature_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_target.c: In function 'qlt_24xx_atio_pkt_all_vps': /kisskb/src/drivers/scsi/qla2xxx/qla_target.c:410:33: warning: converting a packed 'struct atio_from_isp' pointer (alignment 1) to a 'struct vp_rpt_id_entry_24xx' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 410 | (struct vp_rpt_id_entry_24xx *)atio); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:4666, from /kisskb/src/drivers/scsi/qla2xxx/qla_target.c:42: /kisskb/src/drivers/scsi/qla2xxx/qla_target.h:329:8: note: defined here 329 | struct atio_from_isp { | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:259: /kisskb/src/drivers/scsi/qla2xxx/qla_fw.h:1346:8: note: defined here 1346 | struct vp_rpt_id_entry_24xx { | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_target.c: In function 'qlt_load_data_segments': /kisskb/src/drivers/scsi/qla2xxx/qla_target.c:2687:21: warning: taking address of packed member of 'struct ctio7_to_24xx' may result in an unaligned pointer value [-Waddress-of-packed-member] 2687 | dword_ptr = pkt24->u.status0.dseg_0_address; | ^~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/drivers/usb/chipidea/debug.c:3: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ci_role_write' at /kisskb/src/drivers/usb/chipidea/debug.c:269:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ci_role_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/chipidea/debug.c:266:14: note: 'buf' declared here 266 | char buf[8]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ci_port_test_write' at /kisskb/src/drivers/usb/chipidea/debug.c:84:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ci_port_test_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/chipidea/debug.c:80:14: note: 'buf' declared here 80 | char buf[32]; | ^~~ /kisskb/src/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c: In function 'netxen_pinit_from_rom': /kisskb/src/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:449:25: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 449 | printk(KERN_ERR "%s: ERROR Reading crb_init area: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | "n: %08x\n", netxen_nic_driver_name, n); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:435:16: note: 'n' declared here 435 | int i, n, init_delay = 0; | ^ /kisskb/src/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c: In function 'netxen_process_rcv_ring': /kisskb/src/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1457:52: warning: 'msg' may be used uninitialized [-Wmaybe-uninitialized] 1457 | opcode = netxen_get_nic_msg_opcode(msg.body[0]); | ^ /kisskb/src/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1444:21: note: 'msg' declared here 1444 | nx_fw_msg_t msg; | ^~~ /kisskb/src/drivers/target/target_core_user.c: In function 'queue_cmd_ring': /kisskb/src/drivers/target/target_core_user.c:1031:33: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1031 | tcmu_hdr_set_op(&entry->hdr.len_op, TCMU_OP_PAD); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/target/target_core_user.c:1032:34: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1032 | tcmu_hdr_set_len(&entry->hdr.len_op, pad_size); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/target/target_core_user.c:1047:25: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1047 | tcmu_hdr_set_op(&entry->hdr.len_op, TCMU_OP_CMD); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/target/target_core_user.c:1051:15: warning: taking address of packed member of 'struct tcmu_cmd_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 1051 | iov = &entry->req.iov[0]; | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/target/target_core_user.c:1088:26: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 1088 | tcmu_hdr_set_len(&entry->hdr.len_op, command_size); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/chipidea/host.c: In function 'ci_ehci_bus_suspend': /kisskb/src/drivers/usb/chipidea/host.c:231:36: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 231 | u32 __iomem *reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/chipidea/../host/ehci.h:273, from /kisskb/src/drivers/usb/chipidea/host.c:18: /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c:5: In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'nfp_flower_cmsg_process_rx' at /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c:262:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c: In function 'nfp_flower_cmsg_process_rx': /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c:254:29: note: object 'cmsg_joined' of size 96 254 | struct sk_buff_head cmsg_joined; | ^~~~~~~~~~~ In function '__skb_queue_splice', inlined from 'skb_queue_splice_tail_init' at /kisskb/src/include/linux/skbuff.h:1811:3, inlined from 'nfp_flower_cmsg_process_rx' at /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c:266:2: /kisskb/src/include/linux/skbuff.h:1751:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1751 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c: In function 'nfp_flower_cmsg_process_rx': /kisskb/src/drivers/net/ethernet/netronome/nfp/flower/cmsg.c:254:29: note: object 'cmsg_joined' of size 96 254 | struct sk_buff_head cmsg_joined; | ^~~~~~~~~~~ /kisskb/src/drivers/usb/class/usbtmc.c: In function 'usbtmc_ioctl_generic_read': /kisskb/src/drivers/usb/class/usbtmc.c:1030:57: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] 1030 | msg.transfer_size, &msg.transferred, | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/drivers/usb/class/usbtmc.c:16: /kisskb/src/drivers/usb/class/usbtmc.c:1034:22: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] 1034 | &((struct usbtmc_message __user *)arg)->transferred)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/usb/class/usbtmc.c:1033:13: note: in expansion of macro 'put_user' 1033 | if (put_user(msg.transferred, | ^~~~~~~~ /kisskb/src/drivers/usb/class/usbtmc.c: In function 'usbtmc_ioctl_generic_write': /kisskb/src/drivers/usb/class/usbtmc.c:1241:58: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] 1241 | msg.transfer_size, &msg.transferred, | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/class/usbtmc.c:1245:22: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] 1245 | &((struct usbtmc_message __user *)arg)->transferred)) /kisskb/src/arch/powerpc/include/asm/uaccess.h:167:49: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/usb/class/usbtmc.c:1244:13: note: in expansion of macro 'put_user' 1244 | if (put_user(msg.transferred, | ^~~~~~~~ In file included from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/rcupdate.h:44, from /kisskb/src/include/linux/radix-tree.h:28, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:14, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/include/linux/io.h:25, from /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:35: In function 'bitmap_weight', inlined from 'qed_init_qm_get_idx_from_flags' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:484:6: /kisskb/src/include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 361 | return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); | ^~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_init_qm_get_idx_from_flags': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:479:48: note: object 'pq_flags' of size 4 479 | u32 pq_flags) | ~~~~^~~~~~~~ In function 'bitmap_weight', inlined from 'qed_init_qm_get_idx_from_flags' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:484:6, inlined from 'qed_get_cm_pq_idx' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:525:21, inlined from 'qed_get_cm_pq_idx_mcos' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:537:9: /kisskb/src/include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 361 | return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); | ^~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_get_cm_pq_idx_mcos': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:530:5: note: object 'pq_flags' of size 4 530 | u16 qed_get_cm_pq_idx_mcos(struct qed_hwfn *p_hwfn, u8 tc) | ^~~~~~~~~~~~~~~~~~~~~~ In function 'bitmap_weight', inlined from 'qed_init_qm_get_idx_from_flags' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:484:6, inlined from 'qed_get_cm_pq_idx' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:525:21, inlined from 'qed_get_cm_pq_idx_vf' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:547:9: /kisskb/src/include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 361 | return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); | ^~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_get_cm_pq_idx_vf': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:540:5: note: object 'pq_flags' of size 4 540 | u16 qed_get_cm_pq_idx_vf(struct qed_hwfn *p_hwfn, u16 vf) | ^~~~~~~~~~~~~~~~~~~~ In function 'bitmap_weight', inlined from 'qed_init_qm_get_idx_from_flags' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:484:6, inlined from 'qed_get_cm_pq_idx' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:525:21, inlined from 'qed_get_cm_pq_idx_ofld_mtc' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:554:18: /kisskb/src/include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 361 | return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); | ^~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_get_cm_pq_idx_ofld_mtc': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:550:5: note: object 'pq_flags' of size 4 550 | u16 qed_get_cm_pq_idx_ofld_mtc(struct qed_hwfn *p_hwfn, u8 tc) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'bitmap_weight', inlined from 'qed_init_qm_get_idx_from_flags' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:484:6, inlined from 'qed_get_cm_pq_idx' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:525:21, inlined from 'qed_get_cm_pq_idx_llt_mtc' at /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:565:17: /kisskb/src/include/linux/bitmap.h:361:37: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 361 | return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); | ^~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_get_cm_pq_idx_llt_mtc': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_dev.c:561:5: note: object 'pq_flags' of size 4 561 | u16 qed_get_cm_pq_idx_llt_mtc(struct qed_hwfn *p_hwfn, u8 tc) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/uwb/drp.c: In function 'uwb_drp_availability_process': /kisskb/src/drivers/uwb/drp.c:732:40: warning: taking address of packed member of 'struct uwb_ie_drp_avail' may result in an unaligned pointer value [-Waddress-of-packed-member] 732 | drp_availability_ie->bmp, UWB_NUM_MAS); | ~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_sre_macaddr_change': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:458:55: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 458 | return qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:12: /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_nic_set_promisc': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:617:41: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 617 | (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_set_fw_loopback': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:718:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 718 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_set_rx_coalesce': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:791:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 791 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_config_hw_lro': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:848:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 848 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_config_bridged_mode': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:875:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 875 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_config_rss': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:933:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 933 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_config_ipaddr': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:955:39: warning: taking address of packed member of 'struct qlcnic_nic_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 955 | ipa = (struct qlcnic_ipaddr *)&req.words[1]; | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:958:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 958 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_linkevent_request': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:976:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 976 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_send_lro_cleanup': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:1002:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 1002 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c: In function 'qlcnic_82xx_config_led': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:1557:53: warning: converting a packed 'struct qlcnic_nic_req' pointer (alignment 1) to a 'struct cmd_desc_type0' pointer (alignment 64) may result in an unaligned pointer value [-Waddress-of-packed-member] 1557 | rv = qlcnic_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:986:8: note: defined here 986 | struct qlcnic_nic_req { | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:163:8: note: defined here 163 | struct cmd_desc_type0 { | ^~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/spi/spi-loopback-test.c:26: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'spi_loopback_test_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/spi/spi.h:285:9: note: in expansion of macro 'module_driver' 285 | module_driver(__spi_driver, spi_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/spi/spi-loopback-test.c:370:1: note: in expansion of macro 'module_spi_driver' 370 | module_spi_driver(spi_loopback_test_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/include/linux/of_device.h:5, from /kisskb/src/drivers/spi/spi-loopback-test.c:27: /kisskb/src/drivers/spi/spi-loopback-test.c:370:19: note: 'cleanup_module' target declared here 370 | module_spi_driver(spi_loopback_test_driver); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/spi/spi-loopback-test.c:370:1: note: in expansion of macro 'module_spi_driver' 370 | module_spi_driver(spi_loopback_test_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'spi_loopback_test_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/spi/spi.h:285:9: note: in expansion of macro 'module_driver' 285 | module_driver(__spi_driver, spi_register_driver, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/spi/spi-loopback-test.c:370:1: note: in expansion of macro 'module_spi_driver' 370 | module_spi_driver(spi_loopback_test_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/spi/spi-loopback-test.c:370:19: note: 'init_module' target declared here 370 | module_spi_driver(spi_loopback_test_driver); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/spi/spi-loopback-test.c:370:1: note: in expansion of macro 'module_spi_driver' 370 | module_spi_driver(spi_loopback_test_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_mcp.c: In function 'qed_mcp_nvm_put_file_begin': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_mcp.c:2751:28: warning: 'resp' may be used uninitialized [-Wmaybe-uninitialized] 2751 | cdev->mcp_nvm_resp = resp; | ~~~~~~~~~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_mcp.c:2743:13: note: 'resp' was declared here 2743 | u32 resp, param; | ^~~~ /kisskb/src/drivers/staging/greybus/uart.c: In function 'gb_tty_set_termios': /kisskb/src/drivers/staging/greybus/uart.c:540:24: warning: 'newline.flow_control' is used uninitialized [-Wuninitialized] 540 | newline.flow_control |= GB_SERIAL_AUTO_RTSCTS_EN; | ~~~~~~~^~~~~~~~~~~~~ /kisskb/src/drivers/staging/greybus/uart.c:498:35: note: 'newline' declared here 498 | struct gb_tty_line_coding newline; | ^~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/powerpc/include/asm/bug.h:128, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/drivers/net/ethernet/netronome/nfp/bpf/jit.c:6: In function 'ur_load_imm_any', inlined from 'jset_imm' at /kisskb/src/drivers/net/ethernet/netronome/nfp/bpf/jit.c:3027:13: /kisskb/src/include/linux/compiler.h:373:45: error: call to '__compiletime_assert_635' declared with attribute error: BUILD_BUG_ON failed: (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) & (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) - 1)) != 0 373 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) | ^ /kisskb/src/include/linux/compiler.h:354:25: note: in definition of macro '__compiletime_assert' 354 | prefix ## suffix(); \ | ^~~~~~ /kisskb/src/include/linux/compiler.h:373:9: note: in expansion of macro '_compiletime_assert' 373 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:45:37: note: in expansion of macro 'compiletime_assert' 45 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/bitfield.h:57:17: note: in expansion of macro 'BUILD_BUG_ON_MSG' 57 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/bitfield.h:75:17: note: in expansion of macro '__BF_FIELD_CHECK' 75 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_FIT: "); \ | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/netronome/nfp/bpf/jit.c:635:13: note: in expansion of macro 'FIELD_FIT' 635 | if (FIELD_FIT(UR_REG_IMM_MAX, imm)) | ^~~~~~~~~ In function 'ur_load_imm_any', inlined from 'jeq_imm' at /kisskb/src/drivers/net/ethernet/netronome/nfp/bpf/jit.c:2996:13: /kisskb/src/include/linux/compiler.h:373:45: error: call to '__compiletime_assert_635' declared with attribute error: BUILD_BUG_ON failed: (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) & (((0x0ffULL) + (1ULL << (__builtin_ffsll(0x0ffULL) - 1))) - 1)) != 0 373 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) | ^ /kisskb/src/include/linux/compiler.h:354:25: note: in definition of macro '__compiletime_assert' 354 | prefix ## suffix(); \ | ^~~~~~ /kisskb/src/include/linux/compiler.h:373:9: note: in expansion of macro '_compiletime_assert' 373 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:45:37: note: in expansion of macro 'compiletime_assert' 45 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/bitfield.h:57:17: note: in expansion of macro 'BUILD_BUG_ON_MSG' 57 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/bitfield.h:75:17: note: in expansion of macro '__BF_FIELD_CHECK' 75 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_FIT: "); \ | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/netronome/nfp/bpf/jit.c:635:13: note: in expansion of macro 'FIELD_FIT' 635 | if (FIELD_FIT(UR_REG_IMM_MAX, imm)) | ^~~~~~~~~ make[6]: *** [/kisskb/src/scripts/Makefile.build:293: drivers/net/ethernet/netronome/nfp/bpf/jit.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net/ethernet/netronome/nfp] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net/ethernet/netronome] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/net/ethernet/sfc/falcon/falcon.c: In function 'falcon_read_nvram': /kisskb/src/drivers/net/ethernet/sfc/falcon/falcon.c:1831:24: warning: taking address of packed member of 'struct falcon_nvconfig' may result in an unaligned pointer value [-Waddress-of-packed-member] 1831 | word = &nvconfig->board_magic_num; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c: In function 'qlcnic_read_memory_pexdma': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c:830:47: warning: converting a packed 'struct qlcnic_pex_dma_descriptor' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 830 | (u32 *)dma_descr, temp); | ^ /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c:36:8: note: defined here 36 | struct qlcnic_pex_dma_descriptor { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/radix-tree.h:29, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:14, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/platform_device.h:14, from /kisskb/src/drivers/tty/serial/xilinx_uartps.c:16: /kisskb/src/include/linux/spinlock.h: In function 'cdns_uart_console_write': /kisskb/src/include/linux/spinlock.h:279:17: warning: 'flags' may be used uninitialized [-Wmaybe-uninitialized] 279 | _raw_spin_unlock_irqrestore(lock, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/serial/xilinx_uartps.c:1177:23: note: 'flags' was declared here 1177 | unsigned long flags; | ^~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'mega_build_cmd': /kisskb/src/drivers/scsi/megaraid.c:721:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 721 | &pthru->dataxferaddr, &pthru->dataxferlen); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:721:55: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 721 | &pthru->dataxferaddr, &pthru->dataxferlen); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:856:41: warning: taking address of packed member of 'struct mbox_out' may result in an unaligned pointer value [-Waddress-of-packed-member] 856 | (u32 *)&mbox->m_out.xferaddr, &seg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'mega_prepare_passthru': /kisskb/src/drivers/scsi/megaraid.c:999:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 999 | &pthru->dataxferaddr, &pthru->dataxferlen); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:999:55: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 999 | &pthru->dataxferaddr, &pthru->dataxferlen); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'mega_prepare_extpassthru': /kisskb/src/drivers/scsi/megaraid.c:1062:33: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1062 | &epthru->dataxferaddr, &epthru->dataxferlen); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:1062:56: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 1062 | &epthru->dataxferaddr, &epthru->dataxferlen); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/uaccess.h:14, from /kisskb/src/include/linux/highmem.h:9, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/include/linux/blkdev.h:16, from /kisskb/src/drivers/scsi/megaraid.c:36: /kisskb/src/drivers/scsi/megaraid.c: In function 'mega_n_to_m': /kisskb/src/drivers/scsi/megaraid.c:3547:79: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 3547 | if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) | ^~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid.c:3547:29: note: in expansion of macro 'get_user' 3547 | if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:3564:79: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 3564 | if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) | ^~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:49: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid.c:3564:29: note: in expansion of macro 'get_user' 3564 | if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'mega_query_adapter': /kisskb/src/drivers/scsi/megaraid.c:214:13: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] 214 | mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; | ^~ /kisskb/src/drivers/scsi/megaraid.c:198:17: note: object 'raw_mbox' of size 15 198 | u8 raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:265:21: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] 265 | mbox->m_out.xferaddr = prod_info_dma_handle; | ^~ /kisskb/src/drivers/scsi/megaraid.c:198:17: note: object 'raw_mbox' of size 15 198 | u8 raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:237:21: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] 237 | mbox->m_out.xferaddr = (u32)dma_handle; | ^~ /kisskb/src/drivers/scsi/megaraid.c:198:17: note: object 'raw_mbox' of size 15 198 | u8 raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c:240:21: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'u8[15]' {aka 'unsigned char[15]'} [-Warray-bounds] 240 | mbox->m_out.cmd = MEGA_MBOXCMD_ADPEXTINQ; | ^~ /kisskb/src/drivers/scsi/megaraid.c:198:17: note: object 'raw_mbox' of size 15 198 | u8 raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ In function 'mega_get_max_sgl', inlined from 'mega_query_adapter' at /kisskb/src/drivers/scsi/megaraid.c:305:2: /kisskb/src/drivers/scsi/megaraid.c:3896:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] 3896 | mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'mega_query_adapter': /kisskb/src/drivers/scsi/megaraid.c:3887:25: note: object 'raw_mbox' of size 15 3887 | unsigned char raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ In function 'mega_is_bios_enabled', inlined from 'megaraid_probe_one' at /kisskb/src/drivers/scsi/megaraid.c:4370:6: /kisskb/src/drivers/scsi/megaraid.c:3599:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] 3599 | mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'megaraid_probe_one': /kisskb/src/drivers/scsi/megaraid.c:3589:25: note: object 'raw_mbox' of size 15 3589 | unsigned char raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ In function 'mega_enum_raid_scsi', inlined from 'megaraid_probe_one' at /kisskb/src/drivers/scsi/megaraid.c:4378:2: /kisskb/src/drivers/scsi/megaraid.c:3638:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] 3638 | mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'megaraid_probe_one': /kisskb/src/drivers/scsi/megaraid.c:3622:23: note: object 'raw_mbox' of size 15 3622 | unsigned char raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ In function 'mega_get_boot_drv', inlined from 'megaraid_probe_one' at /kisskb/src/drivers/scsi/megaraid.c:4388:2: /kisskb/src/drivers/scsi/megaraid.c:3693:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] 3693 | mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'megaraid_probe_one': /kisskb/src/drivers/scsi/megaraid.c:3677:25: note: object 'raw_mbox' of size 15 3677 | unsigned char raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ In function 'mega_support_cluster', inlined from 'megaraid_probe_one' at /kisskb/src/drivers/scsi/megaraid.c:4470:25: /kisskb/src/drivers/scsi/megaraid.c:3941:30: warning: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] 3941 | mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid.c: In function 'megaraid_probe_one': /kisskb/src/drivers/scsi/megaraid.c:3932:25: note: object 'raw_mbox' of size 15 3932 | unsigned char raw_mbox[sizeof(struct mbox_out)]; | ^~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/usb/dwc3/debugfs.c:12: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'dwc3_link_state_write' at /kisskb/src/drivers/usb/dwc3/debugfs.c:461:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'dwc3_link_state_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/dwc3/debugfs.c:459:33: note: 'buf' declared here 459 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'dwc3_testmode_write' at /kisskb/src/drivers/usb/dwc3/debugfs.c:399:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'dwc3_testmode_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/dwc3/debugfs.c:397:33: note: 'buf' declared here 397 | char buf[32]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'dwc3_mode_write' at /kisskb/src/drivers/usb/dwc3/debugfs.c:322:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'dwc3_mode_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/dwc3/debugfs.c:320:33: note: 'buf' declared here 320 | char buf[32]; | ^~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/drivers/usb/dwc2/debugfs.c:9: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'testmode_write' at /kisskb/src/drivers/usb/dwc2/debugfs.c:36:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'testmode_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/dwc2/debugfs.c:34:33: note: 'buf' declared here 34 | char buf[32]; | ^~~ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_iwarp.c: In function 'qed_iwarp_parse_rx_pkt': /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_iwarp.c:1684:33: warning: converting a packed 'struct ethhdr' pointer (alignment 1) to a 'struct vlan_ethhdr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1684 | vethh = (struct vlan_ethhdr *)ethh; | ^~~~~~~~~~~ In file included from /kisskb/src/include/net/flow_dissector.h:7, from /kisskb/src/include/linux/skbuff.h:38, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_iwarp.c:32: /kisskb/src/include/uapi/linux/if_ether.h:161:8: note: defined here 161 | struct ethhdr { | ^~~~~~ In file included from /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_iwarp.c:33: /kisskb/src/include/linux/if_vlan.h:51:8: note: defined here 51 | struct vlan_ethhdr { | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/core/rtw_cmd.c: In function 'rtw_joinbss_cmd': /kisskb/src/drivers/staging/rtl8188eu/core/rtw_cmd.c:456:102: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 456 | pnetwork->network.ie_length, &psecnetwork->ie_length); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/drivers/usb/core/devio.c:24: /kisskb/src/drivers/usb/core/devio.c: In function 'usbdev_read': /kisskb/src/drivers/usb/core/devio.c:294:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 294 | le16_to_cpus(&temp_desc.bcdUSB); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/core/devio.c:294:17: note: in expansion of macro 'le16_to_cpus' 294 | le16_to_cpus(&temp_desc.bcdUSB); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:295:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 295 | le16_to_cpus(&temp_desc.idVendor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/core/devio.c:295:17: note: in expansion of macro 'le16_to_cpus' 295 | le16_to_cpus(&temp_desc.idVendor); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:296:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 296 | le16_to_cpus(&temp_desc.idProduct); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/core/devio.c:296:17: note: in expansion of macro 'le16_to_cpus' 296 | le16_to_cpus(&temp_desc.idProduct); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:297:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 297 | le16_to_cpus(&temp_desc.bcdDevice); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/core/devio.c:297:17: note: in expansion of macro 'le16_to_cpus' 297 | le16_to_cpus(&temp_desc.bcdDevice); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c: In function 'proc_do_submiturb': /kisskb/src/drivers/usb/core/devio.c:1489:57: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1489 | if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1494:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1494 | le16_to_cpup(&dr->wIndex)); | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1497:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1497 | uurb->buffer_length = le16_to_cpup(&dr->wLength); | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/core/devio.c:32: /kisskb/src/drivers/usb/core/devio.c:1512:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1512 | __le16_to_cpup(&dr->wValue), | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1459:40: note: in definition of macro 'dev_info' 1459 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1508:17: note: in expansion of macro 'snoop' 1508 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /kisskb/src/drivers/usb/core/devio.c:1513:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1513 | __le16_to_cpup(&dr->wIndex), | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1459:40: note: in definition of macro 'dev_info' 1459 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1508:17: note: in expansion of macro 'snoop' 1508 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /kisskb/src/drivers/usb/core/devio.c:1514:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1514 | __le16_to_cpup(&dr->wLength)); | ^~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1459:40: note: in definition of macro 'dev_info' 1459 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1508:17: note: in expansion of macro 'snoop' 1508 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /kisskb/src/drivers/scsi/gdth.c: In function 'ioc_general': /kisskb/src/drivers/scsi/gdth.c:4266:9: warning: 'paddr' may be used uninitialized [-Wmaybe-uninitialized] 4266 | gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/gdth.c:4162:9: note: 'paddr' declared here 4162 | u64 paddr; | ^~~~~ /kisskb/src/drivers/usb/gadget/udc/bdc/bdc_ep.c: In function 'bdc_req_complete': /kisskb/src/drivers/usb/gadget/udc/bdc/bdc_ep.c:543:41: warning: the comparison will always evaluate as 'false' for the address of 'queue' will never be NULL [-Waddress] 543 | if (req == NULL || &req->queue == NULL || &req->usb_req == NULL) | ^~ In file included from /kisskb/src/drivers/usb/gadget/udc/bdc/bdc_ep.c:37: /kisskb/src/drivers/usb/gadget/udc/bdc/bdc.h:335:33: note: 'queue' declared here 335 | struct list_head queue; | ^~~~~ /kisskb/src/drivers/usb/gadget/udc/bdc/bdc_ep.c:543:66: warning: the comparison will always evaluate as 'false' for the address of 'usb_req' will never be NULL [-Waddress] 543 | if (req == NULL || &req->queue == NULL || &req->usb_req == NULL) | ^~ /kisskb/src/drivers/usb/gadget/udc/bdc/bdc.h:334:33: note: 'usb_req' declared here 334 | struct usb_request usb_req; | ^~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c: In function 'rtw_set_802_11_infrastructure_mode': /kisskb/src/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c:313:54: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 313 | enum ndis_802_11_network_infra *pold_state = &cur_network->network.InfrastructureMode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/staging/most/usb/usb.c:11: /kisskb/src/drivers/staging/most/usb/usb.c: In function 'hdm_poison_channel': /kisskb/src/drivers/staging/most/usb/usb.c:235:31: warning: array subscript 0 is outside array bounds of 'struct most_interface[5852393424400238]' [-Warray-bounds] 235 | dev_warn(&mdev->usb_device->dev, "Poison: Bad interface.\n"); | ^~ /kisskb/src/include/linux/device.h:1455:19: note: in definition of macro 'dev_warn' 1455 | _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~ /kisskb/src/drivers/scsi/myrs.c: In function 'myrs_log_event': /kisskb/src/drivers/scsi/myrs.c:832:18: warning: 'sshdr.sense_key' may be used uninitialized [-Wmaybe-uninitialized] 832 | if (sshdr.sense_key == VENDOR_SPECIFIC && | ~~~~~^~~~~~~~~~ /kisskb/src/drivers/scsi/myrs.c:818:31: note: 'sshdr' declared here 818 | struct scsi_sense_hdr sshdr; | ^~~~~ /kisskb/src/drivers/usb/host/whci/asl.c: In function 'asl_qset_insert': /kisskb/src/drivers/usb/host/whci/asl.c:50:31: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] 50 | whc_qset_set_link_ptr(&qset->qh.link, next->qset_dma); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/whci/asl.c:51:31: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] 51 | whc_qset_set_link_ptr(&prev->qh.link, qset->qset_dma); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/whci/asl.c: In function 'asl_qset_remove': /kisskb/src/drivers/usb/host/whci/asl.c:72:31: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] 72 | whc_qset_set_link_ptr(&prev->qh.link, next->qset_dma); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.h:25, from /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:25: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8192_pci_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2646:1: note: in expansion of macro 'module_pci_driver' 2646 | module_pci_driver(rtl8192_pci_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/pci.h:31, from /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:22: /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2646:19: note: 'cleanup_module' target declared here 2646 | module_pci_driver(rtl8192_pci_driver); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2646:1: note: in expansion of macro 'module_pci_driver' 2646 | module_pci_driver(rtl8192_pci_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8192_pci_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2646:1: note: in expansion of macro 'module_pci_driver' 2646 | module_pci_driver(rtl8192_pci_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2646:19: note: 'init_module' target declared here 2646 | module_pci_driver(rtl8192_pci_driver); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2646:1: note: in expansion of macro 'module_pci_driver' 2646 | module_pci_driver(rtl8192_pci_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c: In function 'linked_status_chk': /kisskb/src/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4667:69: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 4667 | issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, psta->hwaddr, 3, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4683:49: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 4683 | &pmlmeinfo->network.Ssid, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4687:49: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 4687 | &pmlmeinfo->network.Ssid, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4691:49: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 4691 | &pmlmeinfo->network.Ssid, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192u/r8192U.h:23, from /kisskb/src/drivers/staging/rtl8192u/r8192U_core.c:63: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8192_usb_module_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/r8192U_core.c:5117:1: note: in expansion of macro 'module_exit' 5117 | module_exit(rtl8192_usb_module_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/r8192U_core.c:5021:20: note: 'cleanup_module' target declared here 5021 | static void __exit rtl8192_usb_module_exit(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8192_usb_module_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/r8192U_core.c:5116:1: note: in expansion of macro 'module_init' 5116 | module_init(rtl8192_usb_module_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/r8192U_core.c:4977:19: note: 'init_module' target declared here 4977 | static int __init rtl8192_usb_module_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/whci/pzl.c: In function 'update_pzl_hw_view': /kisskb/src/drivers/usb/host/whci/pzl.c:202:47: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] 202 | whc_qset_set_link_ptr(&qset->qh.link, tmp_qh); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_handle_config_change': /kisskb/src/drivers/scsi/ipr.c:1453:36: warning: taking address of packed member of 'struct ipr_hostrcb_cfg_ch_not' may result in an unaligned pointer value [-Waddress-of-packed-member] 1453 | cfgtew.u.cfgte64 = &hostrcb->hcam.u.ccn.u.cfgte64; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/delay.h:22, from /kisskb/src/drivers/usb/gadget/udc/net2272.c:9: /kisskb/src/drivers/usb/gadget/udc/net2272.c: In function 'net2272_handle_stat0_irqs': /kisskb/src/drivers/usb/gadget/udc/net2272.c:1787:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1787 | le16_to_cpus(&u.r.wValue); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/gadget/udc/net2272.c:1787:17: note: in expansion of macro 'le16_to_cpus' 1787 | le16_to_cpus(&u.r.wValue); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_log_sis64_fabric_error': /kisskb/src/drivers/usb/gadget/udc/net2272.c:1788:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1788 | le16_to_cpus(&u.r.wIndex); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/gadget/udc/net2272.c:1788:17: note: in expansion of macro 'le16_to_cpus' 1788 | le16_to_cpus(&u.r.wIndex); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c:2401:30: warning: taking address of packed member of 'struct ipr_hostrcb_type_30_error' may result in an unaligned pointer value [-Waddress-of-packed-member] 2401 | for (i = 0, fabric = error->desc; i < error->num_entries; i++) { | ^~~~~ /kisskb/src/drivers/usb/gadget/udc/net2272.c:1789:30: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1789 | le16_to_cpus(&u.r.wLength); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/usb/gadget/udc/net2272.c:1789:17: note: in expansion of macro 'le16_to_cpus' 1789 | le16_to_cpus(&u.r.wLength); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_dump_ioa_type_data': /kisskb/src/drivers/scsi/ipr.c:3067:33: warning: taking address of packed member of 'struct ipr_driver_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] 3067 | ipr_init_dump_entry_hdr(&driver_dump->ioa_type_entry.hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_dump_version_data': /kisskb/src/drivers/scsi/ipr.c:3091:33: warning: taking address of packed member of 'struct ipr_driver_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] 3091 | ipr_init_dump_entry_hdr(&driver_dump->version_entry.hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_dump_trace_data': /kisskb/src/drivers/scsi/ipr.c:3112:33: warning: taking address of packed member of 'struct ipr_driver_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] 3112 | ipr_init_dump_entry_hdr(&driver_dump->trace_entry.hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_dump_location_data': /kisskb/src/drivers/scsi/ipr.c:3133:33: warning: taking address of packed member of 'struct ipr_dump_location_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 3133 | ipr_init_dump_entry_hdr(&driver_dump->location_entry.hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_build_ioadl': /kisskb/src/drivers/scsi/ipr.c:6017:25: warning: taking address of packed member of 'struct ipr_ioarcb_add_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 6017 | ioadl = ioarcb->u.add_data.u.ioadl; | ^~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_check_term_power': /kisskb/src/drivers/scsi/ipr.c:7452:15: warning: taking address of packed member of 'struct ipr_mode_page28' may result in an unaligned pointer value [-Waddress-of-packed-member] 7452 | bus = mode_page->bus; | ^~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_modify_ioafp_mode_page_28': /kisskb/src/drivers/scsi/ipr.c:7514:27: warning: taking address of packed member of 'struct ipr_mode_page28' may result in an unaligned pointer value [-Waddress-of-packed-member] 7514 | for (i = 0, bus = mode_page->bus; | ^~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/net2280.c: In function 'out_flush': /kisskb/src/drivers/usb/gadget/udc/net2280.c:674:17: warning: taking address of packed member of 'struct net2280_ep_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 674 | statp = &ep->regs->ep_stat; | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/net2280.c: In function 'spin_stop_dma': /kisskb/src/drivers/usb/gadget/udc/net2280.c:840:19: warning: taking address of packed member of 'struct net2280_dma_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 840 | handshake(&dma->dmactl, BIT(DMA_ENABLE), 0, 50); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/snps_udc_core.c: In function 'udc_setup_endpoints': /kisskb/src/drivers/usb/gadget/udc/snps_udc_core.c:1578:35: warning: taking address of packed member of 'struct udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 1578 | ep->dma = &dev->regs->ctl; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.h:29, from /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:104: /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c: In function 'matroxfb_register_driver': /kisskb/src/include/linux/kernel.h:1000:10: warning: array subscript -98 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] 1000 | ((type *)(__mptr - offsetof(type, member))); }) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:419:9: note: in expansion of macro 'container_of' 419 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:1952:23: note: in expansion of macro 'list_entry' 1952 | #define matroxfb_l(x) list_entry(x, struct matrox_fb_info, next_fb) | ^~~~~~~~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:1959:23: note: in expansion of macro 'matroxfb_l' 1959 | minfo != matroxfb_l(&matroxfb_list); | ^~~~~~~~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:1949:18: note: at offset -1568 into object 'matroxfb_list' of size 16 1949 | static LIST_HEAD(matroxfb_list); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD' 24 | struct list_head name = LIST_HEAD_INIT(name) | ^~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c: In function 'matroxfb_unregister_driver': /kisskb/src/drivers/usb/gadget/udc/snps_udc_core.c: In function 'init_dma_pools': /kisskb/src/include/linux/kernel.h:1000:10: warning: array subscript -98 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] 1000 | ((type *)(__mptr - offsetof(type, member))); }) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:419:9: note: in expansion of macro 'container_of' 419 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:1952:23: note: in expansion of macro 'list_entry' 1952 | #define matroxfb_l(x) list_entry(x, struct matrox_fb_info, next_fb) | ^~~~~~~~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:1979:23: note: in expansion of macro 'matroxfb_l' 1979 | minfo != matroxfb_l(&matroxfb_list); | ^~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/snps_udc_core.c:3112:37: warning: taking address of packed member of 'struct udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 3112 | dev->ep[UDC_EP0IN_IX].dma = &dev->regs->ctl; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/matrox/matroxfb_base.c:1949:18: note: at offset -1568 into object 'matroxfb_list' of size 16 1949 | static LIST_HEAD(matroxfb_list); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD' 24 | struct list_head name = LIST_HEAD_INIT(name) | ^~~~ /kisskb/src/drivers/usb/gadget/udc/goku_udc.c: In function 'udc_reinit': /kisskb/src/drivers/usb/gadget/udc/goku_udc.c:1265:32: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 1265 | ep->reg_fifo = &dev->regs->ep_fifo [i]; | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/goku_udc.c:1266:34: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 1266 | ep->reg_status = &dev->regs->ep_status [i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/goku_udc.c:1267:32: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 1267 | ep->reg_mode = &dev->regs->ep_mode[i]; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_change': /kisskb/src/drivers/usb/host/ehci-hub.c:141:38: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 141 | if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci.h:273, from /kisskb/src/drivers/usb/host/ehci-hcd.c:96: /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_handed_over': /kisskb/src/drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '<unknown>' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1331 | reg = &ehci->regs->port_status[portnum - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'set_owner': /kisskb/src/drivers/usb/host/ehci-hub.c:541:22: warning: array subscript 'portnum' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 541 | status_reg = &ehci->regs->port_status[portnum]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_adjust_port_wakeup_flags': /kisskb/src/drivers/usb/host/ehci-hub.c:167:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 167 | u32 __iomem *hostpc_reg = &ehci->regs->hostpc[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:199:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 199 | u32 __iomem *hostpc_reg = &ehci->regs->hostpc[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:179:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 179 | u32 __iomem *reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_hub_status_data': /kisskb/src/drivers/usb/host/ehci-hub.c:662:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 662 | temp = ehci_readl(ehci, &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/m66592-udc.c: In function 'setup_packet': /kisskb/src/drivers/usb/gadget/udc/m66592-udc.c:1086:9: warning: converting a packed 'struct usb_ctrlrequest' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1086 | u16 *p = (u16 *)ctrl; | ^~~ In file included from /kisskb/src/include/linux/usb/ch9.h:37, from /kisskb/src/drivers/usb/gadget/udc/m66592-udc.c:17: /kisskb/src/include/uapi/linux/usb/ch9.h:213:8: note: defined here 213 | struct usb_ctrlrequest { | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/nozomi.c: In function 'receive_flow_control': /kisskb/src/drivers/tty/nozomi.c:892:9: warning: converting a packed 'struct ctrl_dl' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 892 | read_mem32((u32 *) &ctrl_dl, dc->port[PORT_CTRL].dl_addr[CH_A], 2); | ^~~~~~~~~~ /kisskb/src/drivers/tty/nozomi.c:239:8: note: defined here 239 | struct ctrl_dl { | ^~~~~~~ /kisskb/src/drivers/tty/nozomi.c: In function 'send_flow_control': /kisskb/src/drivers/tty/nozomi.c:1015:39: warning: taking address of packed member of 'struct port' may result in an unaligned pointer value [-Waddress-of-packed-member] 1015 | ctrl = (u16 *)&dc->port[i].ctrl_ul; | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/nozomi.c: In function 'nozomi_card_exit': /kisskb/src/drivers/tty/nozomi.c:1505:9: warning: converting a packed 'struct ctrl_ul' pointer (alignment 1) to a 'u32' {aka 'const unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1505 | write_mem32(dc->port[PORT_CTRL].ul_addr[0], (u32 *)&ctrl, 2); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/nozomi.c:249:8: note: defined here 249 | struct ctrl_ul { | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/r8a66597-udc.c: In function 'setup_packet': /kisskb/src/drivers/usb/gadget/udc/r8a66597-udc.c:1287:9: warning: converting a packed 'struct usb_ctrlrequest' pointer (alignment 1) to a 'u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1287 | u16 *p = (u16 *)ctrl; | ^~~ In file included from /kisskb/src/include/linux/usb/ch9.h:37, from /kisskb/src/drivers/usb/gadget/udc/r8a66597-udc.c:20: /kisskb/src/include/uapi/linux/usb/ch9.h:213:8: note: defined here 213 | struct usb_ctrlrequest { | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/renesas_usb3.c: In function 'usb3_get_setup_data': /kisskb/src/drivers/usb/gadget/udc/renesas_usb3.c:925:9: warning: converting a packed 'struct usb_ctrlrequest' pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 925 | u32 *data = (u32 *)ctrl; | ^~~ In file included from /kisskb/src/include/linux/usb/ch9.h:37, from /kisskb/src/drivers/usb/gadget/udc/renesas_usb3.c:24: /kisskb/src/include/uapi/linux/usb/ch9.h:213:8: note: defined here 213 | struct usb_ctrlrequest { | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:126: /kisskb/src/drivers/usb/host/ehci-dbg.c: In function 'fill_registers_buffer': /kisskb/src/drivers/usb/host/ehci-dbg.c:873:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 873 | &ehci->regs->port_status[i - 1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_power.isra': /kisskb/src/drivers/usb/host/ehci-hub.c:1338:35: warning: array subscript -2 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1338 | u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In function 'ehci_turn_off_all_ports', inlined from 'ehci_silence_controller' at /kisskb/src/drivers/usb/host/ehci-hcd.c:340:2: /kisskb/src/drivers/usb/host/ehci-hcd.c:326:33: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 326 | &ehci->regs->port_status[port]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h: In function 'ehci_silence_controller': /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/usb/gadget/udc/renesas_usb3.c:8: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'renesas_usb3_b_device_write' at /kisskb/src/drivers/usb/gadget/udc/renesas_usb3.c:2432:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'renesas_usb3_b_device_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/renesas_usb3.c:2427:14: note: 'buf' declared here 2427 | char buf[32]; | ^~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_hub_control': /kisskb/src/drivers/usb/host/ehci-hub.c:891:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 891 | status_reg = &ehci->regs->port_status[temp]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:892:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 892 | hostpc_reg = &ehci->regs->hostpc[temp]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:1281:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1281 | &ehci->regs->port_status[ports]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_handover_companion_ports': /kisskb/src/drivers/usb/host/ehci-hub.c:110:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 110 | reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:73:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 73 | reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:59:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 59 | reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_bus_resume': /kisskb/src/drivers/usb/host/ehci-hub.c:427:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 427 | temp = ehci_readl(ehci, &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:447:57: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 447 | &ehci->regs->hostpc[i]; | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:488:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 488 | temp = ehci_readl(ehci, &ehci->regs->port_status [i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:491:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 491 | ehci_writel(ehci, temp, &ehci->regs->port_status [i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:464:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 464 | temp = ehci_readl(ehci, &ehci->regs->port_status [i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:471:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 471 | ehci_writel(ehci, temp, &ehci->regs->port_status [i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_bus_suspend': /kisskb/src/drivers/usb/host/ehci-hub.c:320:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 320 | u32 __iomem *hostpc_reg = &ehci->regs->hostpc[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:258:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 258 | u32 __iomem *reg = &ehci->regs->port_status [port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hcd.c: In function 'ehci_irq': /kisskb/src/drivers/usb/host/ehci-hcd.c:786:42: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 786 | &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:36: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:189:1: note: in expansion of macro 'module_init' 189 | module_init(rtllib_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:180:19: note: 'init_module' target declared here 180 | static int __init rtllib_init(void) | ^~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:190:1: note: in expansion of macro 'module_exit' 190 | module_exit(rtllib_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:185:20: note: 'cleanup_module' target declared here 185 | static void __exit rtllib_exit(void) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/function/f_tcm.c: In function 'usbg_submit_command': /kisskb/src/drivers/usb/gadget/function/f_tcm.c:1117:33: warning: taking address of packed member of 'struct command_iu' may result in an unaligned pointer value [-Waddress-of-packed-member] 1117 | scsi_tag = be16_to_cpup(&cmd_iu->tag); | ^~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/usb/mtu3/mtu3_dr.c:10: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ssusb_vbus_write' at /kisskb/src/drivers/usb/mtu3/mtu3_dr.c:355:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ssusb_vbus_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/mtu3/mtu3_dr.c:352:14: note: 'buf' declared here 352 | char buf[16]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'ssusb_mode_write' at /kisskb/src/drivers/usb/mtu3/mtu3_dr.c:307:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'ssusb_mode_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/mtu3/mtu3_dr.c:305:14: note: 'buf' declared here 305 | char buf[16]; | ^~~ /kisskb/src/drivers/usb/gadget/composite.c: In function 'bos_desc': /kisskb/src/drivers/usb/gadget/composite.c:628:22: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 628 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c:643:30: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 643 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c:679:30: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 679 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(1)); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c: In function 'get_string': /kisskb/src/drivers/usb/gadget/composite.c:1074:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 1074 | collect_langs(sp, s->wData); | ~^~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c:1079:52: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 1079 | collect_langs(sp, s->wData); | ~^~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c:1084:60: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 1084 | collect_langs(sp, s->wData); | ~^~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c:1091:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 1091 | collect_langs(sp, s->wData); | ~^~~~~~~ /kisskb/src/drivers/usb/misc/usbtest.c: In function 'get_maxpacket': /kisskb/src/drivers/usb/misc/usbtest.c:347:29: warning: taking address of packed member of 'struct usb_endpoint_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 347 | return le16_to_cpup(&ep->desc.wMaxPacketSize); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/oxu210hp-hcd.c: In function 'oxu_hub_control': /kisskb/src/drivers/usb/host/oxu210hp-hcd.c:3136:35: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 3136 | u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/oxu210hp-hcd.c: In function 'oxu_bus_suspend': /kisskb/src/drivers/usb/host/oxu210hp-hcd.c:3455:36: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] 3455 | u32 __iomem *reg = &oxu->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/video/fbdev/via/viafbdev.c:23: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'odev_update' at /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1487:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'odev_update': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1481:14: note: 'buf' declared here 1481 | char buf[64], *ptr = buf; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'viafb_dvp1_proc_write' at /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1223:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'viafb_dvp1_proc_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1217:14: note: 'buf' declared here 1217 | char buf[20], *value, *pbuf; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'viafb_dvp0_proc_write' at /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1152:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'viafb_dvp0_proc_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1146:14: note: 'buf' declared here 1146 | char buf[20], *value, *pbuf; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'viafb_vt1636_proc_write' at /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1380:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'viafb_vt1636_proc_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/via/viafbdev.c:1374:14: note: 'buf' declared here 1374 | char buf[30], *value, *pbuf; | ^~~ /kisskb/src/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdUSB_show': /kisskb/src/drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 142 | le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ | ^ /kisskb/src/drivers/usb/gadget/configfs.c:176:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 176 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idVendor_show': /kisskb/src/drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 142 | le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ | ^ /kisskb/src/drivers/usb/gadget/configfs.c:173:9: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 173 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/configfs.c:181:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW' 181 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idProduct_show': /kisskb/src/drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 142 | le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ | ^ /kisskb/src/drivers/usb/gadget/configfs.c:173:9: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 173 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/configfs.c:182:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW' 182 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdDevice_show': /kisskb/src/drivers/usb/gadget/configfs.c:142:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 142 | le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ | ^ /kisskb/src/drivers/usb/gadget/configfs.c:183:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 183 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net/ethernet] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/gpu/drm/drm_debugfs.c:26: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'connector_write' at /kisskb/src/drivers/gpu/drm/drm_debugfs.c:263:6: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'connector_write': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/drm_debugfs.c:258:14: note: 'buf' declared here 258 | char buf[12]; | ^~~ /kisskb/src/drivers/staging/rtlwifi/base.c: In function 'rtl_action_proc': /kisskb/src/drivers/staging/rtlwifi/base.c:1403:44: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1403 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/base.c: In function 'rtl_tx_agg_start': /kisskb/src/drivers/staging/rtlwifi/base.c:1706:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1706 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/base.c: In function 'rtl_tx_agg_stop': /kisskb/src/drivers/staging/rtlwifi/base.c:1736:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1736 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/base.c: In function 'rtl_rx_agg_start': /kisskb/src/drivers/staging/rtlwifi/base.c:1768:20: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1768 | tid_data = &sta_entry->tids[tid]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/base.c: In function 'rtl_recognize_peer': /kisskb/src/drivers/staging/rtlwifi/base.c:2734:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 2734 | if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/base.c:2734:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/staging/rtlwifi/base.c:2734:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/staging/rtlwifi/base.c:2734:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/staging/rtlwifi/wifi.h:22, from /kisskb/src/drivers/staging/rtlwifi/base.c:15: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c: In function 'rtllib_probe_resp': /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:925:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 925 | *(tag++) = MFIE_TYPE_RATES; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:17: /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:926:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 926 | *(tag++) = rate_len-2; | ~~~~~~~~~^~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset 1 into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:930:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 930 | *(tag++) = MFIE_TYPE_DS_SET; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [2, 257] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:931:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 931 | *(tag++) = 1; | ~~~~~~~~~^~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [3, 258] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:936:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 936 | *(tag++) = MFIE_TYPE_IBSS_SET; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [5, 260] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:937:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 937 | *(tag++) = 2; | ~~~~~~~~~^~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [6, 261] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:944:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 944 | *(tag++) = MFIE_TYPE_ERP; | ~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [5, 265] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [9, 269] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:945:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 945 | *(tag++) = 1; | ~~~~~~~~~^~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [6, 266] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [10, 270] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:946:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 946 | *(tag++) = erpinfo_content; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [7, 267] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [11, 271] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:949:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 949 | *(tag++) = MFIE_TYPE_RATES_EX; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [5, 265] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [9, 269] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [5, 265] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [9, 269] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib_softmac.c:950:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 950 | *(tag++) = rate_ex_len-2; | ~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [6, 266] into destination object 'data' of size 0 801 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [10, 270] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [6, 266] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192e/rtllib.h:801:12: note: at offset [10, 270] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8723bs/core/rtw_cmd.c: In function 'rtw_joinbss_cmd': /kisskb/src/drivers/staging/rtl8723bs/core/rtw_cmd.c:899:78: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 899 | rtw_build_wmm_ie_ht(padapter, &psecnetwork->IEs[12], &psecnetwork->IELength); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_cmd.c:903:104: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 903 | pnetwork->network.IELength-12, &psecnetwork->IELength, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_cmd.c:908:64: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 908 | rtw_append_exented_cap(padapter, &psecnetwork->IEs[0], &psecnetwork->IELength); | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'byte_channel_spin_send': /kisskb/src/drivers/tty/ehv_bytechan.c:157:23: warning: 'ev_byte_channel_send' reading 16 bytes from a region of size 1 [-Wstringop-overread] 157 | ret = ev_byte_channel_send(CONFIG_PPC_EARLY_DEBUG_EHV_BC_HANDLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | &count, &data); | ~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:157:23: note: referencing argument 3 of type 'const char[16]' In file included from /kisskb/src/drivers/tty/ehv_bytechan.c:29: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:282:28: note: in a call to function 'ev_byte_channel_send' 282 | static inline unsigned int ev_byte_channel_send(unsigned int handle, | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/core.c: In function 'rtl_op_sta_add': /kisskb/src/drivers/staging/rtlwifi/core.c:868:31: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 868 | list_add_tail(&sta_entry->list, &rtlpriv->entry_list); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/core.c: In function 'rtl_op_sta_remove': /kisskb/src/drivers/staging/rtlwifi/core.c:933:26: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 933 | list_del(&sta_entry->list); | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/powerpc/include/asm/bug.h:128, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/tty/ehv_bytechan.c:24: In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:169:3: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:297:27: warning: array subscript 'uint32_t {aka const unsigned int}[0]' is partly outside array bounds of 'const char[1]' [-Warray-bounds] 297 | r5 = be32_to_cpu(p[0]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:297:14: note: in expansion of macro 'be32_to_cpu' 297 | r5 = be32_to_cpu(p[0]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:169:3: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:298:27: warning: array subscript 1 is outside array bounds of 'const char[1]' [-Warray-bounds] 298 | r6 = be32_to_cpu(p[1]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:298:14: note: in expansion of macro 'be32_to_cpu' 298 | r6 = be32_to_cpu(p[1]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: at offset 4 into object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:169:3: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:299:27: warning: array subscript 2 is outside array bounds of 'const char[1]' [-Warray-bounds] 299 | r7 = be32_to_cpu(p[2]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:299:14: note: in expansion of macro 'be32_to_cpu' 299 | r7 = be32_to_cpu(p[2]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: at offset 8 into object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:169:3: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:300:27: warning: array subscript 3 is outside array bounds of 'const char[1]' [-Warray-bounds] 300 | r8 = be32_to_cpu(p[3]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:300:14: note: in expansion of macro 'be32_to_cpu' 300 | r8 = be32_to_cpu(p[3]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: at offset 12 into object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:171:2: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:297:27: warning: array subscript 'uint32_t {aka const unsigned int}[0]' is partly outside array bounds of 'const char[1]' [-Warray-bounds] 297 | r5 = be32_to_cpu(p[0]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:297:14: note: in expansion of macro 'be32_to_cpu' 297 | r5 = be32_to_cpu(p[0]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:171:2: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:298:27: warning: array subscript 1 is outside array bounds of 'const char[1]' [-Warray-bounds] 298 | r6 = be32_to_cpu(p[1]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:298:14: note: in expansion of macro 'be32_to_cpu' 298 | r6 = be32_to_cpu(p[1]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: at offset 4 into object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:171:2: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:299:27: warning: array subscript 2 is outside array bounds of 'const char[1]' [-Warray-bounds] 299 | r7 = be32_to_cpu(p[2]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:299:14: note: in expansion of macro 'be32_to_cpu' 299 | r7 = be32_to_cpu(p[2]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: at offset 8 into object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In function 'ev_byte_channel_send', inlined from 'byte_channel_spin_send' at /kisskb/src/drivers/tty/ehv_bytechan.c:157:9, inlined from 'ehv_bc_udbg_putc' at /kisskb/src/drivers/tty/ehv_bytechan.c:171:2: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:300:27: warning: array subscript 3 is outside array bounds of 'const char[1]' [-Warray-bounds] 300 | r8 = be32_to_cpu(p[3]); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro '__be32_to_cpu' 40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) | ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:300:14: note: in expansion of macro 'be32_to_cpu' 300 | r8 = be32_to_cpu(p[3]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: at offset 12 into object 'data' of size 1 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c: In function 'ieee80211_wpa_set_wpa_ie': /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2664:58: warning: the comparison will always evaluate as 'false' for the address of 'data' will never be NULL [-Waddress] 2664 | (param->u.wpa_ie.len && param->u.wpa_ie.data == NULL)) | ^~ In file included from /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:15: /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:310:28: note: 'data' declared here 310 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c: In function 'ieee80211_probe_resp': /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:761:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 761 | *(tag++) = MFIE_TYPE_RATES; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:762:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 762 | *(tag++) = rate_len - 2; | ~~~~~~~~~^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset 1 into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:766:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 766 | *(tag++) = MFIE_TYPE_DS_SET; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [2, 257] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:767:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 767 | *(tag++) = 1; | ~~~~~~~~~^~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [3, 258] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:771:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 771 | *(tag++) = MFIE_TYPE_IBSS_SET; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [5, 260] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:772:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 772 | *(tag++) = 2; | ~~~~~~~~~^~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [6, 261] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ In file included from /kisskb/src/arch/powerpc/include/asm/unaligned.h:10, from /kisskb/src/include/linux/etherdevice.h:28, from /kisskb/src/include/linux/ieee80211.h:23, from /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:37: In function 'put_unaligned_le16', inlined from 'ieee80211_probe_resp' at /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:774:3: /kisskb/src/include/linux/unaligned/access_ok.h:40:24: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 40 | *((__le16 *)p) = cpu_to_le16(val); /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h: In function 'ieee80211_probe_resp': /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [7, 262] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:780:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 780 | *(tag++) = MFIE_TYPE_ERP; | ~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [5, 265] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [9, 269] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:781:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 781 | *(tag++) = 1; | ~~~~~~~~~^~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [6, 266] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [10, 270] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:782:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 782 | *(tag++) = erpinfo_content; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [7, 267] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [11, 271] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:785:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 785 | *(tag++) = MFIE_TYPE_RATES_EX; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [5, 265] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [9, 269] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [5, 265] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [9, 269] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:786:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 786 | *(tag++) = rate_ex_len - 2; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [6, 266] into destination object 'data' of size 0 958 | u8 data[0]; | ^~~~ /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [10, 270] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [6, 266] into destination object 'data' of size 0 /kisskb/src/drivers/staging/rtl8192u/ieee80211/ieee80211.h:958:12: note: at offset [10, 270] into destination object 'data' of size 0 /kisskb/src/drivers/usb/storage/uas.c: In function 'uas_sense': /kisskb/src/drivers/usb/storage/uas.c:158:45: warning: taking address of packed member of 'struct sense_iu' may result in an unaligned pointer value [-Waddress-of-packed-member] 158 | unsigned len = be16_to_cpup(&sense_iu->len); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/usb/storage/uas.c: In function 'uas_stat_cmplt': /kisskb/src/drivers/usb/storage/uas.c:296:28: warning: taking address of packed member of 'struct iu' may result in an unaligned pointer value [-Waddress-of-packed-member] 296 | idx = be16_to_cpup(&iu->tag) - 1; | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/ptrace.h:195, from /kisskb/src/arch/powerpc/include/asm/processor.h:44, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:26, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/drivers/staging/rtlwifi/wifi.h:20, from /kisskb/src/drivers/staging/rtlwifi/debug.c:14: In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rtl_debugfs_set_write_h2c' at /kisskb/src/drivers/staging/rtlwifi/debug.c:359:17: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rtl_debugfs_set_write_h2c': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/debug.c:348:14: note: 'tmp' declared here 348 | char tmp[32 + 1]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rtl_debugfs_set_write_reg' at /kisskb/src/drivers/staging/rtlwifi/debug.c:308:17: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rtl_debugfs_set_write_reg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/debug.c:298:14: note: 'tmp' declared here 298 | char tmp[32 + 1]; | ^~~ In function 'check_object_size', inlined from 'check_copy_size' at /kisskb/src/include/linux/thread_info.h:150:2, inlined from 'copy_from_user' at /kisskb/src/include/linux/uaccess.h:146:6, inlined from 'rtl_debugfs_set_write_rfreg' at /kisskb/src/drivers/staging/rtlwifi/debug.c:405:17: /kisskb/src/include/linux/thread_info.h:119:17: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 119 | __check_object_size(ptr, n, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/thread_info.h: In function 'rtl_debugfs_set_write_rfreg': /kisskb/src/include/linux/thread_info.h:112:13: note: by argument 1 of type 'const void *' to '__check_object_size' declared here 112 | extern void __check_object_size(const void *ptr, unsigned long n, | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/debug.c:394:14: note: 'tmp' declared here 394 | char tmp[32 + 1]; | ^~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c: In function 'rtw_set_802_11_infrastructure_mode': /kisskb/src/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c:421:63: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 421 | enum NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:12: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_ccmp_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:454:1: note: in expansion of macro 'module_init' 454 | module_init(rtllib_crypto_ccmp_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:443:19: note: 'init_module' target declared here 443 | static int __init rtllib_crypto_ccmp_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_ccmp_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:455:1: note: in expansion of macro 'module_exit' 455 | module_exit(rtllib_crypto_ccmp_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:449:20: note: 'cleanup_module' target declared here 449 | static void __exit rtllib_crypto_ccmp_exit(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/typec/tcpm/tcpm.c: In function 'tcpm_pd_data_request': /kisskb/src/drivers/usb/typec/tcpm/tcpm.c:1635:50: warning: taking address of packed member of 'struct pd_message' may result in an unaligned pointer value [-Waddress-of-packed-member] 1635 | tcpm_handle_vdm_request(port, msg->payload, cnt); | ~~~^~~~~~~~~ /kisskb/src/drivers/usb/typec/tcpm/tcpm.c:1644:44: warning: taking address of packed member of 'struct pd_message' may result in an unaligned pointer value [-Waddress-of-packed-member] 1644 | tcpm_handle_alert(port, msg->payload, cnt); | ~~~^~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/ps.c: In function 'rtl_swlps_beacon': /kisskb/src/drivers/staging/rtlwifi/ps.c:507:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 507 | if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/ps.c:507:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/staging/rtlwifi/ps.c:507:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/staging/rtlwifi/ps.c:507:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/staging/rtlwifi/wifi.h:22, from /kisskb/src/drivers/staging/rtlwifi/ps.c:15: /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/ps.c: In function 'rtl_p2p_info': /kisskb/src/drivers/staging/rtlwifi/ps.c:983:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 983 | if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/ps.c:983:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/staging/rtlwifi/ps.c:983:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/staging/rtlwifi/ps.c:983:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:347:20: note: in a call to function 'ether_addr_equal_64bits' 347 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:14: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_tkip_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:779:1: note: in expansion of macro 'module_init' 779 | module_init(rtllib_crypto_tkip_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:768:19: note: 'init_module' target declared here 768 | static int __init rtllib_crypto_tkip_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_tkip_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:780:1: note: in expansion of macro 'module_exit' 780 | module_exit(rtllib_crypto_tkip_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:774:20: note: 'cleanup_module' target declared here 774 | static void __exit rtllib_crypto_tkip_exit(void) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_wep.c:13: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_wep_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_wep.c:294:1: note: in expansion of macro 'module_init' 294 | module_init(rtllib_crypto_wep_init); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_wep.c:283:19: note: 'init_module' target declared here 283 | static int __init rtllib_crypto_wep_init(void) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_wep_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_wep.c:295:1: note: in expansion of macro 'module_exit' 295 | module_exit(rtllib_crypto_wep_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_wep.c:289:20: note: 'cleanup_module' target declared here 289 | static void __exit rtllib_crypto_wep_exit(void) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8188eu/include/osdep_service.h:21, from /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:9: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8188e_usb_drv_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/usb.h:1287:9: note: in expansion of macro 'module_driver' 1287 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:512:1: note: in expansion of macro 'module_usb_driver' 512 | module_usb_driver(rtl8188e_usb_drv) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/dma-mapping.h:7, from /kisskb/src/arch/powerpc/include/asm/machdep.h:14, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:7, from /kisskb/src/include/linux/random.h:166, from /kisskb/src/include/linux/net.h:22, from /kisskb/src/include/linux/skbuff.h:29, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:41, from /kisskb/src/drivers/staging/rtl8188eu/include/osdep_service.h:23: /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:512:19: note: 'cleanup_module' target declared here 512 | module_usb_driver(rtl8188e_usb_drv) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:512:1: note: in expansion of macro 'module_usb_driver' 512 | module_usb_driver(rtl8188e_usb_drv) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8188e_usb_drv_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/usb.h:1287:9: note: in expansion of macro 'module_driver' 1287 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:512:1: note: in expansion of macro 'module_usb_driver' 512 | module_usb_driver(rtl8188e_usb_drv) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:512:19: note: 'init_module' target declared here 512 | module_usb_driver(rtl8188e_usb_drv) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:512:1: note: in expansion of macro 'module_usb_driver' 512 | module_usb_driver(rtl8188e_usb_drv) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c: In function 'linked_status_chk': /kisskb/src/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:5757:77: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 5757 | issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress, 0, 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:5758:77: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 5758 | issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress, 0, 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:5759:77: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 5759 | issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress, 0, 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qlogicfas408.c:42: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'qlogicfas408_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qlogicfas408.c:604:1: note: in expansion of macro 'module_init' 604 | module_init(qlogicfas408_init); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qlogicfas408.c:591:19: note: 'init_module' target declared here 591 | static int __init qlogicfas408_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'qlogicfas408_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/qlogicfas408.c:605:1: note: in expansion of macro 'module_exit' 605 | module_exit(qlogicfas408_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qlogicfas408.c:596:20: note: 'cleanup_module' target declared here 596 | static void __exit qlogicfas408_exit(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c: In function 'vme_user_ioctl': /kisskb/src/drivers/staging/vme/devices/vme_user.c:327:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] 327 | &master.enable, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:328:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] 328 | &master.vme_addr, | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:329:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | &master.size, &master.aspace, | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:329:63: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] 329 | &master.size, &master.aspace, | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:330:49: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | &master.cycle, &master.dwidth); | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:330:64: warning: taking address of packed member of 'struct vme_master' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | &master.cycle, &master.dwidth); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:373:48: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] 373 | &slave.enable, &slave.vme_addr, | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:373:63: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] 373 | &slave.enable, &slave.vme_addr, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:374:48: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] 374 | &slave.size, &pci_addr, | ^~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:375:48: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] 375 | &slave.aspace, &slave.cycle); | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c:375:63: warning: taking address of packed member of 'struct vme_slave' may result in an unaligned pointer value [-Waddress-of-packed-member] 375 | &slave.aspace, &slave.cycle); | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kallsyms.h:13, from /kisskb/src/include/linux/filter.h:21, from /kisskb/src/include/net/sock.h:64, from /kisskb/src/include/net/inet_sock.h:26, from /kisskb/src/include/net/inet_ecn.h:8, from /kisskb/src/include/net/codel.h:48, from /kisskb/src/include/net/mac80211.h:25, from /kisskb/src/drivers/staging/rtlwifi/rtl8822be/../wifi.h:25, from /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:15: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8822be_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:470:1: note: in expansion of macro 'module_pci_driver' 470 | module_pci_driver(rtl8822be_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/dma-mapping.h:7, from /kisskb/src/arch/powerpc/include/asm/machdep.h:14, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:7, from /kisskb/src/include/linux/random.h:166, from /kisskb/src/include/linux/net.h:22, from /kisskb/src/include/linux/skbuff.h:29, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/staging/rtlwifi/rtl8822be/../wifi.h:22: /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:470:19: note: 'cleanup_module' target declared here 470 | module_pci_driver(rtl8822be_driver); | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:470:1: note: in expansion of macro 'module_pci_driver' 470 | module_pci_driver(rtl8822be_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8822be_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:470:1: note: in expansion of macro 'module_pci_driver' 470 | module_pci_driver(rtl8822be_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:470:19: note: 'init_module' target declared here 470 | module_pci_driver(rtl8822be_driver); | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:470:1: note: in expansion of macro 'module_pci_driver' 470 | module_pci_driver(rtl8822be_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/vt6655/device.h:19, from /kisskb/src/drivers/staging/vt6655/device_main.c:38: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'device_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6655/device_main.c:1814:1: note: in expansion of macro 'module_pci_driver' 1814 | module_pci_driver(device_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/pci.h:31, from /kisskb/src/drivers/staging/vt6655/device.h:21: /kisskb/src/drivers/staging/vt6655/device_main.c:1814:19: note: 'cleanup_module' target declared here 1814 | module_pci_driver(device_driver); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/vt6655/device_main.c:1814:1: note: in expansion of macro 'module_pci_driver' 1814 | module_pci_driver(device_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'device_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/pci.h:1304:9: note: in expansion of macro 'module_driver' 1304 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6655/device_main.c:1814:1: note: in expansion of macro 'module_pci_driver' 1814 | module_pci_driver(device_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6655/device_main.c:1814:19: note: 'init_module' target declared here 1814 | module_pci_driver(device_driver); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/vt6655/device_main.c:1814:1: note: in expansion of macro 'module_pci_driver' 1814 | module_pci_driver(device_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/xhci-dbgcap.c: In function 'xhci_dbc_populate_strings': /kisskb/src/drivers/usb/host/xhci-dbgcap.c:46:57: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 46 | UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, | ^~~~~~ /kisskb/src/drivers/usb/host/xhci-dbgcap.c:57:57: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 57 | UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, | ^~~~~~ /kisskb/src/drivers/usb/host/xhci-dbgcap.c:69:57: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 69 | UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, | ^~~~~~ In file included from /kisskb/src/drivers/staging/vt6656/device.h:19, from /kisskb/src/drivers/staging/vt6656/main_usb.c:26: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'vt6656_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/include/linux/usb.h:1287:9: note: in expansion of macro 'module_driver' 1287 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/main_usb.c:1034:1: note: in expansion of macro 'module_usb_driver' 1034 | module_usb_driver(vt6656_driver); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/dma-mapping.h:7, from /kisskb/src/arch/powerpc/include/asm/machdep.h:14, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:7, from /kisskb/src/include/linux/random.h:166, from /kisskb/src/include/linux/net.h:22, from /kisskb/src/include/linux/skbuff.h:29, from /kisskb/src/include/linux/if_ether.h:23, from /kisskb/src/include/linux/etherdevice.h:25, from /kisskb/src/drivers/staging/vt6656/main_usb.c:24: /kisskb/src/drivers/staging/vt6656/main_usb.c:1034:19: note: 'cleanup_module' target declared here 1034 | module_usb_driver(vt6656_driver); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/vt6656/main_usb.c:1034:1: note: in expansion of macro 'module_usb_driver' 1034 | module_usb_driver(vt6656_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'vt6656_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/usb.h:1287:9: note: in expansion of macro 'module_driver' 1287 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/main_usb.c:1034:1: note: in expansion of macro 'module_usb_driver' 1034 | module_usb_driver(vt6656_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/main_usb.c:1034:19: note: 'init_module' target declared here 1034 | module_usb_driver(vt6656_driver); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/vt6656/main_usb.c:1034:1: note: in expansion of macro 'module_usb_driver' 1034 | module_usb_driver(vt6656_driver); | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/xhci-mvebu.c: In function 'xhci_mvebu_mbus_config.constprop': /kisskb/src/drivers/usb/host/xhci-mvebu.c:36:28: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] 36 | writel(((cs->size - 1) & 0xffff0000) | (cs->mbus_attr << 8) | | ~~^~~~~~ /kisskb/src/drivers/usb/host/xhci-mvebu.c:36:59: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] 36 | writel(((cs->size - 1) & 0xffff0000) | (cs->mbus_attr << 8) | | ~~^~~~~~~~~~~ /kisskb/src/drivers/usb/host/xhci-mvebu.c:40:27: warning: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Warray-bounds] 40 | writel((cs->base & 0xffff0000), base + USB3_WIN_BASE(win)); | ~~^~~~~~ In file included from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:247, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:114, from /kisskb/src/drivers/staging/wlan-ng/prism2usb.c:2: /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c: In function 'hfa384x_drvr_flashdl_enable': /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:1839:22: warning: taking address of packed member of 'struct hfa384x_downloadbuffer' may result in an unaligned pointer value [-Waddress-of-packed-member] 1839 | le16_to_cpus(&hw->bufinfo.page); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:1839:9: note: in expansion of macro 'le16_to_cpus' 1839 | le16_to_cpus(&hw->bufinfo.page); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:1840:22: warning: taking address of packed member of 'struct hfa384x_downloadbuffer' may result in an unaligned pointer value [-Waddress-of-packed-member] 1840 | le16_to_cpus(&hw->bufinfo.offset); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:1840:9: note: in expansion of macro 'le16_to_cpus' 1840 | le16_to_cpus(&hw->bufinfo.offset); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:1841:22: warning: taking address of packed member of 'struct hfa384x_downloadbuffer' may result in an unaligned pointer value [-Waddress-of-packed-member] 1841 | le16_to_cpus(&hw->bufinfo.len); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:1841:9: note: in expansion of macro 'le16_to_cpus' 1841 | le16_to_cpus(&hw->bufinfo.len); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c: In function 'hfa384x_drvr_txframe': /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:2645:22: warning: taking address of packed member of 'struct hfa384x_tx_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 2645 | cpu_to_le16s(&hw->txbuff.txfrm.desc.tx_control); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:96:38: note: in definition of macro '__cpu_to_le16s' 96 | #define __cpu_to_le16s(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:2645:9: note: in expansion of macro 'cpu_to_le16s' 2645 | cpu_to_le16s(&hw->txbuff.txfrm.desc.tx_control); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c: In function 'hfa384x_usbin_rx': /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:3380:22: warning: taking address of packed member of 'struct hfa384x_rx_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 3380 | le16_to_cpus(&usbin->rxfrm.desc.status); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:3380:9: note: in expansion of macro 'le16_to_cpus' 3380 | le16_to_cpus(&usbin->rxfrm.desc.status); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:3381:22: warning: taking address of packed member of 'struct hfa384x_rx_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 3381 | le32_to_cpus(&usbin->rxfrm.desc.time); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:95:38: note: in definition of macro '__le32_to_cpus' 95 | #define __le32_to_cpus(x) __swab32s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:3381:9: note: in expansion of macro 'le32_to_cpus' 3381 | le32_to_cpus(&usbin->rxfrm.desc.time); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c: In function 'hfa384x_usbin_info': /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:3573:22: warning: taking address of packed member of 'struct hfa384x_inf_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 3573 | le16_to_cpus(&usbin->infofrm.info.framelen); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/hfa384x_usb.c:3573:9: note: in expansion of macro 'le16_to_cpus' 3573 | le16_to_cpus(&usbin->infofrm.info.framelen); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c: In function 'prism2sta_getcardinfo': /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:601:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 601 | le16_to_cpus(&hw->ident_nic.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:601:9: note: in expansion of macro 'le16_to_cpus' 601 | le16_to_cpus(&hw->ident_nic.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:602:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 602 | le16_to_cpus(&hw->ident_nic.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:602:9: note: in expansion of macro 'le16_to_cpus' 602 | le16_to_cpus(&hw->ident_nic.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:603:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 603 | le16_to_cpus(&hw->ident_nic.major); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:603:9: note: in expansion of macro 'le16_to_cpus' 603 | le16_to_cpus(&hw->ident_nic.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:604:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 604 | le16_to_cpus(&hw->ident_nic.minor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:604:9: note: in expansion of macro 'le16_to_cpus' 604 | le16_to_cpus(&hw->ident_nic.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:620:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 620 | le16_to_cpus(&hw->ident_pri_fw.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:620:9: note: in expansion of macro 'le16_to_cpus' 620 | le16_to_cpus(&hw->ident_pri_fw.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:621:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 621 | le16_to_cpus(&hw->ident_pri_fw.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:621:9: note: in expansion of macro 'le16_to_cpus' 621 | le16_to_cpus(&hw->ident_pri_fw.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:622:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 622 | le16_to_cpus(&hw->ident_pri_fw.major); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:622:9: note: in expansion of macro 'le16_to_cpus' 622 | le16_to_cpus(&hw->ident_pri_fw.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:623:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 623 | le16_to_cpus(&hw->ident_pri_fw.minor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:623:9: note: in expansion of macro 'le16_to_cpus' 623 | le16_to_cpus(&hw->ident_pri_fw.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:646:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 646 | le16_to_cpus(&hw->ident_sta_fw.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:646:9: note: in expansion of macro 'le16_to_cpus' 646 | le16_to_cpus(&hw->ident_sta_fw.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:647:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 647 | le16_to_cpus(&hw->ident_sta_fw.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:647:9: note: in expansion of macro 'le16_to_cpus' 647 | le16_to_cpus(&hw->ident_sta_fw.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:648:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 648 | le16_to_cpus(&hw->ident_sta_fw.major); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:648:9: note: in expansion of macro 'le16_to_cpus' 648 | le16_to_cpus(&hw->ident_sta_fw.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:649:22: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 649 | le16_to_cpus(&hw->ident_sta_fw.minor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:649:9: note: in expansion of macro 'le16_to_cpus' 649 | le16_to_cpus(&hw->ident_sta_fw.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:681:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 681 | le16_to_cpus(&hw->cap_sup_mfi.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:681:9: note: in expansion of macro 'le16_to_cpus' 681 | le16_to_cpus(&hw->cap_sup_mfi.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:682:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 682 | le16_to_cpus(&hw->cap_sup_mfi.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:682:9: note: in expansion of macro 'le16_to_cpus' 682 | le16_to_cpus(&hw->cap_sup_mfi.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:683:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 683 | le16_to_cpus(&hw->cap_sup_mfi.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:683:9: note: in expansion of macro 'le16_to_cpus' 683 | le16_to_cpus(&hw->cap_sup_mfi.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:684:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 684 | le16_to_cpus(&hw->cap_sup_mfi.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:684:9: note: in expansion of macro 'le16_to_cpus' 684 | le16_to_cpus(&hw->cap_sup_mfi.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:685:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 685 | le16_to_cpus(&hw->cap_sup_mfi.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:685:9: note: in expansion of macro 'le16_to_cpus' 685 | le16_to_cpus(&hw->cap_sup_mfi.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:705:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 705 | le16_to_cpus(&hw->cap_sup_cfi.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:705:9: note: in expansion of macro 'le16_to_cpus' 705 | le16_to_cpus(&hw->cap_sup_cfi.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:706:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 706 | le16_to_cpus(&hw->cap_sup_cfi.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:706:9: note: in expansion of macro 'le16_to_cpus' 706 | le16_to_cpus(&hw->cap_sup_cfi.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:707:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 707 | le16_to_cpus(&hw->cap_sup_cfi.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:707:9: note: in expansion of macro 'le16_to_cpus' 707 | le16_to_cpus(&hw->cap_sup_cfi.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:708:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 708 | le16_to_cpus(&hw->cap_sup_cfi.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:708:9: note: in expansion of macro 'le16_to_cpus' 708 | le16_to_cpus(&hw->cap_sup_cfi.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:709:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 709 | le16_to_cpus(&hw->cap_sup_cfi.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:709:9: note: in expansion of macro 'le16_to_cpus' 709 | le16_to_cpus(&hw->cap_sup_cfi.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:729:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 729 | le16_to_cpus(&hw->cap_sup_pri.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:729:9: note: in expansion of macro 'le16_to_cpus' 729 | le16_to_cpus(&hw->cap_sup_pri.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:730:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 730 | le16_to_cpus(&hw->cap_sup_pri.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:730:9: note: in expansion of macro 'le16_to_cpus' 730 | le16_to_cpus(&hw->cap_sup_pri.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:731:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 731 | le16_to_cpus(&hw->cap_sup_pri.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:731:9: note: in expansion of macro 'le16_to_cpus' 731 | le16_to_cpus(&hw->cap_sup_pri.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:732:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 732 | le16_to_cpus(&hw->cap_sup_pri.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:732:9: note: in expansion of macro 'le16_to_cpus' 732 | le16_to_cpus(&hw->cap_sup_pri.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:733:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 733 | le16_to_cpus(&hw->cap_sup_pri.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:733:9: note: in expansion of macro 'le16_to_cpus' 733 | le16_to_cpus(&hw->cap_sup_pri.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:753:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 753 | le16_to_cpus(&hw->cap_sup_sta.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:753:9: note: in expansion of macro 'le16_to_cpus' 753 | le16_to_cpus(&hw->cap_sup_sta.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:754:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 754 | le16_to_cpus(&hw->cap_sup_sta.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:754:9: note: in expansion of macro 'le16_to_cpus' 754 | le16_to_cpus(&hw->cap_sup_sta.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:755:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 755 | le16_to_cpus(&hw->cap_sup_sta.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:755:9: note: in expansion of macro 'le16_to_cpus' 755 | le16_to_cpus(&hw->cap_sup_sta.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:756:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 756 | le16_to_cpus(&hw->cap_sup_sta.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:756:9: note: in expansion of macro 'le16_to_cpus' 756 | le16_to_cpus(&hw->cap_sup_sta.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:757:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 757 | le16_to_cpus(&hw->cap_sup_sta.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:757:9: note: in expansion of macro 'le16_to_cpus' 757 | le16_to_cpus(&hw->cap_sup_sta.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:785:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 785 | le16_to_cpus(&hw->cap_act_pri_cfi.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:785:9: note: in expansion of macro 'le16_to_cpus' 785 | le16_to_cpus(&hw->cap_act_pri_cfi.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:786:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 786 | le16_to_cpus(&hw->cap_act_pri_cfi.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:786:9: note: in expansion of macro 'le16_to_cpus' 786 | le16_to_cpus(&hw->cap_act_pri_cfi.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:787:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 787 | le16_to_cpus(&hw->cap_act_pri_cfi.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:787:9: note: in expansion of macro 'le16_to_cpus' 787 | le16_to_cpus(&hw->cap_act_pri_cfi.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:788:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 788 | le16_to_cpus(&hw->cap_act_pri_cfi.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:788:9: note: in expansion of macro 'le16_to_cpus' 788 | le16_to_cpus(&hw->cap_act_pri_cfi.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:789:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 789 | le16_to_cpus(&hw->cap_act_pri_cfi.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:789:9: note: in expansion of macro 'le16_to_cpus' 789 | le16_to_cpus(&hw->cap_act_pri_cfi.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:809:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 809 | le16_to_cpus(&hw->cap_act_sta_cfi.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:809:9: note: in expansion of macro 'le16_to_cpus' 809 | le16_to_cpus(&hw->cap_act_sta_cfi.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:810:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 810 | le16_to_cpus(&hw->cap_act_sta_cfi.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:810:9: note: in expansion of macro 'le16_to_cpus' 810 | le16_to_cpus(&hw->cap_act_sta_cfi.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:811:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 811 | le16_to_cpus(&hw->cap_act_sta_cfi.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:811:9: note: in expansion of macro 'le16_to_cpus' 811 | le16_to_cpus(&hw->cap_act_sta_cfi.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:812:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 812 | le16_to_cpus(&hw->cap_act_sta_cfi.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:812:9: note: in expansion of macro 'le16_to_cpus' 812 | le16_to_cpus(&hw->cap_act_sta_cfi.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:813:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 813 | le16_to_cpus(&hw->cap_act_sta_cfi.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:813:9: note: in expansion of macro 'le16_to_cpus' 813 | le16_to_cpus(&hw->cap_act_sta_cfi.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:833:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 833 | le16_to_cpus(&hw->cap_act_sta_mfi.role); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:833:9: note: in expansion of macro 'le16_to_cpus' 833 | le16_to_cpus(&hw->cap_act_sta_mfi.role); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:834:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 834 | le16_to_cpus(&hw->cap_act_sta_mfi.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:834:9: note: in expansion of macro 'le16_to_cpus' 834 | le16_to_cpus(&hw->cap_act_sta_mfi.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:835:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 835 | le16_to_cpus(&hw->cap_act_sta_mfi.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:835:9: note: in expansion of macro 'le16_to_cpus' 835 | le16_to_cpus(&hw->cap_act_sta_mfi.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:836:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 836 | le16_to_cpus(&hw->cap_act_sta_mfi.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:836:9: note: in expansion of macro 'le16_to_cpus' 836 | le16_to_cpus(&hw->cap_act_sta_mfi.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:837:22: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 837 | le16_to_cpus(&hw->cap_act_sta_mfi.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:837:9: note: in expansion of macro 'le16_to_cpus' 837 | le16_to_cpus(&hw->cap_act_sta_mfi.top); | ^~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/wlan-ng/prism2usb.c:5: /kisskb/src/drivers/staging/wlan-ng/prism2sta.c: In function 'prism2sta_inf_tallies': /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1003:35: warning: taking address of packed member of 'union hfa384x_infodata' may result in an unaligned pointer value [-Waddress-of-packed-member] 1003 | src32 = (__le32 *)&inf->info.commtallies32; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1008:35: warning: taking address of packed member of 'union hfa384x_infodata' may result in an unaligned pointer value [-Waddress-of-packed-member] 1008 | src16 = (__le16 *)&inf->info.commtallies16; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c: In function 'prism2sta_inf_assocstatus': /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1474:22: warning: taking address of packed member of 'struct hfa384x_assoc_status' may result in an unaligned pointer value [-Waddress-of-packed-member] 1474 | le16_to_cpus(&rec.assocstatus); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1474:9: note: in expansion of macro 'le16_to_cpus' 1474 | le16_to_cpus(&rec.assocstatus); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1475:22: warning: taking address of packed member of 'struct hfa384x_assoc_status' may result in an unaligned pointer value [-Waddress-of-packed-member] 1475 | le16_to_cpus(&rec.reason); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1475:9: note: in expansion of macro 'le16_to_cpus' 1475 | le16_to_cpus(&rec.reason); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c: In function 'prism2sta_ev_info': /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1742:22: warning: taking address of packed member of 'struct hfa384x_inf_frame' may result in an unaligned pointer value [-Waddress-of-packed-member] 1742 | le16_to_cpus(&inf->infotype); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1742:9: note: in expansion of macro 'le16_to_cpus' 1742 | le16_to_cpus(&inf->infotype); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c: In function 'mkpdrlist': /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:621:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 621 | le16_to_cpus(&nicid.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:621:25: note: in expansion of macro 'le16_to_cpus' 621 | le16_to_cpus(&nicid.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:622:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 622 | le16_to_cpus(&nicid.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:622:25: note: in expansion of macro 'le16_to_cpus' 622 | le16_to_cpus(&nicid.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:623:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 623 | le16_to_cpus(&nicid.major); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:623:25: note: in expansion of macro 'le16_to_cpus' 623 | le16_to_cpus(&nicid.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:624:38: warning: taking address of packed member of 'struct hfa384x_compident' may result in an unaligned pointer value [-Waddress-of-packed-member] 624 | le16_to_cpus(&nicid.minor); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:624:25: note: in expansion of macro 'le16_to_cpus' 624 | le16_to_cpus(&nicid.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:630:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 630 | le16_to_cpus(&rfid.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:630:25: note: in expansion of macro 'le16_to_cpus' 630 | le16_to_cpus(&rfid.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:631:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 631 | le16_to_cpus(&rfid.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:631:25: note: in expansion of macro 'le16_to_cpus' 631 | le16_to_cpus(&rfid.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:632:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 632 | le16_to_cpus(&rfid.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:632:25: note: in expansion of macro 'le16_to_cpus' 632 | le16_to_cpus(&rfid.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:633:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 633 | le16_to_cpus(&rfid.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:633:25: note: in expansion of macro 'le16_to_cpus' 633 | le16_to_cpus(&rfid.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:639:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 639 | le16_to_cpus(&macid.id); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:639:25: note: in expansion of macro 'le16_to_cpus' 639 | le16_to_cpus(&macid.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:640:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 640 | le16_to_cpus(&macid.variant); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:640:25: note: in expansion of macro 'le16_to_cpus' 640 | le16_to_cpus(&macid.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:641:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 641 | le16_to_cpus(&macid.bottom); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:641:25: note: in expansion of macro 'le16_to_cpus' 641 | le16_to_cpus(&macid.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:642:38: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] 642 | le16_to_cpus(&macid.top); /kisskb/src/include/uapi/linux/byteorder/big_endian.h:97:38: note: in definition of macro '__le16_to_cpus' 97 | #define __le16_to_cpus(x) __swab16s((x)) | ^ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:642:25: note: in expansion of macro 'le16_to_cpus' 642 | le16_to_cpus(&macid.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_datahead_g': /kisskb/src/drivers/staging/vt6656/rxtx.c:297:63: warning: taking address of packed member of 'struct vnt_tx_datahead_g' may result in an unaligned pointer value [-Waddress-of-packed-member] 297 | tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); | ^~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_datahead_g_fb': /kisskb/src/drivers/staging/vt6656/rxtx.c:330:63: warning: taking address of packed member of 'struct vnt_tx_datahead_g_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); | ^~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_datahead_a_fb': /kisskb/src/drivers/staging/vt6656/rxtx.c:354:63: warning: taking address of packed member of 'struct vnt_tx_datahead_a_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] 354 | tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); | ^~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_datahead_ab': /kisskb/src/drivers/staging/vt6656/rxtx.c:385:63: warning: taking address of packed member of 'struct vnt_tx_datahead_ab' may result in an unaligned pointer value [-Waddress-of-packed-member] 385 | tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); | ^~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_rts_g_head': /kisskb/src/drivers/staging/vt6656/rxtx.c:428:44: warning: taking address of packed member of 'struct vnt_rts_g' may result in an unaligned pointer value [-Waddress-of-packed-member] 428 | vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration_aa); | ^~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_rts_g_fb_head': /kisskb/src/drivers/staging/vt6656/rxtx.c:472:44: warning: taking address of packed member of 'struct vnt_rts_g_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] 472 | vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration_aa); | ^~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_rts_ab_head': /kisskb/src/drivers/staging/vt6656/rxtx.c:491:44: warning: taking address of packed member of 'struct vnt_rts_ab' may result in an unaligned pointer value [-Waddress-of-packed-member] 491 | vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration); | ^~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_rts_a_fb_head': /kisskb/src/drivers/staging/vt6656/rxtx.c:520:44: warning: taking address of packed member of 'struct vnt_rts_a_fb' may result in an unaligned pointer value [-Waddress-of-packed-member] 520 | vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration); | ^~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_beacon_xmit': /kisskb/src/drivers/staging/vt6656/rxtx.c:1045:20: warning: taking address of packed member of 'struct vnt_beacon_buffer' may result in an unaligned pointer value [-Waddress-of-packed-member] 1045 | mgmt_hdr = &beacon_buffer->mgmt_hdr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/host/sl811-hcd.c: In function 'sl811h_hub_control': /kisskb/src/drivers/usb/host/sl811-hcd.c:1291:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1291 | if (*(u16*)(buf+2)) /* only if wPortChange is interesting */ | ^~ /kisskb/src/drivers/usb/host/sl811-hcd.c:1295:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1295 | break; | ^~~~~ In file included from /kisskb/src/drivers/staging/speakup/spk_types.h:13, from /kisskb/src/drivers/staging/speakup/spk_priv.h:14, from /kisskb/src/drivers/staging/speakup/speakup_decpc.c:24: /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'synth_dec_pc_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/include/linux/device.h:1615:1: note: in expansion of macro 'module_init' 1615 | module_init(__driver##_init); \ | ^~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/spk_types.h:207:9: note: in expansion of macro 'module_driver' 207 | module_driver(__spk_synth, synth_add, synth_remove) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/speakup_decpc.c:485:1: note: in expansion of macro 'module_spk_synth' 485 | module_spk_synth(synth_dec_pc); | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:30, from /kisskb/src/include/linux/io.h:25, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/kthread.h:7, from /kisskb/src/drivers/staging/speakup/speakup_decpc.c:22: /kisskb/src/drivers/staging/speakup/speakup_decpc.c:485:18: note: 'init_module' target declared here 485 | module_spk_synth(synth_dec_pc); | ^~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1611:19: note: in definition of macro 'module_driver' 1611 | static int __init __driver##_init(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/speakup/speakup_decpc.c:485:1: note: in expansion of macro 'module_spk_synth' 485 | module_spk_synth(synth_dec_pc); | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'synth_dec_pc_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1620:1: note: in expansion of macro 'module_exit' 1620 | module_exit(__driver##_exit); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/spk_types.h:207:9: note: in expansion of macro 'module_driver' 207 | module_driver(__spk_synth, synth_add, synth_remove) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/speakup_decpc.c:485:1: note: in expansion of macro 'module_spk_synth' 485 | module_spk_synth(synth_dec_pc); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/speakup_decpc.c:485:18: note: 'cleanup_module' target declared here 485 | module_spk_synth(synth_dec_pc); | ^~~~~~~~~~~~ /kisskb/src/include/linux/device.h:1616:20: note: in definition of macro 'module_driver' 1616 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ /kisskb/src/drivers/staging/speakup/speakup_decpc.c:485:1: note: in expansion of macro 'module_spk_synth' 485 | module_spk_synth(synth_dec_pc); | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8723bs/include/drv_types.h:21, from /kisskb/src/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:9: /kisskb/src/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c: In function 'rtl8723bs_xmit_thread': /kisskb/src/drivers/staging/rtl8723bs/include/osdep_service.h:269:49: warning: 'snprintf' argument 4 overlaps destination object 'thread_name' [-Wrestrict] 269 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:488:9: note: in expansion of macro 'rtw_sprintf' 488 | rtw_sprintf(thread_name, 20, "%s-"ADPT_FMT, thread_name, ADPT_ARG(padapter)); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:481:12: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 481 | u8 thread_name[20] = "RTWHALXT"; | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 'rtw_cfg80211_inform_bss': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:287:50: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 287 | struct ndis_802_11_ssid *pssid = &pnetwork->network.Ssid; | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 'rtw_cfg80211_surveydone_event_callback': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1456:54: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 1456 | && true == rtw_validate_ssid(&(pnetwork->network.Ssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c: In function 'phydm_cmd_parser': /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2146:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2146 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2164:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2164 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2176:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2176 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2188:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2188 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2206:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2206 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2222:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2222 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2240:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2240 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2257:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2257 | if (input[i + 1]) | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2296:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2296 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2326:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2326 | if (input[i + 1]) | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2372:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] 2372 | if (input[1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2385:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] 2385 | if (input[1]) | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2421:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] 2421 | if (input[1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2438:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] 2438 | if (input[1]) | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2458:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2458 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2476:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2476 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2641:56: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + 16' must not be NULL [-Waddress] 2641 | if (dm->support_ic_type & ODM_RTL8822B && input[1]) { | ^~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2664:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2664 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2692:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2692 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_debug.c:2707:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)(i + 1) * 16)' must not be NULL [-Waddress] 2707 | if (input[i + 1]) { | ^~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c: In function 'rtw_wx_get_scan': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:1472:54: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] 1472 | && true == rtw_validate_ssid(&(pnetwork->network.Ssid))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8723bs/include/osdep_service_linux.h:16, from /kisskb/src/drivers/staging/rtl8723bs/include/osdep_service.h:15, from /kisskb/src/drivers/staging/rtl8723bs/include/drv_types.h:21, from /kisskb/src/drivers/staging/rtl8723bs/os_dep/sdio_intf.c:9: /kisskb/src/include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtw_drv_halt': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/sdio_intf.c:672:1: note: in expansion of macro 'module_exit' 672 | module_exit(rtw_drv_halt); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/sdio_intf.c:654:20: note: 'cleanup_module' target declared here 654 | static void __exit rtw_drv_halt(void) | ^~~~~~~~~~~~ /kisskb/src/include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'rtw_drv_entry': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/sdio_intf.c:671:1: note: in expansion of macro 'module_init' 671 | module_init(rtw_drv_entry); | ^~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/sdio_intf.c:624:19: note: 'init_module' target declared here 624 | static int __init rtw_drv_entry(void) | ^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_psd.c: In function 'phydm_psd_debug': /kisskb/src/drivers/staging/rtlwifi/phydm/phydm_psd.c:373:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)((int)i + 1) * 16)' must not be NULL [-Waddress] 373 | if (input[i + 1]) | ^~~~~ make[1]: *** [/kisskb/src/Makefile:1060: drivers] Error 2 make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc12 # Build took: 0:12:37.405159
© Michael Ellerman 2006-2018.