Buildresult: mpe-quick/powerpc-allyesconfig/powerpc-gcc9 built on Feb 24 2020, 11:21
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 24 2020, 11:21
Duration:
0:23:25.525305
Builder:
blade4b
Revision:
powerpc: Add -Wimplicit-fallthrough to arch CFLAGS (
c719d28628a5c74f07b8250f8e6f092e9015ba82)
Target:
mpe-quick/powerpc-allyesconfig/powerpc-gcc9
Branch:
mpe-quick
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible warnings (1898)
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/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/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/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/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/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/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/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/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/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/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/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/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/fsl/mpc8641_hpcn.dtb: Warning (interrupts_property): /pcie@ffe08000: Missing #interrupt-cells in interrupt-parent 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/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/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/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/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/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/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/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/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/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/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/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/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/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' 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/stxssa8555.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): :bus-range/pcie@ffe270000: : PCI bus number 1 out of range, expected (0 - 0)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' 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/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/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/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" 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' 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/xpedite5200.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/kernel/trace/ftrace.c:971:43: warning: taking address of packed member of 'struct ftrace_graph_ent' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:253:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] block/partitions/atari.c:72:7: 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:8: warning: taking address of packed member of 'struct rootsector' may result in an unaligned pointer value [-Waddress-of-packed-member] block/partitions/karma.c:44:6: warning: taking address of packed member of 'struct disklabel' may result in an unaligned pointer value [-Waddress-of-packed-member] kernel/power/user.c:443:36: 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:34: warning: taking address of packed member of 'struct compat_resume_swap_area' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/aoa/codecs/onyx.c:380:37: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] sound/aoa/soundbus/i2sbus/core.c:97:19: 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:11: 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:486:14: 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:14: 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:11: 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:16: 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:11: 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:11: 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:11: 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:29: 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:15: 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:16: 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:21: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/powerpc/kernel/nvram_64.c:811:3: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/string.h:337:9: warning: '__builtin_memset' offset [8505, 8560] from the object at 'iter' is out of the bounds of referenced subobject 'seq' with type 'struct trace_seq' at offset 4368 [-Warray-bounds] sound/core/control_compat.c:111:44: 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:28: 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:41: 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:41: 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:42: 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:28: 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:41: 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:41: 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:42: warning: taking address of packed member of 'struct snd_ctl_elem_info32' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/base/regmap/regcache-rbtree.c:129:15: 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:18: 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:18: 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:12: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/core/timer_compat.c:54:35: 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:35: warning: taking address of packed member of 'struct snd_timer_gparams32' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_async_probe_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_async_probe_exit': 'cold' [-Wmissing-attributes] sound/core/pcm_compat.c:218:5: 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:29: 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:32: 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:30: 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:29: 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:29: 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: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:234: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:235: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:236:41: 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:45: 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:495:23: 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:34: 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:35: 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:30: 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:31: 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:40: 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:34: 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:35: warning: taking address of packed member of 'struct snd_pcm_sync_ptr32' may result in an unaligned pointer value [-Waddress-of-packed-member] arch/powerpc/xmon/xmon.c:4034:24: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/powerpc/platforms/powermac/feature.c:1472:6: warning: this statement may fall through [-Wimplicit-fallthrough=] sound/core/rawmidi_compat.c:39:30: 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:35: 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:33: 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:20: 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:30: 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:29: 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:29: warning: taking address of packed member of 'struct snd_rawmidi_status32' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ceph/mds_client.c:1714:16: warning: taking address of packed member of 'struct ceph_mds_cap_release' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/string.h:337:9: warning: '__builtin_memset' offset [8505, 8560] from the object at 'iter' is out of the bounds of referenced subobject 'seq' with type 'struct trace_seq' at offset 4368 [-Warray-bounds] security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:19: 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:14: 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:15: 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:13: 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:24: 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:24: 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:6: warning: 'init_module' specifies less restrictive attribute than its target 'preemptirq_delay_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'preemptirq_delay_exit': 'cold' [-Wmissing-attributes] security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:22: 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:22: warning: taking address of packed member of 'struct tomoyo_acl_info' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ceph/mdsmap.c:209:21: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/firewire/fireworks/fireworks_command.c:219:11: 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:2: 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:10: 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] security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:14: 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:14: 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:14: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/firewire/fireworks/fireworks_proc.c:152:11: warning: taking address of packed member of 'struct snd_efw_phys_meters' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ceph/debugfs.c:40:24: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:18: 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:24: 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:35: 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:20: 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:15: 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:42: 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:21: 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:16: 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:8: 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:20: 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:15: 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:37: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:19: 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:14: 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:15: 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:22: 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:19: 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:14: 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:14: 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:17: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: warning: taking address of packed member of 'struct tomoyo_shared_acl_head' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/char/tpm/tpm2-space.c:421:26: warning: taking address of packed member of 'struct tpm2_cap_handles' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'ps3vram_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ps3vram_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'configfs_example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'configfs_example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'hw_break_module_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hw_break_module_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'kdb_hello_cmd_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kdb_hello_cmd_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'example_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'example_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'kretprobe_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kretprobe_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'kprobe_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kprobe_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rpmsg_sample_client_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rpmsg_sample_client_init': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'kmemleak_test_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kmemleak_test_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'trace_event_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'trace_event_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'trace_printk_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'trace_printk_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtty_dev_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtty_dev_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mdpy_dev_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mdpy_dev_exit': 'cold' [-Wmissing-attributes] include/linux/string.h:253:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mdpy_fb_init': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'tcrypt_mod_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tcrypt_mod_fini': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mbochs_dev_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mbochs_dev_exit': 'cold' [-Wmissing-attributes] fs/cifs/smb2pdu.c:581:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:16: warning: taking address of packed member of 'struct smb2_set_info_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_io.c:177:10: warning: taking address of packed member of 'struct flowc_packed' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/cifs/smb2file.c:92:11: warning: taking address of packed member of 'struct smb2_file_all_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/crypto/chelsio/chtls/chtls_hw.c:136:17: 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:21: 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:15: 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:17: 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:15: 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:17: warning: taking address of packed member of 'struct key_map' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/dlm/lowcomms.c:891:16: 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:23: warning: taking address of packed member of 'struct sctp_prim' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_bpf_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_bpf_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_ubsan_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_ubsan_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_module_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_module_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_static_key_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_static_key_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_user_copy_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_user_copy_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_static_key_base_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_static_key_base_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'percpu_test_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'percpu_test_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'test_kmod_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'test_kmod_exit': 'cold' [-Wmissing-attributes] 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] fs/ecryptfs/keystore.c:1156:41: 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:27: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] net/bluetooth/mgmt.c:328:20: 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:20: warning: taking address of packed member of 'struct mgmt_rp_read_commands' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: 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:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hid/uhid.c:240:47: 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:47: warning: taking address of packed member of 'struct uhid_set_report_req' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] net/can/gw.c:658:35: 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:34: 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:35: 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:35: warning: taking address of packed member of 'struct cgw_frame_mod' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: 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:30: 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:47: 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:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hwtracing/intel_th/sth.c:73:22: 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:26: 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:26: 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:11: 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:11: 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:10: warning: taking address of packed member of 'struct intel_th_channel' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:452: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:474:36: 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:21: 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:23: 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:20: 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:45: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/messenger.c:1794:23: 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:33: 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:22: 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:17: 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:17: 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:20: 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:24: 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:17: 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:21: 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:23: 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:23: 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:23: 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:24: 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:17: 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: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:2990:16: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/hid/hid-cp2112.c:966:16: 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:30: warning: taking address of packed member of 'struct cp2112_string_report' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/mon_client.c:79:21: 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: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:1172:17: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/cls_lock_client.c:274:20: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/osd_client.c:4929:20: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ceph/debugfs.c:49:20: 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:23: warning: taking address of packed member of 'struct ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/f2fs/f2fs.h:2178:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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:30: 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:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] sound/soc/codecs/wm0010.c:666:3: 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/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'sgid' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'sgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] drivers/iio/accel/mma9553.c:641:7: 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:7: 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:8: 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:8: 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:8: 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:7: 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:8: 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:6: warning: taking address of packed member of 'struct mma9553_conf_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/mad.c:894:7: 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:33: 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:43: 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:9: 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:33: 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:43: 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:33: 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:43: 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:9: 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:28: 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:38: 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:23: 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:16: 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:11: 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: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:2345:65: 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:19: 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:13: 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:6: 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:8: 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:7: 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:20: 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:17: 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:13: 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/cm.c:1291:20: 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:20: 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:18: 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:30: 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:30: 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:30: 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:30: 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:20: 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:20: 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:10: 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:20: warning: taking address of packed member of 'struct cm_rep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:2152:20: warning: taking address of packed member of 'struct cm_rtu_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/core/cm.c:2466:20: 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:20: 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:20: 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:20: 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: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:3196: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:3250:9: 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:20: 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:20: 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:20: warning: taking address of packed member of 'struct cm_sidr_rep_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'i2c_stub_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'i2c_stub_exit': 'cold' [-Wmissing-attributes] fs/hfs/btree.c:48:39: 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:39: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/ipack/carriers/tpci200.c:113:4: 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:4: 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:9: 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:9: 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:9: 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:9: 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:9: warning: taking address of packed member of 'struct tpci200_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/extent.c:297:12: 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:12: 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:340:40: 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:40: 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:39: 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:10: 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:28: 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:39: 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:48: 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:65: warning: taking address of packed member of 'struct hfs_cat_file' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/part_tbl.c:77:7: warning: taking address of packed member of 'struct old_pmap' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfs/mdb.c:218:16: 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:56: 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:10: 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:56: 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:10: warning: taking address of packed member of 'struct hfs_mdb' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/super.c:547:16: warning: taking address of packed member of 'struct hfsplus_vh' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/unicode.c:40:7: 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:7: 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:7: 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:7: 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:7: 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:30: warning: taking address of packed member of 'struct old_pmap' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/hfsplus/xattr.c:104:16: warning: taking address of packed member of 'struct hfs_btree_header_rec' may result in an unaligned pointer value [-Waddress-of-packed-member] net/mac80211/rx.c:322:15: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/ndisc.c:1430:36: 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] fs/jffs2/summary.c:130:37: 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:37: 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:37: 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:37: 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:48: 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:48: 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:48: 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:48: 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] drivers/infiniband/hw/i40iw/i40iw_utils.c:749:11: warning: taking address of packed member of 'struct i40iw_dma_mem' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/exthdrs.c:234:23: 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:29: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/mlx4/mad.c:1543:10: 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:38: 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:11: 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/hw/mlx4/mcg.c:268:47: 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:47: 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:55: 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:30: 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:51: 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:30: warning: taking address of packed member of 'struct ib_sa_mcmember_data' may result in an unaligned pointer value [-Waddress-of-packed-member] net/phonet/socket.c:223:19: 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/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'nfs4flexfilelayout_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'nfs4flexfilelayout_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'maint_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'maint_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hysdn_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'hysdn_init': 'cold' [-Wmissing-attributes] drivers/isdn/hisax/st5481_usb.c:151:16: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1313:4: 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:18: 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:18: warning: taking address of packed member of 'struct ocrdma_modify_eqd_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] drivers/input/touchscreen/atmel_mxt_ts.c:1644:16: warning: taking address of packed member of 'struct mxt_object' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'sgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:107:41: 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:15: 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:37: 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:37: 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:37: 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:37: 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:37: 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:37: 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:39: 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:45: 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:4: 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:3: 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:3: 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:3: 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:41: 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:17: warning: taking address of packed member of 'struct ocrdma_rdma_stats_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] net/ipv6/mip6.c:234:13: 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:29: 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:40: 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] drivers/md/persistent-data/dm-space-map-common.c:458:16: 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:16: warning: taking address of packed member of 'struct disk_index_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] net/netfilter/nfnetlink_queue.c:493:20: warning: taking address of packed member of 'struct nfqnl_msg_packet_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/sm_statefuns.c:780:14: 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:11: 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:14: 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:14: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mfd/cros_ec.c:91:34: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:183:25: 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:25: 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:39: 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:39: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/sm_make_chunk.c:1742:16: warning: taking address of packed member of 'struct sctp_signed_cookie' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_clc.c:55:18: 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:18: 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:20: 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:38: 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:18: 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_cdc.h:183:25: 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:25: 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:39: 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:39: 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:25: 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:25: 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:39: 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:39: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/md/raid5-ppl.c:349:15: 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:16: warning: taking address of packed member of 'struct ppl_header_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] net/sctp/socket.c:2736:38: 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:37: 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:41: 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:38: warning: taking address of packed member of 'struct sctp_paddrparams' may result in an unaligned pointer value [-Waddress-of-packed-member] net/smc/smc_cdc.h:183:25: 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:25: 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:39: 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:39: 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:25: 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:25: 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:39: 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:39: 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:25: 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:25: 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:39: 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:39: warning: taking address of packed member of 'struct smc_cdc_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/infiniband/ulp/iser/iser_verbs.c:1034:14: 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:15: 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:16: 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:17: 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:277:11: 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:8: 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:200:11: 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:19: 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:20: 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:17: 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:18: 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:19: 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:20: 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:20: 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:21: 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:17: 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: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:1074: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/isert/ib_isert.c:1311:26: 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:26: 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:34: 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:37: 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:31: 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:5: 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: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:1941:31: 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:11: 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:31: 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:5: 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:31: 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:7: 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:31: 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:26: 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:26: 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:31: 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: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:2048: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:2197:9: 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:10: 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:8: 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:14: 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:10: 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/srpt/ib_srpt.c:1050:39: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/misc/genwqe/card_ddcb.c:592:2: 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/nfc/st21nfca/dep.c:148:16: 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:12: 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:20: 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:18: 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:19: warning: taking address of packed member of 'struct st21nfca_dep_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/nand/raw/diskonchip.c:1047:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: warning: taking address of packed member of 'struct INFTLPartition' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/nvme/host/lightnvm.c:476:8: 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/ntfs/dir.c:157:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:43: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/namei.c:188:16: 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:16: 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:18: warning: converting a packed 'MFT_RECORD' {aka 'struct <anonymous>'} 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:3: warning: converting a packed 'NTFS_BOOT_SECTOR' {aka 'const struct <anonymous>'} pointer (alignment 1) to a 'le32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/i2c/ir-kbd-i2c.c:535:28: 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:28: warning: taking address of packed member of 'struct code_block' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ntfs/unistr.c:220:30: 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:39: 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:15: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/dvb-frontends/ts2020.c:446:40: warning: taking address of packed member of 'struct dtv_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] net/wireless/radiotap.c:119:27: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/dvb-frontends/drxk_hard.c:6550:22: warning: taking address of packed member of 'struct dtv_stats' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/3com/typhoon.c:1735:42: 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:46: 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:9: 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:46: 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:6: 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:39: 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:38: warning: taking address of packed member of 'struct typhoon_indexes' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_oobtest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_oobtest_exit': 'cold' [-Wmissing-attributes] drivers/platform/chrome/cros_ec_debugfs.c:234:8: 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:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_pagetest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_pagetest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_readtest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_readtest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_speedtest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_speedtest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_stresstest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_stresstest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_subpagetest_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_subpagetest_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'tort_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tort_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'ecc_test_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ecc_test_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'mtd_nandbiterrs_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mtd_nandbiterrs_exit': 'cold' [-Wmissing-attributes] drivers/media/platform/cros-ec-cec/cros-ec-cec.c:107:41: 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:41: 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:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/mtd/ubi/fastmap.c:764:31: 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:34: warning: taking address of packed member of 'struct ubi_fm_scan_pool' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/ocfs2/dir.c:1175:18: 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:15: 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:28: 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:28: warning: taking address of packed member of 'struct ocfs2_info_uuid' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/pci/intel/ipu3/ipu3-cio2.c:1101: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/pci/intel/ipu3/ipu3-cio2.c:1360: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/pwm/pwm-cros-ec.c:40:32: 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:32: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/apm/xgene/xgene_enet_main.c:33:36: warning: array 'xgene_enet_acpi_match' assumed to have one element drivers/media/platform/exynos-gsc/gsc-core.c:428: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/media/platform/exynos-gsc/gsc-core.c:468: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:469:3: 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-m2m.c:354: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/power/supply/max17042_battery.c:588:27: warning: taking address of packed member of 'struct max17042_config_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/pci/ivtv/ivtv-ioctl.c:733:40: warning: taking address of packed member of 'struct v4l2_dbg_register' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:229:30: 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:9: 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:29: 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:8: 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:242:28: 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:7: 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:664: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/platform/mtk-vcodec/mtk_vcodec_dec.c:667:6: 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:319: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/platform/mtk-vcodec/mtk_vcodec_enc.c:322:6: 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/ethernet/brocade/bna/bna_enet.c:73:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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/bfa_ioc.c:1299:2: 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/media/platform/s5p-mfc/s5p_mfc_enc.c:1435: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/platform/s5p-mfc/s5p_mfc_enc.c:1436:4: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/rtc/rtc-cros-ec.c:45:41: 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:41: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ppp/pptp.c:402:19: warning: taking address of packed member of 'struct sockaddr_pppox' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/brocade/bna/bfa_cee.c:37:2: 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/soc/qcom/smp2p.c:213:20: 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:17: warning: taking address of packed member of 'struct smp2p_smem_item' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/ti-vpe/vpe.c:1631: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/ti-vpe/vpe.c:1632:10: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/aic94xx/aic94xx_sds.c:699:2: 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/net/ethernet/emulex/benet/be_cmds.c:1011:25: 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:31: 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:25: 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:25: 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:25: 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:31: 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:25: 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:31: 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:25: 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:31: 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:25: 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:31: 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:25: 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:31: 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:25: 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:25: 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:25: 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:25: 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:26: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:16: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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] drivers/scsi/be2iscsi/be_main.c:1443:23: 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: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] fs/reiserfs/stree.c:104:2: 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:2: 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:7: warning: taking address of packed member of 'struct reiserfs_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_mgmt.c:60:22: 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:22: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: warning: taking address of packed member of 'struct invldt_cmds_params_in' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/net1080.c:372:25: 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:28: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/be2iscsi/be_cmds.c:754:21: 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:31: 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:21: 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:31: 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:21: 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:31: 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:21: 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:21: 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:31: 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:21: 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:31: 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:21: 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:31: 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:21: 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:22: 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:32: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:22: 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:22: warning: taking address of packed member of 'struct iscsi_cleanup_req_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/reiserfs/procfs.c:312:30: warning: taking address of packed member of 'struct reiserfs_super_block_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/sysv/super.c:72:23: 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:19: 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:23: 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:19: 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:23: 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:19: 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:23: 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:19: warning: taking address of packed member of 'struct v7_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/fsl-viu.c:258:11: 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:11: 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:11: 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:23: 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:12: 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: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:284:13: 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:13: 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:13: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:37: 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:13: 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:13: 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:13: 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:13: 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:13: 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:13: 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:13: 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:27: 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:19: 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:12: 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:19: 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:11: 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:23: 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:11: 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:23: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: warning: taking address of packed member of 'struct viu_reg' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/usb/lg-vl600.c:131:18: 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:29: 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:18: 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:23: 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:47: 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:20: 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:60: warning: taking address of packed member of 'struct vl600_frame_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/platform/renesas-ceu.c:842: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/renesas-ceu.c:843:10: 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:800: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/rcar_jpu.c:801:24: warning: taking address of packed member of 'struct v4l2_pix_format_mplane' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'dscc4_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'dscc4_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'spi_loopback_test_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'spi_loopback_test_driver_init': 'cold' [-Wmissing-attributes] fs/udf/balloc.c:101:15: warning: taking address of packed member of 'struct logicalVolIntegrityDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-ctrls.c:3554:18: 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:18: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/ialloc.c:38:17: 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:17: 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:17: 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:17: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/udf/inode.c:1952:16: 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:17: 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:17: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/uwb/drp.c:732:26: warning: taking address of packed member of 'struct uwb_ie_drp_avail' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:944:20: 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:20: 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:20: 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:16: 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:20: 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:16: 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:27: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/class/usbtmc.c:1030:29: 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:8: 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:30: 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:8: warning: taking address of packed member of 'struct usbtmc_message' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/ath10k/htt_rx.c:2036:11: 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:35: warning: taking address of packed member of 'struct htt_tx_fetch_confirm' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: warning: taking address of packed member of 'struct fc_els_flogi' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/target/target_core_user.c:1031:19: 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:20: 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:18: 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:8: 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:19: warning: taking address of packed member of 'struct tcmu_cmd_entry_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath10k/wmi.c:3504:5: 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:5: 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:5: 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:21: 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:21: 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/net/wireless/ath/ath10k/wmi-tlv.c:859:29: warning: taking address of packed member of 'struct wmi_tim_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/core/devio.c:294:16: 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:16: 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:16: 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:16: 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:43: 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:24: 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:38: 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:19: 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:19: 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:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/libxfs/xfs_format.h:790:3: 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:3: 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:3: 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:3: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/string.h:337:9: warning: '__builtin_memset' offset [569, 600] from the object at 'buf' is out of the bounds of referenced subobject 'rdata' with type 'struct fc_rport_priv' at offset 0 [-Warray-bounds] include/linux/string.h:337:9: warning: '__builtin_memset' offset [569, 600] from the object at 'buf' is out of the bounds of referenced subobject 'rdata' with type 'struct fc_rport_priv' at offset 0 [-Warray-bounds] drivers/scsi/esas2r/esas2r_ioctl.c:1450:25: 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:13: 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:19: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/net/wireless/ath/ath6kl/main.c:834:20: 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:20: 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:20: 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:20: 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:20: 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:20: 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:20: 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:20: 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/broadcom/b43/xmit.c:457:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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:6: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/spinlock.h:279:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:488:2: 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/cisco/airo.c:2240:17: 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:3: 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:16: 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:4: warning: converting a packed 'MICBuffer' {aka 'struct 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:3: warning: converting a packed 'MICBuffer' {aka 'struct 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:17: 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:17: warning: taking address of packed member of 'struct StatsRid' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/neterion/vxge/vxge-config.c:642:4: 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:3: 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:2: 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:2: 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:2: 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:2: 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] drivers/scsi/hisi_sas/hisi_sas_v2_hw.c:911:2: 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/scsi/hisi_sas/hisi_sas_v3_hw.c:599:2: 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/scsi/ibmvscsi/ibmvscsi.c:724:9: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/broadcom/b43legacy/xmit.c:127:17: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/ibmvscsi_tgt/libsrp.c:222:8: 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:33: warning: taking address of packed member of 'struct srp_indirect_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/ipw2x00/ipw2200.c:3792:58: 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:17: warning: taking address of packed member of 'struct tfd_data' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wcn36xx/main.c:722:16: 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:16: warning: taking address of packed member of 'struct wcn36xx_hal_supported_rates' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/wcn36xx/smd.c:2058:24: warning: taking address of packed member of 'struct wcn36xx_hal_feat_caps_msg' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/wil6210/main.c:1166:15: 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:15: 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:15: 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:15: 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:15: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: warning: taking address of packed member of 'struct bl_dedicated_registers_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/wil6210/debugfs.c:1107:2: 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/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/broadcom/brcm80211/brcmsmac/ampdu.c:687:8: warning: taking address of packed member of 'struct d11txh' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/tty/nozomi.c:892:2: 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:18: 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:2: 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/net/wireless/intel/iwlegacy/4965-mac.c:1342:26: 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:24: 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:18: 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:22: 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:43: 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:48: 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/broadcom/brcm80211/brcmsmac/main.c:4106:3: 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:9: warning: taking address of packed member of 'struct d11txh' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/libxfs/xfs_rmap_btree.c:194:15: warning: taking address of packed member of 'struct xfs_rmap_key' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/wil6210/txrx_edma.c:207:39: 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:39: 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/intel/iwlegacy/4965-calib.c:408:50: warning: taking address of packed member of 'struct il_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlegacy/3945.c:427:43: 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:28: 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:11: 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:48: warning: taking address of packed member of 'struct il3945_tx_beacon_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/fwserial/fwserial.c:1614:19: 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:19: 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:2: 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:38: warning: taking address of packed member of 'struct fwserial_mgmt_pkt' may result in an unaligned pointer value [-Waddress-of-packed-member] arch/powerpc/include/asm/epapr_hcalls.h:298:20: warning: array subscript 1 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:299:20: warning: array subscript 2 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:300:20: warning: array subscript 3 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:298:20: warning: array subscript 1 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:299:20: warning: array subscript 2 is outside array bounds of 'const char[1]' [-Warray-bounds] arch/powerpc/include/asm/epapr_hcalls.h:300:20: warning: array subscript 3 is outside array bounds of 'const char[1]' [-Warray-bounds] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gdm_usb_lte_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'gdm_usb_lte_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gdm_usb_mux_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'gdm_usb_mux_init': 'cold' [-Wmissing-attributes] drivers/net/wireless/intel/iwlwifi/dvm/lib.c:936:42: 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:37: 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:37: 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/calib.c:481:49: 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:49: warning: taking address of packed member of 'struct iwl_enhance_sensitivity_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/function/f_tcm.c:1117:26: warning: taking address of packed member of 'struct command_iu' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_def.c:99:25: 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:25: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:2: 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:17: 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:17: 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:17: 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:2: 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:17: 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:17: 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:17: 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:2: 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:17: 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:17: 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:17: 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:2: 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:17: 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:17: 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:17: 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:2: 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:17: 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:17: 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:17: 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:2: 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:17: 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:17: 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:17: 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:3: 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:17: 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:17: 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:17: 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:10: 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:10: warning: taking address of packed member of 'struct iwl_notif_statistics' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/sfc/falcon/falcon.c:1831:10: warning: taking address of packed member of 'struct falcon_nvconfig' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/greybus/authentication.c:232:12: 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:12: warning: taking address of packed member of 'struct cap_ioc_authenticate' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ath/ath9k/eeprom_4k.c:40:25: 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:25: 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:2: 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:25: warning: taking address of packed member of 'union <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/whci/asl.c:50:24: 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:24: 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:24: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qed/qed_iwarp.c:1684:19: 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/net/wireless/intel/iwlwifi/mvm/fw.c:185:22: 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/wireless/intel/iwlwifi/mvm/mac80211.c:309:15: warning: taking address of packed member of 'struct iwl_mcc_update_resp' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/whci/pzl.c:202:26: warning: taking address of packed member of 'struct whc_qhead' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/net2272.c:1787:16: 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:16: 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:1789:16: 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/net2280.c:674:10: 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:12: warning: taking address of packed member of 'struct net2280_dma_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/ops.c:1640:12: warning: taking address of packed member of 'struct iwl_wowlan_status' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/host/oxu210hp-hcd.c:3136:28: 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:22: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/snps_udc_core.c:1578:14: 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/snps_udc_core.c:3112:30: warning: taking address of packed member of 'struct udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] fs/xfs/xfs_ioctl.c:174:4: 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/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1017:33: 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:7: 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:33: 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:7: 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:33: 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:7: 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/intersil/orinoco/hw.c:88:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: warning: taking address of packed member of 'struct comp_id' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:1228:3: 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:3: 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:3: 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:3: 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:3: 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:4: 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:5: 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:28: 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:28: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/goku_udc.c:1265:18: 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:20: 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:18: warning: taking address of packed member of 'struct goku_udc_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/lpfc/lpfc_bsg.c:4579:28: 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:29: 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:5: 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:3: 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:3: 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:3: warning: taking address of packed member of 'struct fc_bsg_request' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/m66592-udc.c:1086:2: 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/media/usb/gspca/sn9c20x.c:1565:40: warning: taking address of packed member of 'struct v4l2_dbg_register' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/r8a66597-udc.c:1287:2: 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/net/wireless/intel/iwlwifi/mvm/rx.c:795:19: 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:22: 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:19: 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:22: 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/orinoco/scan.c:101:47: warning: taking address of packed member of 'struct symbol_scan_apinfo' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/udc/renesas_usb3.c:925:2: 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/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:458:48: 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:13: 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:46: 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:46: 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:46: 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:46: 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:46: 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:32: 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:46: 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:46: 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:46: 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:46: 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/usb/host/xhci-dbgcap.c:46:36: 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:36: 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:36: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_base.c:937:28: 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:33: 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:16: 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:21: 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:23: 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:23: 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:23: 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:23: 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:23: 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:7521:32: 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:29: 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:28: 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:21: 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:33: warning: taking address of packed member of 'struct megasas_iocpacket' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/composite.c:628:15: 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:16: 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:16: 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:23: 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:24: 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:25: 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:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/mvm/quota.c:310:17: 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:16: warning: taking address of packed member of 'struct iwl_scd_txq_cfg_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intersil/p54/fwio.c:59:11: warning: taking address of packed member of 'struct bootrec' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/gadget/configfs.c:142:16: 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:16: 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:16: 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:16: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/megaraid/megaraid_sas_fusion.c:1053:12: 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:22: 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_fp.c:117:9: 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:9: 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:9: 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: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:286:16: 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: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:456:12: 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:12: 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:12: 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/net/ethernet/sun/niu.c:6555:36: 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/net/wireless/intersil/prism54/islpci_mgt.c:90:17: 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:17: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c:830:12: 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] fs/xfs/libxfs/xfs_format.h:790:3: warning: taking address of packed member of 'struct xfs_agfl' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwl8k.c:1352:8: 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:7: 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/intel/iwlwifi/mvm/offloading.c:156:23: warning: taking address of packed member of 'struct iwl_ns_config' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/ethernet/tehuti/tehuti.c:1492:20: warning: taking address of packed member of 'struct txd_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/misc/usbtest.c:347:22: warning: taking address of packed member of 'struct usb_endpoint_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/wmm.c:946:5: 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/intel/iwlwifi/mvm/d3.c:264:43: 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:38: 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:38: warning: taking address of packed member of 'struct iwl_p1k_cache' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/osd/osd_initiator.c:1857:35: warning: taking address of packed member of 'struct osd_sense_attributes_data_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'qlogic_cs_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'qlogic_cs_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'aha152x_cs_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'aha152x_cs_driver_init': 'cold' [-Wmissing-attributes] drivers/usb/storage/uas.c:158:31: 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:21: warning: taking address of packed member of 'struct iu' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/usb/typec/tcpm/tcpm.c:1635:36: 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:30: warning: taking address of packed member of 'struct pd_message' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/marvell/mwifiex/scan.c:697:27: 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:27: 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:26: 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:25: 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/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'sym53c500_cs_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'sym53c500_cs_driver_init': 'cold' [-Wmissing-attributes] drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1411:19: warning: taking address of packed member of 'struct iwl_nvm_get_info_regulatory' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/intel/iwlwifi/pcie/tx.c:2132:15: 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:16: warning: taking address of packed member of 'struct iwl_tx_cmd' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/marvell/mwifiex/sta_cmd.c:81:45: 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:26: 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:26: 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:26: 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:26: 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:11: 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:26: 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:25: 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:25: 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:25: 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:25: 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:25: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/marvell/mwifiex/uap_cmd.c:726:12: 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/realtek/rtl818x/rtl8180/dev.c:386:31: 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:26: 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:27: 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:31: 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:26: 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:26: 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:26: 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:26: 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:27: 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:27: 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:27: 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:27: 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: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/dev.c:771:27: 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:27: 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:27: 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:34: 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:27: 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:26: 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:27: 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:27: 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:27: 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:27: 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:27: 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:27: 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:27: 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:26: 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:27: 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:27: 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:27: 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:27: 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:27: 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:27: 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:34: 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:27: 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:27: 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:27: 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:26: 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:31: 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:26: 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:32: 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: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:1404:27: 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:27: 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:27: 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:27: 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:26: 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:29: 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:31: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/marvell/mwifiex/ie.c:134:26: 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:26: 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:26: 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:26: 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:26: warning: taking address of packed member of 'struct mwifiex_ie' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c:34: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:35: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:37:26: 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: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:40:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:26: 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: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:83: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:84: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:88:26: 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:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:26: 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:26: 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:27: 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:27: 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:27: 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:27: 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:30: 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:27: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:25: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:25: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c:290:15: 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:16: 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/sa2400.c:58:22: 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:35: 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:27: 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:27: 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/max2820.c:57:22: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:39: 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:30: 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:6: 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:2: 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:6: 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:2: 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:39: 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:30: 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:39: 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/grf5101.c:52:22: 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/11h.c:153:25: warning: taking address of packed member of 'struct host_cmd_ds_command' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/media/usb/uvc/uvc_ctrl.c:1573:46: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:602:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:27: 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:27: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:32: 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: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:1163:31: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:32: 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:29: 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:34: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:825:3: 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:3: 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/rtl8225.c:127: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:128: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:130:26: 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: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:133:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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: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: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/rtl8187/rtl8225.c:168: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:173:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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: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:217: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:218: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:222:26: 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:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:27: 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:27: 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:27: 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:27: 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:30: 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:27: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: warning: taking address of packed member of 'struct rtl818x_csr' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_def.h:842:39: 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:458:30: 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:13: 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:13: 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:13: 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:15: 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:13: 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:39: 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:30: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_mgmt.c:387:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: warning: taking address of packed member of 'struct rsi_wowlan_req' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla2xxx/qla_bsg.c:39:7: 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:4: 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:6: 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:49: 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:49: 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:18: 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_mr.c:3317:4: 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:2362:18: 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:22: 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_target.c:410:12: 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:14: warning: taking address of packed member of 'struct ctio7_to_24xx' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/rsi/rsi_91x_hal.c:98:18: 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:18: 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:20: 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:18: 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:18: warning: taking address of packed member of 'struct rsi_data_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8188eu/core/rtw_cmd.c:456:39: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/scsi/qla4xxx/ql4_nx.c:2109:25: 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/staging/rtl8188eu/core/rtw_ioctl_set.c:313:47: 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:4667:34: 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:7: 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:7: 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:7: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/ti/wl12xx/main.c:1451:28: warning: taking address of packed member of 'struct wl12xx_fw_status' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8188e_usb_drv_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8188e_usb_drv_init': 'cold' [-Wmissing-attributes] drivers/net/wireless/ti/wl18xx/main.c:1203:28: warning: taking address of packed member of 'struct wl18xx_fw_status' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8192_pci_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8192_pci_driver_init': 'cold' [-Wmissing-attributes] drivers/net/wireless/ti/wlcore/cmd.c:1254:12: 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/megaraid.c:721:5: 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:27: 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:6: 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:5: 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:27: 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:5: 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:28: 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:58: 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:58: 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:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_ccmp_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_ccmp_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_tkip_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_tkip_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtllib_crypto_wep_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtllib_crypto_wep_exit': 'cold' [-Wmissing-attributes] drivers/scsi/ipr.c:1453:22: 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/scsi/ipr.c:2401:23: 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/scsi/ipr.c:3067:26: 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:26: 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:26: 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:26: 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:11: 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:8: 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:20: warning: taking address of packed member of 'struct ipr_mode_page28' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8192_usb_module_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8192_usb_module_init': 'cold' [-Wmissing-attributes] drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:524:28: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'qlogicfas408_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'qlogicfas408_exit': 'cold' [-Wmissing-attributes] drivers/staging/rtlwifi/base.c:1403:16: 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:13: 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:13: 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:13: 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:1439:16: 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:13: 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:13: 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:868:17: 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:12: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/core/rtw_cmd.c:899:57: 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:41: 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:57: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/net/wireless/realtek/rtlwifi/core.c:918:17: 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:12: warning: taking address of packed member of 'struct rtl_sta_info' may result in an unaligned pointer value [-Waddress-of-packed-member] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtl8822be_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtl8822be_driver_init': 'cold' [-Wmissing-attributes] drivers/staging/rtl8723bs/core/rtw_ioctl_set.c:421:56: 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:5757:35: 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:35: 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:35: warning: taking address of packed member of 'struct wlan_bssid_ex' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/vme/devices/vme_user.c:327:7: 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:7: 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:7: 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:21: 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:7: 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:22: 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:13: 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:28: 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:13: 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:13: 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:28: 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:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'device_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'device_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'vt6656_driver_exit': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'vt6656_driver_init': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'synth_dec_pc_init': 'cold' [-Wmissing-attributes] include/linux/module.h:138:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'synth_dec_pc_exit': 'cold' [-Wmissing-attributes] drivers/staging/vt6656/rxtx.c:297:56: 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:56: 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:56: 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:56: 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:37: 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:37: 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:37: 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:37: 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:13: warning: taking address of packed member of 'struct vnt_beacon_buffer' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/wlan-ng/hfa384x_usb.c:1839:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:21: 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:21: 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:15: 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:15: 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:15: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: warning: taking address of packed member of 'struct hfa384x_caplevel' may result in an unaligned pointer value [-Waddress-of-packed-member] drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:287:36: 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:33: 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_linux.c:1472:33: 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:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'rtw_drv_halt': 'cold' [-Wmissing-attributes] include/linux/module.h:132:6: warning: 'init_module' specifies less restrictive attribute than its target 'rtw_drv_entry': 'cold' [-Wmissing-attributes] /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'
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-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c719d28628a5c74f07b8250f8e6f092e9015ba82 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.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 # yes \n | make -s -j 24 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=powerpc O=/kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.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] 453 | static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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/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/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/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/fsl/mpc8641_hpcn.dtb: Warning (interrupts_property): /pcie@ffe08000: Missing #interrupt-cells in interrupt-parent 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/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/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/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/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/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/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/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/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/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/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/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/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/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' 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/stxssa8555.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000arch/powerpc/boot/dts/fsl/kmcent2.dtb: Warning (pci_bridge): :bus-range/pcie@ffe270000: : PCI bus number 1 out of range, expected (0 - 0)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' 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/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/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/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" 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' 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/xpedite5200.dtb: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/kernel/trace/ftrace.c: In function 'prepare_ftrace_return': /kisskb/src/arch/powerpc/kernel/trace/ftrace.c:971:43: 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, | ^~~~~~~~~~~~ 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/kernel/debug/kdb/kdb_support.c:15: In function 'strncpy', inlined from 'kallsyms_symbol_next' at /kisskb/src/kernel/debug/kdb/kdb_support.c:239:4: /kisskb/src/include/linux/string.h:253:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_support.c: In function 'kallsyms_symbol_next': /kisskb/src/include/linux/string.h:274:10: note: length computed here 274 | return __builtin_strlen(p); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/block/partitions/atari.c: In function 'atari_partition': /kisskb/src/block/partitions/atari.c:72:7: 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:8: 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/block/partitions/karma.c: In function 'karma_partition': /kisskb/src/block/partitions/karma.c:44:6: 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; | ^~~~~ 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:36: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/kernel/power/user.c:443:9: 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:34: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/kernel/power/user.c:444:10: note: in expansion of macro 'get_user' 444 | err |= get_user(swap_area.dev, &u_swap_area->dev); | ^~~~~~~~ /kisskb/src/sound/aoa/codecs/onyx.c: In function 'onyx_snd_single_bit_get': /kisskb/src/sound/aoa/codecs/onyx.c:380:37: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 380 | ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; | ^~~~~~~~~~~~ /kisskb/src/sound/aoa/soundbus/i2sbus/core.c: In function 'i2sbus_bus_intr': /kisskb/src/sound/aoa/soundbus/i2sbus/core.c:97:19: 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:11: 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/sound/aoa/soundbus/i2sbus/pcm.c: In function 'i2sbus_pcm_prepare': /kisskb/src/sound/aoa/soundbus/i2sbus/pcm.c:486:14: 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:14: 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:11: 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:16: 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:11: 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:11: 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:11: 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:29: 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:15: 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:16: 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/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:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 252 | pte->may_write = true; | ~~~~~~~~~~~~~~~^~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c:253:5: note: here 253 | case 3: | ^~~~ /kisskb/src/arch/powerpc/kernel/nvram_64.c: In function 'dev_nvram_ioctl': /kisskb/src/arch/powerpc/kernel/nvram_64.c:811:3: 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:2: note: here 812 | case IOC_NVRAM_GET_OFFSET: { | ^~~~ 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/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/ring_buffer.h:5, from /kisskb/src/kernel/trace/trace.c:15: In function 'memset', inlined from 'ftrace_dump' at /kisskb/src/kernel/trace/trace.c:8351:3: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [8505, 8560] from the object at 'iter' is out of the bounds of referenced subobject 'seq' with type 'struct trace_seq' at offset 4368 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:44: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:111:6: 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:28: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:126:6: note: in expansion of macro 'put_user' 126 | if (put_user(data->owner, &data32->owner)) | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:131:41: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:131:7: 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:41: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:132:7: 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:42: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:133:7: 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:28: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:399:6: note: in expansion of macro 'get_user' 399 | if (get_user(data->owner, &data32->owner)) | ^~~~~~~~ /kisskb/src/sound/core/control_compat.c:404:41: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:404:7: 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:41: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:405:7: 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:42: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/control_compat.c:406:7: note: in expansion of macro 'get_user' 406 | get_user(data->value.integer.step, &data32->value.integer.step)) | ^~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_insert': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:129:15: 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:18: 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:18: 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:12: 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/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:35: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/timer_compat.c:54:6: note: in expansion of macro 'get_user' 54 | get_user(gparams.period_num, &user->period_num) || | ^~~~~~~~ /kisskb/src/sound/core/timer_compat.c:55:35: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/timer_compat.c:55:6: note: in expansion of macro 'get_user' 55 | get_user(gparams.period_den, &user->period_den)) | ^~~~~~~~ In file included from /kisskb/src/drivers/base/test/test_async_driver_probe.c:11: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/base/test/test_async_driver_probe.c:11: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~~~~~~ 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:5: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:217:13: note: in expansion of macro 'get_user' 217 | if (ext && get_user(status.audio_tstamp_data, | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:226:29: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:226:6: note: in expansion of macro 'put_user' 226 | if (put_user(status.state, &src->state) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:229:32: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:229:6: note: in expansion of macro 'put_user' 229 | put_user(status.appl_ptr, &src->appl_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:230:30: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:230:6: note: in expansion of macro 'put_user' 230 | put_user(status.hw_ptr, &src->hw_ptr) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:231:29: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:231:6: note: in expansion of macro 'put_user' 231 | put_user(status.delay, &src->delay) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:232:29: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:232:6: note: in expansion of macro 'put_user' 232 | put_user(status.avail, &src->avail) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:233:33: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:233:6: note: in expansion of macro 'put_user' 233 | put_user(status.avail_max, &src->avail_max) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:234:33: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:234:6: note: in expansion of macro 'put_user' 234 | put_user(status.overrange, &src->overrange) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:235:39: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:235:6: note: in expansion of macro 'put_user' 235 | put_user(status.suspended_state, &src->suspended_state) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:236:41: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:236:6: 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:45: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:239:6: note: in expansion of macro 'put_user' 239 | put_user(status.audio_tstamp_accuracy, &src->audio_tstamp_accuracy)) | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c: In function 'snd_pcm_ioctl_sync_ptr_compat': /kisskb/src/sound/core/pcm_compat.c:495:23: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:495:6: note: in expansion of macro 'get_user' 495 | if (get_user(sflags, &src->flags) || | ^~~~~~~~ /kisskb/src/sound/core/pcm_compat.c:496:34: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:496:6: 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:35: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:497:6: 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:30: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:525:6: 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:31: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:526:6: 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:40: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:528:6: 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:34: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:531:6: 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:35: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/pcm_compat.c:532:6: note: in expansion of macro 'put_user' 532 | put_user(scontrol.avail_min, &src->c.control.avail_min)) | ^~~~~~~~ /kisskb/src/arch/powerpc/xmon/xmon.c: In function 'do_spu_cmd': /kisskb/src/arch/powerpc/xmon/xmon.c:4034:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 4034 | if (isxdigit(subcmd) || subcmd == '\n') /kisskb/src/arch/powerpc/xmon/xmon.c:4036:2: note: here 4036 | case 'f': | ^~~~ /kisskb/src/arch/powerpc/platforms/powermac/feature.c: In function 'g5_i2s_enable': /kisskb/src/arch/powerpc/platforms/powermac/feature.c:1472:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 1472 | if (macio->type == macio_shasta) | ^ /kisskb/src/arch/powerpc/platforms/powermac/feature.c:1474:2: note: here 1474 | default: | ^~~~~~~ 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:30: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:39:6: note: in expansion of macro 'get_user' 39 | if (get_user(params.stream, &src->stream) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:40:35: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:40:6: note: in expansion of macro 'get_user' 40 | get_user(params.buffer_size, &src->buffer_size) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:41:33: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:41:6: note: in expansion of macro 'get_user' 41 | get_user(params.avail_min, &src->avail_min) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:42:20: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:42:6: 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:30: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:72:6: note: in expansion of macro 'get_user' 72 | if (get_user(status.stream, &src->stream)) | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:93:29: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:93:6: note: in expansion of macro 'put_user' 93 | put_user(status.avail, &src->avail) || | ^~~~~~~~ /kisskb/src/sound/core/rawmidi_compat.c:94:29: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/sound/core/rawmidi_compat.c:94:6: note: in expansion of macro 'put_user' 94 | put_user(status.xruns, &src->xruns)) | ^~~~~~~~ /kisskb/src/fs/ceph/mds_client.c: In function 'ceph_send_cap_releases': /kisskb/src/fs/ceph/mds_client.c:1714:16: 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/security/tomoyo/audit.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/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/kdb.h:69, from /kisskb/src/kernel/trace/trace_kdb.c:14: In function 'memset', inlined from 'ftrace_dump_buf' at /kisskb/src/kernel/trace/trace_kdb.c:45:2: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [8505, 8560] from the object at 'iter' is out of the bounds of referenced subobject 'seq' with type 'struct trace_seq' at offset 4368 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:14: 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:14: 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:14: 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:19: 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:14: 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:15: 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:13: 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:24: 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:24: 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/kernel/trace/preemptirq_delay_test.c:14: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/trace/preemptirq_delay_test.c:14: /kisskb/src/include/linux/module.h:138:7: 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/security/tomoyo/domain.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:22: 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:22: 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/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:21: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/fs/ceph/mdsmap.c:207:3: note: in expansion of macro 'dout' 207 | dout("mdsmap_decode %d/%d %lld mds%d.%d %s %s\n", | ^~~~ /kisskb/src/sound/firewire/fireworks/fireworks_command.c: In function 'snd_efw_command_get_hwinfo': /kisskb/src/sound/firewire/fireworks/fireworks_command.c:219:11: 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:2: 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; | ^~~ In file included from /kisskb/src/sound/firewire/fireworks/fireworks_command.c:9: /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:10: 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); | ^~~~ In file included from /kisskb/src/sound/firewire/fireworks/fireworks_command.c:9: /kisskb/src/sound/firewire/fireworks/./fireworks.h:170:8: note: defined here 170 | struct snd_efw_phys_meters { | ^~~~~~~~~~~~~~~~~~~ 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:14: 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:14: 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:14: 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/file.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/firewire/fireworks/fireworks_proc.c: In function 'proc_read_phys_meters': /kisskb/src/sound/firewire/fireworks/fireworks_proc.c:152:11: 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; | ^~~~~~ /kisskb/src/fs/ceph/debugfs.c: In function 'mdsmap_show': /kisskb/src/fs/ceph/debugfs.c:40:24: 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/security/tomoyo/gc.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:18: 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:24: 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:35: 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:20: 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:15: 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:42: 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:21: 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:16: 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:8: 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:20: 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:15: 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:37: 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/security/tomoyo/group.c:11: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/load_policy.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/memory.c:10: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:19: 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:14: 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:15: 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:22: 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:19: 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:14: 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:14: 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:17: 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/security/tomoyo/mount.c:9: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/network.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/realpath.c:8: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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:14: 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/common.c:11: /kisskb/src/security/tomoyo/common.h: In function 'tomoyo_put_name': /kisskb/src/security/tomoyo/common.h:1169:14: 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:14: 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:14: 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/drivers/char/tpm/tpm2-space.c: In function 'tpm2_map_response_body': /kisskb/src/drivers/char/tpm/tpm2-space.c:421:26: 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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/block/ps3vram.c:13: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/drivers/block/ps3vram.c:13: /kisskb/src/include/linux/module.h:138:7: 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/samples/configfs/configfs_sample.c:30: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/configfs/configfs_sample.c:30: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/hw_breakpoint/data_breakpoint.c:29: /kisskb/src/include/linux/module.h:138:7: 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/samples/kdb/kdb_hello.c:11: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/kdb/kdb_hello.c:11: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/bytestream-example.c:11: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/bytestream-example.c:11: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/dma-example.c:11: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/inttype-example.c:11: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kfifo/record-example.c:11: /kisskb/src/include/linux/module.h:138:7: 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/samples/kobject/kobject-example.c:11: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kobject/kobject-example.c:11: /kisskb/src/include/linux/module.h:138:7: 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/samples/kobject/kset-example.c:12: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~ In file included from /kisskb/src/samples/kobject/kset-example.c:12: /kisskb/src/include/linux/module.h:138:7: 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/kprobes/kretprobe_example.c:22: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/samples/kprobes/kretprobe_example.c:22: /kisskb/src/include/linux/module.h:138:7: 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/samples/kprobes/kprobe_example.c:14: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~ In file included from /kisskb/src/samples/kprobes/kprobe_example.c:14: /kisskb/src/include/linux/module.h:138:7: 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/rpmsg/rpmsg_client_sample.c:21: /kisskb/src/include/linux/module.h:138:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/rpmsg/rpmsg_client_sample.c:21: /kisskb/src/include/linux/module.h:132:6: 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:2: 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: '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); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/mm/kmemleak-test.c:25: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/mm/kmemleak-test.c:25: /kisskb/src/include/linux/module.h:138:7: 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/samples/trace_events/trace-events-sample.c:1: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/trace_events/trace-events-sample.c:1: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/trace_printk/trace-printk.c:1: /kisskb/src/include/linux/module.h:138:7: 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/samples/vfio-mdev/mtty.c:18: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mtty.c:18: /kisskb/src/include/linux/module.h:138:7: 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/samples/vfio-mdev/mdpy.c:19: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mdpy.c:19: /kisskb/src/include/linux/module.h:138:7: 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/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/lib/test_hexdump.c:8: In function 'strncpy', inlined from 'test_hexdump_prepare_test.isra.0' at /kisskb/src/lib/test_hexdump.c:102:3: /kisskb/src/include/linux/string.h:253:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 253 | return __builtin_strncpy(p, q, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/include/linux/string.h:274:10: note: length computed here 274 | return __builtin_strlen(p); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mdpy-fb.c:24: /kisskb/src/include/linux/module.h:132:6: 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/crypto/tcrypt.c:34: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/crypto/tcrypt.c:34: /kisskb/src/include/linux/module.h:138:7: 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) { } | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mbochs.c:23: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/samples/vfio-mdev/mbochs.c:23: /kisskb/src/include/linux/module.h:138:7: 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:15: 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:15: 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:15: 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:15: 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:15: 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:15: 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:16: 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]); | ^~~~~~~~~~~~~~~~~~ /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:10: 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; | ^~~~~~~~~~ /kisskb/src/fs/cifs/smb2file.c: In function 'smb2_open_file': /kisskb/src/fs/cifs/smb2file.c:92:11: 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/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:17: 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:17: note: in definition of macro 'spin_lock_init' 323 | spinlock_check(_lock); \ | ^~~~~ 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/include/linux/spinlock.h:324:21: 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:24: 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:2: 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:15: 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:17: 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:15: 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:17: 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/dlm/lowcomms.c: In function 'sctp_accept_from_sock': /kisskb/src/fs/dlm/lowcomms.c:891:16: 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:23: 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/lib/test_bpf.c:19: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_bpf.c:19: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_ubsan.c:4: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_module.c:13: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_module.c:13: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_static_keys.c:19: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_static_keys.c:19: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_user_copy.c:22: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_static_key_base.c:19: /kisskb/src/include/linux/module.h:138:7: 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/percpu_test.c:1: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/percpu_test.c:1: /kisskb/src/include/linux/module.h:138:7: 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/lib/test_kmod.c:28: /kisskb/src/include/linux/module.h:132:6: 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:28: 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) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/lib/test_kmod.c:28: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~ /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) | ^~~~~~~~~~~ /kisskb/src/fs/ecryptfs/keystore.c: In function 'decrypt_pki_encrypted_session_key': /kisskb/src/fs/ecryptfs/keystore.c:1156:41: 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:27: 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/net/bluetooth/mgmt.c: In function 'read_commands': /kisskb/src/net/bluetooth/mgmt.c:328:20: 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:20: 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; | ^~ 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:30: 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:47: 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/file.c:24: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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/drivers/hid/uhid.c: In function 'uhid_hid_get_report': /kisskb/src/drivers/hid/uhid.c:240:47: 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:47: 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); | ^~~~~~~~~~~~~~~~~~~~ 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:30: 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:47: 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/net/can/gw.c: In function 'cgw_parse_attr': /kisskb/src/net/can/gw.c:658:35: 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:34: 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:35: 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:35: 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/fs/f2fs/namei.c:17: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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/hash.c:18: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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:30: 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:47: 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/drivers/hwtracing/intel_th/sth.c: In function 'sth_stm_packet': /kisskb/src/drivers/hwtracing/intel_th/sth.c:73:22: 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:26: 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:26: 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:11: 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:11: 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:10: 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/net/ceph/messenger.c: In function 'ceph_tcp_connect': /kisskb/src/net/ceph/messenger.c:452:35: 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:36: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:474:2: 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:21: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:480:3: note: in expansion of macro 'dout' 480 | dout("connect %s EINPROGRESS sk_state = %u\n", | ^~~~ In file included 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:485:23: 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:33: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ 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: In function 'ceph_con_close': /kisskb/src/net/ceph/messenger.c:684:20: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:683:2: 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:45: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:708:2: note: in expansion of macro 'dout' 708 | dout("con_open %p %s\n", con, ceph_pr_addr(&addr->in_addr)); | ^~~~ 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:30: 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:47: 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/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: In function 'verify_hello': /kisskb/src/net/ceph/messenger.c:1794:23: 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:33: 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:33: 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:22: 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) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included 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:2032:17: 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:37: note: in definition of macro 'pr_warning' 310 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2031:3: 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:17: 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:37: note: in definition of macro 'pr_warning' 310 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2031:3: 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:20: 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:24: 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:17: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:2052:21: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:2051:3: note: in expansion of macro 'dout' 2051 | dout("process_banner learned my addr is %s\n", | ^~~~ In file included 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: In function 'process_connect': /kisskb/src/net/ceph/messenger.c:2100:23: 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:33: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2110:23: 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:33: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2144:23: 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:33: note: in definition of macro 'pr_err' 308 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2201:24: 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:33: 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:17: 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:34: note: in definition of macro 'pr_info' 315 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ 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: In function 'con_fault': /kisskb/src/net/ceph/messenger.c:2987:37: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/messenger.c:2986:2: note: in expansion of macro 'dout' 2986 | dout("fault %p state %lu to peer %s\n", | ^~~~ In file included 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:2990:16: 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:37: note: in definition of macro 'pr_warning' 310 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/net/ceph/messenger.c:2989:2: 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/fs/f2fs/checkpoint.c:17: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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/drivers/hid/hid-cp2112.c: In function 'pstr_store': /kisskb/src/drivers/hid/hid-cp2112.c:966:16: 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:30: 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, | ~~~~~~^~~~~~~ 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:30: 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:47: 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/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:21: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/mon_client.c:78:3: note: in expansion of macro 'dout' 78 | dout("monmap_decode mon%d is %s\n", i, | ^~~~ In file included 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 'reopen_session': /kisskb/src/net/ceph/mon_client.c:206:35: 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:34: 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:17: 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:34: note: in definition of macro 'pr_info' 315 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ 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:20: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/cls_lock_client.c:272:2: note: in expansion of macro 'dout' 272 | dout("%s %s%llu cookie %s addr %s\n", __func__, | ^~~~ 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:30: 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:47: 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/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:20: 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:10: note: in definition of macro 'dynamic_pr_debug' 128 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/ceph/ceph_debug.h:19:2: note: in expansion of macro 'pr_debug' 19 | pr_debug("%.*s %12.12s:%-4d : " fmt, \ | ^~~~~~~~ /kisskb/src/net/ceph/osd_client.c:4927:2: note: in expansion of macro 'dout' 4927 | dout("%s %s%llu cookie %llu addr %s\n", __func__, | ^~~~ 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:30: 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:47: 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/net/ceph/debugfs.c: In function 'monmap_show': /kisskb/src/net/ceph/debugfs.c:49:20: 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:23: 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), | ^~~~~~~~~~~~~~ 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:30: 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:47: 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:30: 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:47: 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/shrinker.c:12: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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/extent_cache.c:14: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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/xattr.c:22: /kisskb/src/fs/f2fs/f2fs.h: In function 'blkaddr_in_node': /kisskb/src/fs/f2fs/f2fs.h:2178:30: 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:47: 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:30: 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:47: 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:30: 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:47: 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/soc/codecs/wm0010.c: In function 'wm0010_boot': /kisskb/src/sound/soc/codecs/wm0010.c:666:3: 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/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/mutex.h:14, from /kisskb/src/drivers/infiniband/core/addr.c:36: In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'roce_resolve_route_from_path' at /kisskb/src/drivers/infiniband/core/addr.c:733:2: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'sgid' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'roce_resolve_route_from_path' at /kisskb/src/drivers/infiniband/core/addr.c:734:2: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'rdma_addr_find_l2_eth_by_grh' at /kisskb/src/drivers/infiniband/core/addr.c:823:2: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'sgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'rdma_addr_find_l2_eth_by_grh' at /kisskb/src/drivers/infiniband/core/addr.c:824:2: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/iio/accel/mma9553.c: In function 'mma9553_write_raw': /kisskb/src/drivers/iio/accel/mma9553.c:641:7: 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:7: 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:8: 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:8: 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:8: 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:7: 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:8: 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:6: 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/drivers/infiniband/core/mad.c: In function 'handle_outgoing_dr_smp': /kisskb/src/drivers/infiniband/core/mad.c:894:7: 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:33: 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:43: 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:9: 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:33: 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:43: 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:33: 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:43: 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:9: 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:28: 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:38: 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:23: 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:16: 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:11: 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:35: 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:65: 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:19: 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:13: 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:6: 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:8: 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:7: 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:20: 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:17: 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:13: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/cm.c: In function 'cm_format_req': /kisskb/src/drivers/infiniband/core/cm.c:1291:20: 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:20: 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:18: 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:30: 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:30: 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:30: 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:30: 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:20: 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:20: 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:10: 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:20: 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': /kisskb/src/drivers/infiniband/core/cm.c:2152:20: 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/drivers/infiniband/core/cm.c: In function 'cm_format_dreq': /kisskb/src/drivers/infiniband/core/cm.c:2466:20: 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:20: 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:20: 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:20: 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:30: 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:30: 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:9: 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:20: 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:20: 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:20: 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, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 235 | if (ret == -EOPNOTSUPP) | ^ In file included from /kisskb/src/drivers/i2c/i2c-stub.c:26: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/i2c/i2c-stub.c:26: /kisskb/src/include/linux/module.h:138:7: 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/hfs/btree.c: In function 'hfs_btree_open': /kisskb/src/fs/hfs/btree.c:48:39: 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:39: 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, | ~~~^~~~~~~~~~~~ /kisskb/src/drivers/ipack/carriers/tpci200.c: In function 'tpci200_enable_irq': /kisskb/src/drivers/ipack/carriers/tpci200.c:113:4: 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:4: 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:9: 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:9: 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:9: 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:9: 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:9: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/hfs/extent.c: In function 'hfs_free_fork': /kisskb/src/fs/hfs/extent.c:297:12: 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:12: 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/hfs/inode.c: In function 'hfs_read_inode': /kisskb/src/fs/hfs/inode.c:340:40: 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:40: 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:39: 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:10: 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:28: 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:39: 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:48: 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:65: 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/part_tbl.c: In function 'hfs_part_find': /kisskb/src/fs/hfs/part_tbl.c:77:7: 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/fs/hfs/mdb.c: In function 'hfs_mdb_get': /kisskb/src/fs/hfs/mdb.c:218:16: 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:56: 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:10: 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:56: 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:10: 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/hfsplus/super.c: In function 'hfsplus_fill_super': /kisskb/src/fs/hfsplus/super.c:547:16: 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/hfsplus/unicode.c: In function 'hfsplus_strcasecmp': /kisskb/src/fs/hfsplus/unicode.c:40:7: 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:7: 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:7: 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:7: 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:7: 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:30: 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]; | ^~~~~~~~~~~~~~~ /kisskb/src/fs/hfsplus/xattr.c: In function 'hfsplus_init_header_node': /kisskb/src/fs/hfsplus/xattr.c:104:16: 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); | ^~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/rx.c: In function 'ieee80211_add_rx_radiotap_header': /kisskb/src/net/mac80211/rx.c:322:15: 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/ipv6/ndisc.c: In function 'ndisc_router_discovery': /kisskb/src/net/ipv6/ndisc.c:1430:36: 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 { | ^~~~~~~~~~ /kisskb/src/fs/jffs2/summary.c: In function 'jffs2_sum_add_inode_mem': /kisskb/src/fs/jffs2/summary.c:130:37: 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:37: 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); | ^~~~~~~~~~~~~ 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: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:37: 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); | ^~~~~~~~~~~~~ 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: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:37: 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); | ^~~~~~~~~~~~~ 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: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:48: 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); | ^~~~~~~~~~~~~ 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:312:48: 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); | ^~~~~~~~~~~~~ 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: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:48: 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); | ^~~~~~~~~~~~~ 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: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:48: 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); | ^~~~~~~~~~~~~ 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: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/drivers/infiniband/hw/i40iw/i40iw_utils.c: In function 'i40iw_allocate_dma_mem': /kisskb/src/drivers/infiniband/hw/i40iw/i40iw_utils.c:749:11: 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/net/ipv6/exthdrs.c: In function 'ipv6_dest_hao': /kisskb/src/net/ipv6/exthdrs.c:234:23: 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:29: 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/infiniband/hw/mlx4/mad.c: In function 'mlx4_ib_multiplex_mad': /kisskb/src/drivers/infiniband/hw/mlx4/mad.c:1543:10: 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:38: 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:11: 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/hw/mlx4/mcg.c: In function 'send_join_to_wire': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:268:47: 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:47: 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); | ^~~~~~ 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_reply_to_slave': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:348:55: 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); | ^~~~~~ 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 'mlx4_ib_mcg_demux_handler': /kisskb/src/drivers/infiniband/hw/mlx4/mcg.c:894:30: 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:51: 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:30: 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); | ^~~~~~~~~~ /kisskb/src/net/phonet/socket.c: In function 'pn_socket_autobind': /kisskb/src/net/phonet/socket.c:223:19: 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/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:6: 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) | ^~~~~~~~~~~~~~~~~~~~~~~ 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:138:7: 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/drivers/isdn/hardware/eicon/divamnt.c:13: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~ In file included from /kisskb/src/drivers/isdn/hardware/eicon/divamnt.c:13: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~ In file included from /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:13: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~ In file included from /kisskb/src/drivers/isdn/hysdn/hysdn_init.c:13: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~ 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:16: 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:3: note: in expansion of macro 'le16_to_cpus' 151 | le16_to_cpus(&ctrl_msg->dr.wIndex); | ^~~~~~~~~~~~ /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:4: 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:18: 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:18: 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, | ^~~~~~~~~~~~~ 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/drivers/infiniband/hw/ocrdma/ocrdma_hw.c:43: In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'ocrdma_set_av_params.isra.0' at /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_hw.c:2545:3: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:16: 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:3: note: in expansion of macro 'le16_to_cpus' 1644 | le16_to_cpus(&object->start_address); | ^~~~~~~~~~~~ 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/skbuff.h:19, from /kisskb/src/include/linux/netlink.h:7, from /kisskb/src/include/uapi/linux/neighbour.h:6, from /kisskb/src/include/net/neighbour.h:5, from /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_ah.c:43: In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'set_av_attr' at /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_ah.c:136:3, inlined from 'ocrdma_create_ah' at /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_ah.c:193:11: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'sgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'rdma_gid2ip' at /kisskb/src/include/rdma/ib_addr.h:168:3, inlined from 'set_av_attr' at /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_ah.c:138:3, inlined from 'ocrdma_create_ah' at /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_ah.c:193:11: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [17, 28] from the object at 'dgid_addr' is out of the bounds of referenced subobject '_sockaddr' with type 'struct sockaddr' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c: In function 'ocrdma_resource_stats': /kisskb/src/drivers/infiniband/hw/ocrdma/ocrdma_stats.c:107:41: 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:15: 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:37: 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:37: 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:37: 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:37: 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:37: 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:37: 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:39: 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:45: 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:4: 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:3: 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:3: 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:3: 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:41: 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:17: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv6/mip6.c: In function 'mip6_destopt_reject': /kisskb/src/net/ipv6/mip6.c:234:13: 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:29: 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:40: 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 { | ^~~~~~~~~~~~ In file included 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/net/ipv6.h:147:8: note: defined here 147 | struct frag_hdr { | ^~~~~~~~ /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:16: 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:16: 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); | ^~~~~~~~~~~~~~~~ /kisskb/src/net/netfilter/nfnetlink_queue.c: In function 'nfqnl_build_packet_message': /kisskb/src/net/netfilter/nfnetlink_queue.c:493:20: 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/sctp/sm_statefuns.c: In function 'sctp_sf_do_5_1D_ce': /kisskb/src/net/sctp/sm_statefuns.c:780:14: 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:11: 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:14: 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:14: 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/mfd/cros_ec.c: In function 'cros_ec_sleep_event': /kisskb/src/drivers/mfd/cros_ec.c:91:34: 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); | ^~~~~~~~ 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:25: 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:25: 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:39: 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:39: 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/net/sctp/sm_make_chunk.c: In function 'sctp_unpack_cookie': /kisskb/src/net/sctp/sm_make_chunk.c:1742:16: 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; | ^~~~~~~~~~ /kisskb/src/net/smc/smc_clc.c: In function 'smc_clc_msg_hdr_valid': /kisskb/src/net/smc/smc_clc.c:55:18: 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:18: 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; | ^~~~~~~~~~~~~~~~~~~ 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: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:20: 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:38: 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:18: 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; | ^~~~~~~~~~~~~~~~~~~ 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:154:8: note: defined here 154 | struct smc_clc_msg_decline { /* clc decline message */ | ^~~~~~~~~~~~~~~~~~~ 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:25: 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:25: 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:39: 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:39: 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_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:25: 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:25: 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:39: 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:39: 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/md/raid5-ppl.c: In function 'ppl_log_stripe': /kisskb/src/drivers/md/raid5-ppl.c:349:15: 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:16: 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); | ^~~~~~~~~~~ /kisskb/src/net/sctp/socket.c: In function 'sctp_setsockopt_peer_addr_params': /kisskb/src/net/sctp/socket.c:2736:38: 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:37: 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:41: 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:38: 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/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:25: 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:25: 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:39: 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:39: 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:25: 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:25: 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:39: 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:39: 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:25: 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:25: 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:39: 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:39: 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/infiniband/ulp/iser/iser_verbs.c: In function 'iser_post_recvl': /kisskb/src/drivers/infiniband/ulp/iser/iser_verbs.c:1034:14: 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:15: 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:16: 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:17: 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; | ^~~~~~~~~~~~~~~ /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:11: 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:8: 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; | ^~~~~~~~~~~~~~~~~~~ /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:11: 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:19: 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:20: 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:17: 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:18: 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:19: 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:20: 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:20: 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:21: 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:17: 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:27: 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:30: 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:26: 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:26: 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:34: 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:37: 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:31: 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:5: 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:27: 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:31: 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:11: 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:31: 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:5: 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:31: 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:7: 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:31: 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:26: 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:26: 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:31: 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:28: 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:27: 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:9: 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:10: 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:8: 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:14: 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:10: 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/ulp/srpt/ib_srpt.c: In function 'srpt_get_desc_tbl': /kisskb/src/drivers/infiniband/ulp/srpt/ib_srpt.c:1050:39: 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/misc/genwqe/card_ddcb.c: In function 'get_next_ddcb': /kisskb/src/drivers/misc/genwqe/card_ddcb.c:592:2: 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/nfc/st21nfca/dep.c: In function 'st21nfca_im_send_pdu': /kisskb/src/drivers/nfc/st21nfca/dep.c:148:16: 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:12: 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:16: note: in definition of macro '__INIT_WORK' 233 | __init_work((_work), _onstack); \ | ^~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c:676:2: 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:20: 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:2: note: in expansion of macro '__INIT_WORK' 250 | __INIT_WORK((_work), (_func), 0) | ^~~~~~~~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c:676:2: 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:18: 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:2: note: in expansion of macro '__INIT_WORK' 250 | __INIT_WORK((_work), (_func), 0) | ^~~~~~~~~~~ /kisskb/src/drivers/nfc/st21nfca/dep.c:676:2: 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:19: 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); | ^~~~~~~~~~~~~~~~~~~~~~~ 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:15: 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:2: note: in expansion of macro 'le16_to_cpus' 1047 | le16_to_cpus(&mh->NumEraseUnits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1048:15: 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:2: note: in expansion of macro 'le16_to_cpus' 1048 | le16_to_cpus(&mh->FirstPhysicalEUN); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1049:15: 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:2: 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:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1156 | le32_to_cpus(&mh->NoOfBootImageBlocks); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1157:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1157 | le32_to_cpus(&mh->NoOfBinaryPartitions); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1158:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1158 | le32_to_cpus(&mh->NoOfBDTLPartitions); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1159:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1159 | le32_to_cpus(&mh->BlockMultiplierBits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1160:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1160 | le32_to_cpus(&mh->FormatFlags); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1161:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1161 | le32_to_cpus(&mh->PercentUsed); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1198:16: 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:3: note: in expansion of macro 'le32_to_cpus' 1198 | le32_to_cpus(&ip->virtualUnits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1199:16: 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:3: note: in expansion of macro 'le32_to_cpus' 1199 | le32_to_cpus(&ip->firstUnit); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1200:16: 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:3: note: in expansion of macro 'le32_to_cpus' 1200 | le32_to_cpus(&ip->lastUnit); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1201:16: 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:3: note: in expansion of macro 'le32_to_cpus' 1201 | le32_to_cpus(&ip->flags); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1202:16: 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:3: note: in expansion of macro 'le32_to_cpus' 1202 | le32_to_cpus(&ip->spareUnits); | ^~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/diskonchip.c:1203:16: 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:3: note: in expansion of macro 'le32_to_cpus' 1203 | le32_to_cpus(&ip->Reserved0); | ^~~~~~~~~~~~ /kisskb/src/drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_identity': /kisskb/src/drivers/nvme/host/lightnvm.c:476:8: 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 { | ^~~~~~~~~~~~~ /kisskb/src/fs/ntfs/dir.c: In function 'ntfs_lookup_inode_by_name': /kisskb/src/fs/ntfs/dir.c:157:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:43: 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/fs/ntfs/namei.c: In function 'ntfs_lookup': /kisskb/src/fs/ntfs/namei.c:188:16: 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:16: 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:18: warning: converting a packed 'MFT_RECORD' {aka 'struct <anonymous>'} 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:3: warning: converting a packed 'NTFS_BOOT_SECTOR' {aka 'const struct <anonymous>'} 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/drivers/media/i2c/ir-kbd-i2c.c: In function 'zilog_ir_format': /kisskb/src/drivers/media/i2c/ir-kbd-i2c.c:535:28: 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:28: 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/fs/ntfs/unistr.c: In function 'ntfs_file_upcase_value': /kisskb/src/fs/ntfs/unistr.c:220:30: 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:39: 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:15: 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/drivers/media/dvb-frontends/ts2020.c: In function 'ts2020_stat_work': /kisskb/src/drivers/media/dvb-frontends/ts2020.c:446:40: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/wireless/radiotap.c: In function 'ieee80211_radiotap_iterator_init': /kisskb/src/net/wireless/radiotap.c:119:27: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c: In function 'drxk_get_stats': /kisskb/src/drivers/media/dvb-frontends/drxk_hard.c:6550:22: 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/net/ethernet/3com/typhoon.c: In function 'typhoon_poll': /kisskb/src/drivers/net/ethernet/3com/typhoon.c:1735:42: 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:46: 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:9: 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:46: 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:6: 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:39: 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:38: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/oobtest.c:26: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/oobtest.c:26: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~ /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:8: 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/pagetest.c:26: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/pagetest.c:26: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/readtest.c:25: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/speedtest.c:26: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/stresstest.c:25: /kisskb/src/include/linux/module.h:138:7: 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/drivers/mtd/tests/subpagetest.c:25: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/subpagetest.c:25: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/torturetest.c:30: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/torturetest.c:30: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:4: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/mtd_nandecctest.c:4: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/mtd/tests/nandbiterrs.c:46: /kisskb/src/include/linux/module.h:138:7: 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/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:41: 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:41: 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:41: 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/mtd/ubi/fastmap.c: In function 'ubi_attach_fastmap': /kisskb/src/drivers/mtd/ubi/fastmap.c:764:31: 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:34: 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); | ~~~~~~~^~~~~~ /kisskb/src/fs/ocfs2/dir.c: In function '__ocfs2_delete_entry': /kisskb/src/fs/ocfs2/dir.c:1175:18: 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:15: 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:28: 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:28: 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); | ^~~~~~~~~~~ /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:25: 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:24: 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/pwm/pwm-cros-ec.c: In function 'cros_ec_pwm_set_duty': /kisskb/src/drivers/pwm/pwm-cros-ec.c:40:32: 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:32: 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/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/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:17: 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:24: 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:3: 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/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:24: 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/power/supply/max17042_battery.c: In function 'max17042_init_model': /kisskb/src/drivers/power/supply/max17042_battery.c:588:27: 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/media/pci/ivtv/ivtv-ioctl.c: In function 'ivtv_g_register': /kisskb/src/drivers/media/pci/ivtv/ivtv-ioctl.c:733:40: 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/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:30: 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:9: 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:29: 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:8: 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/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:28: 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:7: 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); | ^~~~~~~~~~~~~~~ /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:25: 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:6: 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/platform/mtk-vcodec/mtk_vcodec_enc.c: In function 'vidioc_try_fmt': /kisskb/src/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:319:25: 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:6: 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/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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:197:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:197:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:198:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:198:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:199:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:199:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | bna_stats_copy(rlb, rad); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:200:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | bna_stats_copy(rlb, rad); | ~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:200:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | bna_stats_copy(rlb, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | bna_stats_copy(fc_rx, fc_rx); | ~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:201:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | bna_stats_copy(rlb, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | bna_stats_copy(fc_rx, fc_rx); | ~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:201:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | bna_stats_copy(rlb, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | bna_stats_copy(fc_rx, fc_rx); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | bna_stats_copy(fc_tx, fc_tx); | ~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:202:2: 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:21: 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; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | for (i = 0; i < count; i++) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | stats_dst[i] = be64_to_cpu(stats_src[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | } while (0) \ | ~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | /* | ~~ 80 | * FW response handlers | ~~~~~~~~~~~~~~~~~~~~~~ 81 | */ | ~~ 82 | | 83 | static void | ~~~~~~~~~~~ 84 | bna_bfi_ethport_enable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | { | ~ 87 | ethport->flags |= BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | | 89 | if (ethport_can_be_up(ethport)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | bfa_fsm_send_event(ethport, ETHPORT_E_UP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | } | ~ 92 | | 93 | static void | ~~~~~~~~~~~ 94 | bna_bfi_ethport_disable_aen(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | { | ~ 97 | int ethport_up = ethport_is_up(ethport); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | | 99 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | | 101 | if (ethport_up) | ~~~~~~~~~~~~~~~ 102 | bfa_fsm_send_event(ethport, ETHPORT_E_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | } | ~ 104 | | 105 | static void | ~~~~~~~~~~~ 106 | bna_bfi_ethport_admin_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | { | ~ 109 | struct bfi_enet_enable_req *admin_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | ðport->bfi_enet_cmd.admin_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | | 114 | switch (admin_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | else { | ~~~~~~ 119 | ethport->flags &= ~BNA_ETHPORT_F_PORT_ENABLED; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | } | ~ 122 | break; | ~~~~~~ 123 | | 124 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ethport->link_status = BNA_LINK_DOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | break; | ~~~~~~ 129 | } | ~ 130 | } | ~ 131 | | 132 | static void | ~~~~~~~~~~~ 133 | bna_bfi_ethport_lpbk_rsp(struct bna_ethport *ethport, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | { | ~ 136 | struct bfi_enet_diag_lb_req *diag_lb_req = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | ðport->bfi_enet_cmd.lpbk_req; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | struct bfi_enet_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | container_of(msghdr, struct bfi_enet_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | | 141 | switch (diag_lb_req->enable) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | case BNA_STATUS_T_ENABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | if (rsp->error == BFI_ENET_CMD_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | else { | ~~~~~~ 146 | ethport->flags &= ~BNA_ETHPORT_F_ADMIN_UP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_UP_FAIL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | } | ~ 149 | break; | ~~~~~~ 150 | | 151 | case BNA_STATUS_T_DISABLED: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | bfa_fsm_send_event(ethport, ETHPORT_E_FWRESP_DOWN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | break; | ~~~~~~ 154 | } | ~ 155 | } | ~ 156 | | 157 | static void | ~~~~~~~~~~~ 158 | bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | { | ~ 160 | bfa_fsm_send_event(enet, ENET_E_FWRESP_PAUSE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | } | ~ 162 | | 163 | static void | ~~~~~~~~~~~ 164 | bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | { | ~ 167 | struct bfi_enet_attr_rsp *rsp = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | container_of(msghdr, struct bfi_enet_attr_rsp, mh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | /** | ~~~ 171 | * Store only if not set earlier, since BNAD can override the HW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | * attributes | ~~~~~~~~~~~~ 173 | */ | ~~ 174 | if (!ioceth->attr.fw_query_complete) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | ioceth->attr.num_txq = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | ioceth->attr.num_rxp = ntohl(rsp->max_cfg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | ioceth->attr.max_rit_size = ntohl(rsp->rit_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ioceth->attr.fw_query_complete = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | } | ~ 182 | | 183 | bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | } | ~ 185 | | 186 | static void | ~~~~~~~~~~~ 187 | bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | { | ~ 189 | struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | u64 *stats_src; | ~~~~~~~~~~~~~~~ 191 | u64 *stats_dst; | ~~~~~~~~~~~~~~~ 192 | u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | int count; | ~~~~~~~~~~ 195 | int i; | ~~~~~~ 196 | | 197 | bna_stats_copy(mac, mac); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | bna_stats_copy(bpc, bpc); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | bna_stats_copy(rad, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | bna_stats_copy(rlb, rad); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | bna_stats_copy(fc_rx, fc_rx); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | bna_stats_copy(fc_tx, fc_tx); | ~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/brocade/bna/bna_enet.c:202:2: note: in expansion of macro 'bna_stats_copy' 202 | bna_stats_copy(fc_tx, fc_tx); | ^~~~~~~~~~~~~~ /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:2: 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/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:25: 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:4: 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/rtc/rtc-cros-ec.c: In function 'cros_ec_rtc_get': /kisskb/src/drivers/rtc/rtc-cros-ec.c:45:41: 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:41: 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/net/ppp/pptp.c: In function 'pptp_bind': /kisskb/src/drivers/net/ppp/pptp.c:402:19: 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)) | ^~~~~~~~~~~~~~~~~ /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:2: 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/soc/qcom/smp2p.c: In function 'qcom_smp2p_intr': /kisskb/src/drivers/soc/qcom/smp2p.c:213:20: 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:17: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/ti-vpe/vpe.c: In function '__vpe_try_fmt': /kisskb/src/drivers/media/platform/ti-vpe/vpe.c:1631:24: 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:10: 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, | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_validate_ms': /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c:699:2: 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/net/ethernet/emulex/benet/be_cmds.c: In function 'be_cmd_eq_create': /kisskb/src/drivers/net/ethernet/emulex/benet/be_cmds.c:1011:25: 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:31: 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:25: 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:25: 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:25: 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:31: 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:25: 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:31: 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:25: 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:31: 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:25: 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:31: 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:25: 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:31: 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:25: 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:25: 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:25: 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:25: 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:26: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:16: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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, | ^~~~~~~~~ /kisskb/src/drivers/scsi/be2iscsi/be_main.c: In function 'beiscsi_complete_pdu': /kisskb/src/drivers/scsi/be2iscsi/be_main.c:1443:23: 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: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] 1453 | __iscsi_complete_pdu(conn, (struct iscsi_hdr *)phdr, pdata, dlen); | ^~~~~~~~~ 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/fs/reiserfs/stree.c: In function 'comp_short_le_keys': /kisskb/src/fs/reiserfs/stree.c:104:2: 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:2: 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:7: 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/drivers/scsi/be2iscsi/be_mgmt.c: In function 'mgmt_vendor_specific_fw_cmd': /kisskb/src/drivers/scsi/be2iscsi/be_mgmt.c:60:22: 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:22: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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/net/usb/net1080.c: In function 'net1080_rx_fixup': /kisskb/src/drivers/net/usb/net1080.c:372:25: 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:28: 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/scsi/be2iscsi/be_cmds.c: In function 'beiscsi_cmd_eq_create': /kisskb/src/drivers/scsi/be2iscsi/be_cmds.c:754:21: 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:31: 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:21: 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:31: 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:21: 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:31: 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:21: 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:21: 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:31: 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:21: 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:31: 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:21: 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:31: 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:21: 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:22: 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:32: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:21: 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:22: 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:22: 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/fs/reiserfs/procfs.c: In function 'show_journal': /kisskb/src/fs/reiserfs/procfs.c:312:30: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/fs/sysv/super.c: In function 'detected_xenix': /kisskb/src/fs/sysv/super.c:72:23: 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:19: 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:23: 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:19: 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:23: 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:19: 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:23: 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:19: 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; | ^~~~~~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/media/platform/fsl-viu.c: In function 'viu_start_dma': /kisskb/src/drivers/media/platform/fsl-viu.c:258:11: 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:11: 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:11: 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:23: 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:12: 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:25: 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:13: 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:13: 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:13: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:39: note: in definition of macro 'dprintk' 57 | printk(KERN_DEBUG "viu: " fmt , ## arg); \ | ^~~ /kisskb/src/drivers/media/platform/fsl-viu.c:998:37: 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:39: 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:13: 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:13: 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:13: 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:13: 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:13: 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:13: 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:13: 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:27: 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:39: 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:19: 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:12: 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:19: 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:11: 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:23: 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:11: 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:23: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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:11: 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); | ^~~~~~~~~~~ /kisskb/src/drivers/net/usb/lg-vl600.c: In function 'vl600_rx_fixup': /kisskb/src/drivers/net/usb/lg-vl600.c:131:18: 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:29: 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:18: 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:23: 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:47: 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:20: 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:60: 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/media/platform/renesas-ceu.c: In function '__ceu_try_fmt': /kisskb/src/drivers/media/platform/renesas-ceu.c:842:24: 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:10: 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/media/platform/rcar_jpu.c: In function '__jpu_try_fmt': /kisskb/src/drivers/media/platform/rcar_jpu.c:800:24: 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:24: 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, | ^~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/wan/dscc4.c:85: /kisskb/src/include/linux/module.h:138:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/wan/dscc4.c:85: /kisskb/src/include/linux/module.h:132:6: 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:2: 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: '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/drivers/spi/spi-loopback-test.c:26: /kisskb/src/include/linux/module.h:138:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/spi/spi-loopback-test.c:26: /kisskb/src/include/linux/module.h:132:6: 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:2: 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: '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/fs/udf/balloc.c: In function 'udf_add_free_space': /kisskb/src/fs/udf/balloc.c:101:15: 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/drivers/media/v4l2-core/v4l2-ctrls.c: In function 'validate_ctrls': /kisskb/src/drivers/media/v4l2-core/v4l2-ctrls.c:3554:18: 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:18: 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/fs/udf/ialloc.c: In function 'udf_free_inode': /kisskb/src/fs/udf/ialloc.c:38:17: 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:17: 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:17: 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:17: 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/fs/udf/inode.c: In function '__udf_add_aext': /kisskb/src/fs/udf/inode.c:1952:16: 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:17: 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:17: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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_fcoe.c:17: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/uwb/drp.c: In function 'uwb_drp_availability_process': /kisskb/src/drivers/uwb/drp.c:732:26: 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); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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:20: 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:42: 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:7: 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:20: 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:42: 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:8: 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:20: 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:42: 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:8: 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:16: 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:42: 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:2: 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:7: 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:20: 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:42: 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:7: note: in expansion of macro 'put_user' 1003 | put_user(id, &ucontrols->id) || | ^~~~~~~~ /kisskb/src/drivers/media/v4l2-core/v4l2-compat-ioctl32.c:59:16: 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:42: 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:2: 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:2: 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:7: 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:27: 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:42: 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:39: 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:7: note: in expansion of macro 'assign_in_user_cast' 1004 | assign_in_user_cast(&ucontrols->size, &kcontrols->size) || | ^~~~~~~~~~~~~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/usb/class/usbtmc.c: In function 'usbtmc_ioctl_generic_read': /kisskb/src/drivers/usb/class/usbtmc.c:1030:29: 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:8: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/usb/class/usbtmc.c:1033:6: 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:30: 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, | ^~~~~~~~~~~~~~~~ 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:1245:8: 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:42: note: in definition of macro '__put_user_check' 167 | __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/usb/class/usbtmc.c:1244:6: note: in expansion of macro 'put_user' 1244 | if (put_user(msg.transferred, | ^~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_tx_compl_ind': /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2036:11: 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:35: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/target/target_core_user.c: In function 'queue_cmd_ring': /kisskb/src/drivers/target/target_core_user.c:1031:19: 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:20: 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:18: 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:8: 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:19: 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/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_op_pull_swba_ev': /kisskb/src/drivers/net/wireless/ath/ath10k/wmi.c:3504:5: 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:5: 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:5: 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:21: 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:21: 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/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:29: 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; | ^~~~~~~~~~~ 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:16: 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:3: note: in expansion of macro 'le16_to_cpus' 294 | le16_to_cpus(&temp_desc.bcdUSB); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:295:16: 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:3: note: in expansion of macro 'le16_to_cpus' 295 | le16_to_cpus(&temp_desc.idVendor); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:296:16: 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:3: note: in expansion of macro 'le16_to_cpus' 296 | le16_to_cpus(&temp_desc.idProduct); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:297:16: 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:3: 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:43: 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:24: 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:38: 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:19: 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:33: note: in definition of macro 'dev_info' 1459 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1508:3: note: in expansion of macro 'snoop' 1508 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /kisskb/src/drivers/usb/core/devio.c:1513:19: 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:33: note: in definition of macro 'dev_info' 1459 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1508:3: note: in expansion of macro 'snoop' 1508 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /kisskb/src/drivers/usb/core/devio.c:1514:19: 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:33: note: in definition of macro 'dev_info' 1459 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1508:3: note: in expansion of macro 'snoop' 1508 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ 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:3: 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:13: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 228 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, bp); | ^~~~~~~~~~~~~~~~~~~ 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:3: 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:13: 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:3: 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:13: 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:3: 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:13: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 3151 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, agflbp); | ^~~~~~~~~~~~~~~~~~~ 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/fcoe/fcoe_ctlr.c:22: In function 'memset', inlined from 'fcoe_ctlr_vn_parse' at /kisskb/src/drivers/scsi/fcoe/fcoe_ctlr.c:2296:2, inlined from 'fcoe_ctlr_vn_recv' at /kisskb/src/drivers/scsi/fcoe/fcoe_ctlr.c:2769:7: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [569, 600] from the object at 'buf' is out of the bounds of referenced subobject 'rdata' with type 'struct fc_rport_priv' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'fcoe_ctlr_vlan_parse' at /kisskb/src/drivers/scsi/fcoe/fcoe_ctlr.c:2827:2, inlined from 'fcoe_ctlr_vlan_recv' at /kisskb/src/drivers/scsi/fcoe/fcoe_ctlr.c:3002:7: /kisskb/src/include/linux/string.h:337:9: warning: '__builtin_memset' offset [569, 600] from the object at 'buf' is out of the bounds of referenced subobject 'rdata' with type 'struct fc_rport_priv' at offset 0 [-Warray-bounds] 337 | return __builtin_memset(p, c, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_ioctl_handler': /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1450:25: 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:13: 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:19: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1910 | a->ppvda_buffer = dma_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:20: 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:20: 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:20: 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:20: 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:20: 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:20: 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:20: 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:20: 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); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c: In function 'b43_generate_txhdr': /kisskb/src/drivers/net/wireless/broadcom/b43/xmit.c:457:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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:6: 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); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/drivers/tty/serial/xilinx_uartps.c: In function 'cdns_uart_console_write': /kisskb/src/include/linux/spinlock.h:279:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] 279 | _raw_spin_unlock_irqrestore(lock, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/serial/xilinx_uartps.c:1177:16: note: 'flags' was declared here 1177 | unsigned long flags; | ^~~~~ /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:2: 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/cisco/airo.c: In function 'airo_read_stats': /kisskb/src/drivers/net/wireless/cisco/airo.c:2240:17: 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:3: 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:16: 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:4: warning: converting a packed 'MICBuffer' {aka 'struct 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:3: warning: converting a packed 'MICBuffer' {aka 'struct 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:17: 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:17: 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; | ^~~~~~~~~ /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:4: 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:3: 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:2: 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:2: 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; | ^~~~~ 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: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:2: 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; | ^~~~~ 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: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:2: 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; | ^~~~~ 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:739:8: note: defined here 739 | struct vxge_hw_xmac_port_stats { | ^~~~~~~~~~~~~~~~~~~~~~~ /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:2: 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/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:2: 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 { | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'map_sg_data': /kisskb/src/drivers/scsi/ibmvscsi/ibmvscsi.c:724:9: 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]); | ^~~~~~~~~~~~~~~~~~~~~~~ /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:17: 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); | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi_tgt/libsrp.c: In function 'srp_indirect_data': /kisskb/src/drivers/scsi/ibmvscsi_tgt/libsrp.c:222:8: 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:33: 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, | ^~~~~~~~~~~~~~~ /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:58: 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:17: 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/wireless/ath/wcn36xx/main.c: In function 'wcn36xx_update_allowed_rates': /kisskb/src/drivers/net/wireless/ath/wcn36xx/main.c:722:16: 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:16: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/wcn36xx/smd.c: In function 'wcn36xx_smd_feature_caps_exchange': /kisskb/src/drivers/net/wireless/ath/wcn36xx/smd.c:2058:24: 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); | ~~~~~~~~^~~~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/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:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1166 | le32_to_cpus(&r->base); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1167:15: 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:2: 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:15: 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:2: note: in expansion of macro 'le16_to_cpus' 1168 | le16_to_cpus(&r->size); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1169:15: 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:2: note: in expansion of macro 'le32_to_cpus' 1169 | le32_to_cpus(&r->tail); | ^~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/wil6210/main.c:1170:15: 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:2: 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:16: 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:3: 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:16: 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:3: 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:16: 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:3: 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:16: 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:3: 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:16: 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:3: 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:16: 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:3: note: in expansion of macro 'le16_to_cpus' 1226 | le16_to_cpus(&bl.bl1.bl_version_build); | ^~~~~~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:7: 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:7: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/ath/wil6210/debugfs.c: In function 'wil_txdesc_debugfs_show': /kisskb/src/drivers/net/wireless/ath/wil6210/debugfs.c:1107:2: 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 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/broadcom/brcm80211/brcmsmac/ampdu.c: In function 'brcms_c_ampdu_finalize': /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c:687:8: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/nozomi.c: In function 'receive_flow_control': /kisskb/src/drivers/tty/nozomi.c:892:2: 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:18: 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:2: 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/net/wireless/intel/iwlegacy/4965-mac.c: In function 'il4965_accumulative_stats': /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-mac.c:1342:26: 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:24: 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:18: 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:22: 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:43: 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:48: 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, | ~~~~~~~~~~~~~^~~~~~~ /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:3: 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:9: 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/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:15: 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/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:39: 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:39: 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/intel/iwlegacy/4965-calib.c: In function 'il4965_sensitivity_write': /kisskb/src/drivers/net/wireless/intel/iwlegacy/4965-calib.c:408:50: 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/net/wireless/intel/iwlegacy/3945.c: In function 'il3945_hdl_stats': /kisskb/src/drivers/net/wireless/intel/iwlegacy/3945.c:427:43: 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:28: 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:11: 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:48: 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/staging/fwserial/fwserial.c: In function 'fill_plug_req': /kisskb/src/drivers/staging/fwserial/fwserial.c:1614:19: 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:19: 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:2: 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:38: 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/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: /kisskb/src/drivers/tty/ehv_bytechan.c: In function 'ehv_bc_udbg_putc': /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:298:20: 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:7: note: in expansion of macro 'be32_to_cpu' 298 | r6 = be32_to_cpu(p[1]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: while referencing 'data' 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ 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: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:299:20: 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:7: note: in expansion of macro 'be32_to_cpu' 299 | r7 = be32_to_cpu(p[2]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: while referencing 'data' 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ 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: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:300:20: 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:7: note: in expansion of macro 'be32_to_cpu' 300 | r8 = be32_to_cpu(p[3]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: while referencing 'data' 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ 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: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:298:20: 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:7: note: in expansion of macro 'be32_to_cpu' 298 | r6 = be32_to_cpu(p[1]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: while referencing 'data' 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ 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: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:299:20: 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:7: note: in expansion of macro 'be32_to_cpu' 299 | r7 = be32_to_cpu(p[2]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: while referencing 'data' 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ 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: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:300:20: 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:7: note: in expansion of macro 'be32_to_cpu' 300 | r8 = be32_to_cpu(p[3]); | ^~~~~~~~~~~ /kisskb/src/drivers/tty/ehv_bytechan.c:166:13: note: while referencing 'data' 166 | static void ehv_bc_udbg_putc(char c) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:6: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/gdm724x/gdm_usb.c:6: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:6: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/gdm724x/gdm_mux.c:6: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~ /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:42: 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:37: 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:37: 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/dvm/calib.c: In function 'iwl_sensitivity_write': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/calib.c:481:49: 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:49: 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/usb/gadget/function/f_tcm.c: In function 'usbg_submit_command': /kisskb/src/drivers/usb/gadget/function/f_tcm.c:1117:26: 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); | ^~~~~~~~~~~~ /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:25: 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:25: 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/intel/iwlwifi/dvm/rx.c: In function 'iwlagn_accumulative_statistics': /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:2: 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:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:2: note: in expansion of macro 'ACCUM' 333 | ACCUM(common); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:2: note: in expansion of macro 'ACCUM' 333 | ACCUM(common); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:333:2: note: in expansion of macro 'ACCUM' 333 | ACCUM(common); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:2: 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); | ^~~~~ 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:2554:8: note: defined here 2554 | struct statistics_rx_non_phy { | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:2: note: in expansion of macro 'ACCUM' 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:2: note: in expansion of macro 'ACCUM' 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:334:2: note: in expansion of macro 'ACCUM' 334 | ACCUM(rx_non_phy); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:2: 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); | ^~~~~ 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:2516:8: note: defined here 2516 | struct statistics_rx_phy { | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:2: note: in expansion of macro 'ACCUM' 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:2: note: in expansion of macro 'ACCUM' 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:335:2: note: in expansion of macro 'ACCUM' 335 | ACCUM(rx_ofdm); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:2: 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); | ^~~~~ 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:2539:8: note: defined here 2539 | struct statistics_rx_ht_phy { | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:2: note: in expansion of macro 'ACCUM' 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:2: note: in expansion of macro 'ACCUM' 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:336:2: note: in expansion of macro 'ACCUM' 336 | ACCUM(rx_ofdm_ht); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:2: 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); | ^~~~~ 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:2516:8: note: defined here 2516 | struct statistics_rx_phy { | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:2: note: in expansion of macro 'ACCUM' 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:2: note: in expansion of macro 'ACCUM' 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:337:2: note: in expansion of macro 'ACCUM' 337 | ACCUM(rx_cck); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:2: 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); | ^~~~~ 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:2635:8: note: defined here 2635 | struct statistics_tx { | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~~~ 338 | ACCUM(tx); | ~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:2: note: in expansion of macro 'ACCUM' 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~~~ 338 | ACCUM(tx); | ~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:2: note: in expansion of macro 'ACCUM' 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~~~ 338 | ACCUM(tx); | ~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:338:2: note: in expansion of macro 'ACCUM' 338 | ACCUM(tx); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:3: 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); | ^~~~~ 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:2688:8: note: defined here 2688 | struct statistics_bt_activity { | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:328:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | (__le32 *)&priv->max_delta_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~~~ 338 | ACCUM(tx); | ~~~~~~~~~~ 339 | if (bt_activity) | ~~~~~~~~~~~~~~~~ 340 | ACCUM(bt_activity); | ~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:3: note: in expansion of macro 'ACCUM' 340 | ACCUM(bt_activity); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:329:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | (__le32 *)&priv->accum_stats._name, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~~~ 338 | ACCUM(tx); | ~~~~~~~~~~ 339 | if (bt_activity) | ~~~~~~~~~~~~~~~~ 340 | ACCUM(bt_activity); | ~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:3: note: in expansion of macro 'ACCUM' 340 | ACCUM(bt_activity); | ^~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:330:17: 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, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | sizeof(*_name)); | ~~~~~~~~~~~~~~~~ 332 | | 333 | ACCUM(common); | ~~~~~~~~~~~~~~ 334 | ACCUM(rx_non_phy); | ~~~~~~~~~~~~~~~~~~ 335 | ACCUM(rx_ofdm); | ~~~~~~~~~~~~~~~ 336 | ACCUM(rx_ofdm_ht); | ~~~~~~~~~~~~~~~~~~ 337 | ACCUM(rx_cck); | ~~~~~~~~~~~~~~ 338 | ACCUM(tx); | ~~~~~~~~~~ 339 | if (bt_activity) | ~~~~~~~~~~~~~~~~ 340 | ACCUM(bt_activity); | ~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intel/iwlwifi/dvm/rx.c:340:3: 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:10: 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:10: 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/net/ethernet/sfc/falcon/falcon.c: In function 'falcon_read_nvram': /kisskb/src/drivers/net/ethernet/sfc/falcon/falcon.c:1831:10: 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/staging/greybus/authentication.c: In function 'cap_ioctl': /kisskb/src/drivers/staging/greybus/authentication.c:232:12: 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:12: 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/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:25: 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:25: 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:2: 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:25: 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/usb/host/whci/asl.c: In function 'asl_qset_insert': /kisskb/src/drivers/usb/host/whci/asl.c:50:24: 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:24: 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:24: 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); | ^~~~~~~~~~~~~~ /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:19: 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/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:22: 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/wireless/intel/iwlwifi/mvm/mac80211.c: In function 'iwl_mvm_get_regdomain': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:309:15: 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/usb/host/whci/pzl.c: In function 'update_pzl_hw_view': /kisskb/src/drivers/usb/host/whci/pzl.c:202:26: 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); | ^~~~~~~~~~~~~~ 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:16: 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:3: note: in expansion of macro 'le16_to_cpus' 1787 | le16_to_cpus(&u.r.wValue); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/net2272.c:1788:16: 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:3: note: in expansion of macro 'le16_to_cpus' 1788 | le16_to_cpus(&u.r.wIndex); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/net2272.c:1789:16: 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:3: note: in expansion of macro 'le16_to_cpus' 1789 | le16_to_cpus(&u.r.wLength); | ^~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/net2280.c: In function 'out_flush': /kisskb/src/drivers/usb/gadget/udc/net2280.c:674:10: 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:12: 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/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:12: 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/usb/host/oxu210hp-hcd.c: In function 'oxu_hub_control': /kisskb/src/drivers/usb/host/oxu210hp-hcd.c:3136:28: 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:22: 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:14: 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; | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/snps_udc_core.c: In function 'init_dma_pools': /kisskb/src/drivers/usb/gadget/udc/snps_udc_core.c:3112:30: 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/fs/xfs/xfs_ioctl.c: In function 'xfs_handle_to_dentry': /kisskb/src/fs/xfs/xfs_ioctl.c:174:4: 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/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:33: 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:7: 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:33: 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:7: 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:33: 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:7: 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, | ^~~~~~~~~~~~~~~~~~~~ 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: note: in expansion of macro 'le16_to_cpus' 114 | le16_to_cpus(&sta_id.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c: In function 'lpfc_bsg_hba_set_event': /kisskb/src/drivers/scsi/lpfc/lpfc_bsg.c:1228:3: 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:3: 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:3: 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:3: 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:3: 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:4: 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:5: 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:28: 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:28: 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/usb/gadget/udc/goku_udc.c: In function 'udc_reinit': /kisskb/src/drivers/usb/gadget/udc/goku_udc.c:1265:18: 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:20: 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:18: 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]; | ^~~~~~~~~~~~~~~~~~~~~~ /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:28: 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:29: 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:5: 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:3: 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:3: 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:3: 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; | ^~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/m66592-udc.c: In function 'setup_packet': /kisskb/src/drivers/usb/gadget/udc/m66592-udc.c:1086:2: 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/media/usb/gspca/sn9c20x.c: In function 'sd_dbg_g_register': /kisskb/src/drivers/media/usb/gspca/sn9c20x.c:1565:40: 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); | ^~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/r8a66597-udc.c: In function 'setup_packet': /kisskb/src/drivers/usb/gadget/udc/r8a66597-udc.c:1287:2: 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/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:19: 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:22: 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:19: 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:22: 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/orinoco/scan.c: In function 'orinoco_add_hostscan_result': /kisskb/src/drivers/net/wireless/intersil/orinoco/scan.c:101:47: 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); | ~~~~~~^~~~~~ /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:2: 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 { | ^~~~~~~~~~~~~~~ /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:48: 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:13: 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); | ^~~~~~~~~~~~~~ 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_set_fw_loopback': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:718:46: 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); | ^~~~~~~~~~~~~~ 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_set_rx_coalesce': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:791:46: 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); | ^~~~~~~~~~~~~~ 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_config_hw_lro': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:848:46: 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); | ^~~~~~~~~~~~~~ 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_config_bridged_mode': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:875:46: 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); | ^~~~~~~~~~~~~~ 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_config_rss': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:933:46: 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); | ^~~~~~~~~~~~~~ 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_config_ipaddr': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:955:32: 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:46: 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); | ^~~~~~~~~~~~~~ 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_linkevent_request': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:976:46: 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); | ^~~~~~~~~~~~~~ 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_send_lro_cleanup': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:1002:46: 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); | ^~~~~~~~~~~~~~ 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_config_led': /kisskb/src/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:1557:46: 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); | ^~~~~~~~~~~~~~ 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/usb/host/xhci-dbgcap.c: In function 'xhci_dbc_populate_strings': /kisskb/src/drivers/usb/host/xhci-dbgcap.c:46:36: 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:36: 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:36: 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, | ^~~~~~ /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:28: 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:33: 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:16: 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:21: 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:23: 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:3: 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:23: 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:3: 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:23: 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:3: 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:23: 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:3: 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:23: 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:3: note: in expansion of macro 'le16_to_cpus' 4725 | le16_to_cpus((u16 *)&ci->adapter_operations4); | ^~~~~~~~~~~~ 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:32: 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:42: 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:6: 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:29: 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:42: 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:3: 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:28: 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:42: 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:3: 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:21: 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:42: 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:7: 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:33: 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:42: 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:7: note: in expansion of macro 'put_user' 7541 | put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) || | ^~~~~~~~ /kisskb/src/drivers/usb/gadget/composite.c: In function 'bos_desc': /kisskb/src/drivers/usb/gadget/composite.c:628:15: 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:16: 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:16: 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:23: 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:24: 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:25: 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:23: 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/net/wireless/intel/iwlwifi/mvm/quota.c: In function 'iwl_mvm_update_quotas': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/quota.c:310:17: 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:16: 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); | ^~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_parse_firmware': /kisskb/src/drivers/net/wireless/intersil/p54/fwio.c:59:11: 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/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdUSB_show': /kisskb/src/drivers/usb/gadget/configfs.c:142:16: 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)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | } | ~ 144 | | 145 | | 146 | #define GI_DEVICE_DESC_SIMPLE_W_u8(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 149 | { \ | ~~~~~~~~~ 150 | u8 val; \ | ~~~~~~~~~~~~~~ 151 | int ret; \ | ~~~~~~~~~~~~~~ 152 | ret = kstrtou8(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | if (ret) \ | ~~~~~~~~~~~~~~ 154 | return ret; \ | ~~~~~~~~~~~~~~~~ 155 | to_gadget_info(item)->cdev.desc._name = val; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | return len; \ | ~~~~~~~~~~~~~~~~~ 157 | } | ~ 158 | | 159 | #define GI_DEVICE_DESC_SIMPLE_W_u16(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 162 | { \ | ~~~~~~~~~ 163 | u16 val; \ | ~~~~~~~~~~~~~~ 164 | int ret; \ | ~~~~~~~~~~~~~~ 165 | ret = kstrtou16(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | if (ret) \ | ~~~~~~~~~~~~~~ 167 | return ret; \ | ~~~~~~~~~~~~~~~~ 168 | to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | return len; \ | ~~~~~~~~~~~~~~~~~ 170 | } | ~ 171 | | 172 | #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | GI_DEVICE_DESC_SIMPLE_W_##_type(_name) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | | 176 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:16: 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:2: 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:16: 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:2: 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:16: 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)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | } | ~ 144 | | 145 | | 146 | #define GI_DEVICE_DESC_SIMPLE_W_u8(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 149 | { \ | ~~~~~~~~~ 150 | u8 val; \ | ~~~~~~~~~~~~~~ 151 | int ret; \ | ~~~~~~~~~~~~~~ 152 | ret = kstrtou8(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | if (ret) \ | ~~~~~~~~~~~~~~ 154 | return ret; \ | ~~~~~~~~~~~~~~~~ 155 | to_gadget_info(item)->cdev.desc._name = val; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | return len; \ | ~~~~~~~~~~~~~~~~~ 157 | } | ~ 158 | | 159 | #define GI_DEVICE_DESC_SIMPLE_W_u16(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 162 | { \ | ~~~~~~~~~ 163 | u16 val; \ | ~~~~~~~~~~~~~~ 164 | int ret; \ | ~~~~~~~~~~~~~~ 165 | ret = kstrtou16(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | if (ret) \ | ~~~~~~~~~~~~~~ 167 | return ret; \ | ~~~~~~~~~~~~~~~~ 168 | to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | return len; \ | ~~~~~~~~~~~~~~~~~ 170 | } | ~ 171 | | 172 | #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | GI_DEVICE_DESC_SIMPLE_W_##_type(_name) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | | 176 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceClass, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceSubClass, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceProtocol, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | GI_DEVICE_DESC_SIMPLE_RW(bMaxPacketSize0, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:12: 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:22: 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:2: note: in expansion of macro 'cpu_to_le32s' 1080 | cpu_to_le32s((u32 *)&init_frame->driver_operations.mfi_capabilities); | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c: In function 'MR_LdRaidGet': /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:117:9: 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:9: 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:9: 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: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] 185 | struct MR_DRV_RAID_MAP *pDrvRaidMap = &drv_map->raidMap; | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/megaraid/megaraid_sas_fp.c:286:16: 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: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] 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:12: 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:12: 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:12: 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]; | ~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sun/niu.c: In function 'niu_compute_tx_flags': /kisskb/src/drivers/net/ethernet/sun/niu.c:6555:36: 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] 6555 | struct vlan_ethhdr *vp = (struct vlan_ethhdr *) ehdr; | ^~~~~~~~~~~ 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/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/sun/niu.c:14: /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/sun/niu.c:23: /kisskb/src/include/linux/if_vlan.h:51:8: note: defined here 51 | struct vlan_ethhdr { | ^~~~~~~~~~~ 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:17: 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:4: 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:17: 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:4: note: in expansion of macro 'le32_to_cpus' 91 | le32_to_cpus(&h->length); | ^~~~~~~~~~~~ /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:12: 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/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:3: 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:13: note: in expansion of macro 'XFS_BUF_TO_AGFL_BNO' 614 | agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, agfl_bp); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/mwl8k.c: In function 'rxq_process': /kisskb/src/drivers/net/wireless/marvell/mwl8k.c:1352:8: 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:7: 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/intel/iwlwifi/mvm/offloading.c: In function 'iwl_mvm_send_proto_offload': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/offloading.c:156:23: 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/ethernet/tehuti/tehuti.c: In function 'bdx_tx_map_skb': /kisskb/src/drivers/net/ethernet/tehuti/tehuti.c:1492:20: warning: taking address of packed member of 'struct txd_desc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1492 | struct pbl *pbl = &txdd->pbl[0]; | ^~~~~~~~~~~~~ /kisskb/src/drivers/usb/misc/usbtest.c: In function 'get_maxpacket': /kisskb/src/drivers/usb/misc/usbtest.c:347:22: 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/net/wireless/marvell/mwifiex/wmm.c: In function 'mwifiex_ret_wmm_get_status': /kisskb/src/drivers/net/wireless/marvell/mwifiex/wmm.c:946:5: 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/intel/iwlwifi/mvm/d3.c: In function 'iwl_mvm_wowlan_program_keys': /kisskb/src/drivers/net/wireless/intel/iwlwifi/mvm/d3.c:264:43: 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:38: 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:38: 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/scsi/osd/osd_initiator.c: In function 'osd_req_decode_sense_full': /kisskb/src/drivers/scsi/osd/osd_initiator.c:1857:35: 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; | ^~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:34: /kisskb/src/include/linux/module.h:138:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/qlogic_stub.c:34: /kisskb/src/include/linux/module.h:132:6: 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:2: 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: '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:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/aha152x_stub.c:37: /kisskb/src/include/linux/module.h:132:6: 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:2: 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: '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); | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/storage/uas.c: In function 'uas_sense': /kisskb/src/drivers/usb/storage/uas.c:158:31: 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:21: 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; | ^~~~~~~~ /kisskb/src/drivers/usb/typec/tcpm/tcpm.c: In function 'tcpm_pd_data_request': /kisskb/src/drivers/usb/typec/tcpm/tcpm.c:1635:36: 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:30: 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/net/wireless/marvell/mwifiex/scan.c: In function 'mwifiex_scan_channel_list': /kisskb/src/drivers/net/wireless/marvell/mwifiex/scan.c:697:27: 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:27: 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:26: 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:25: 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); | ^~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:51: /kisskb/src/include/linux/module.h:138:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/pcmcia/sym53c500_cs.c:51: /kisskb/src/include/linux/module.h:132:6: 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:2: 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: '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/wireless/intel/iwlwifi/iwl-nvm-parse.c: In function 'iwl_get_nvm': /kisskb/src/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1411:19: 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, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/intel/iwlwifi/pcie/tx.c: In function 'iwl_fill_data_tbs_amsdu': /kisskb/src/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2132:15: 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:16: 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); | ^~~~~~~~~~~~ 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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_fip.c:11: /kisskb/src/include/scsi/fc_encode.h: In function 'fc_plogi_fill': /kisskb/src/include/scsi/fc_encode.h:546:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/marvell/mwifiex/sta_cmd.c: In function 'mwifiex_cmd_mac_control': /kisskb/src/drivers/net/wireless/marvell/mwifiex/sta_cmd.c:81:45: 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:26: 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:26: 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:26: 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:26: 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:11: 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:26: 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:25: 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:25: 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:25: 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:25: 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:25: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/marvell/mwifiex/uap_cmd.c: In function 'mwifiex_cmd_uap_sys_config': /kisskb/src/drivers/net/wireless/marvell/mwifiex/uap_cmd.c:726:12: 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/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8187se_interrupt': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:386:31: 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:26: 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:27: 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:31: 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:26: 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:26: 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:26: 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:26: 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:27: 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:27: 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:27: 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:27: 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:32: 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:27: 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:27: 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:27: 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:34: 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:27: 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:26: 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:27: 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:27: 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:27: 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:27: 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:27: 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:27: 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:27: 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:26: 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:27: 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:27: 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:27: 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:27: 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:27: 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:27: 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:34: 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:27: 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:27: 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:27: 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:26: 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:31: 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:26: 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:32: 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:38: 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:27: 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:27: 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:27: 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:27: 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:26: 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:29: 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:31: 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/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:8: 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:7: 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:7: 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:7: 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:7: 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:7: 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/marvell/mwifiex/ie.c: In function 'mwifiex_update_autoindex_ies': /kisskb/src/drivers/net/wireless/marvell/mwifiex/ie.c:134:26: 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:26: 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:26: 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:26: 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:26: 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); | ^~~~~~~~~~~~~~ /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:33: 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:33: 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:26: 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:33: 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:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:26: 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:33: 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:33: 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:33: 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:26: 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:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:26: 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:26: 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:27: 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:27: 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:27: 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:27: 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:30: 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:27: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:25: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:25: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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/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:15: 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:16: 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/wireless/realtek/rtl818x/rtl8180/sa2400.c: In function 'write_sa2400': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c:58:22: 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:35: 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:27: 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:27: 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/realtek/rtl818x/rtl8180/max2820.c: In function 'write_max2820': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c:57:22: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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:39: 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:36: 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:30: 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:36: 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:6: 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); | ^~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7: /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:2: 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); | ^~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7: /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:6: 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); | ^~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7: /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:2: 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); | ^~~~ In file included from /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:7: /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:39: 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:30: 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:30: 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:30: 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:39: 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:28: note: in expansion of macro 'MAILBOX_REG' 227 | (uint16_t __iomem *)MAILBOX_REG(ha, ®->isp, 8); | ^~~~~~~~~~~ /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:22: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~ /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:25: 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, | ^~~~~~~~~~ /kisskb/src/drivers/media/usb/uvc/uvc_ctrl.c: In function 'uvc_ctrl_get': /kisskb/src/drivers/media/usb/uvc/uvc_ctrl.c:1573:46: 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); | ^~~~~~~~~~~~~ /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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:27: 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:27: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:32: 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:38: 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:31: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:32: 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:29: 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:34: 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/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:3: 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:8: 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:3: 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:8: note: in expansion of macro 'ISP_REQ_Q_OUT' 2135 | ISP_REQ_Q_OUT(ha, ®->isp)); | ^~~~~~~~~~~~~ /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:33: 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:33: 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:26: 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:33: 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:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:33: 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:33: 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:33: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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:33: 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:33: 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:33: 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:26: 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:26: 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:26: 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:26: 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:28: 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:27: 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:27: 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:28: 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:26: 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:26: 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:26: 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:27: 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:27: 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:27: 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:27: 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:30: 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:27: 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:26: 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:26: 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:26: 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:26: 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:26: 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:26: 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, | ^~~~~~~~~~~~~~~~~~~~~ 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:39: 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:31: note: in expansion of macro 'MAILBOX_REG' 290 | wptr = (uint16_t __iomem *)MAILBOX_REG(ha, reg, 8); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c: In function 'qla2xxx_read_window': /kisskb/src/drivers/scsi/qla2xxx/qla_dbg.c:458:30: 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:13: 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:13: 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:13: 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:15: 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:13: 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:39: 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:13: note: in expansion of macro 'MAILBOX_REG' 2739 | mbx_reg = MAILBOX_REG(ha, reg, 0); | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_def.h:844:30: 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:13: note: in expansion of macro 'MAILBOX_REG' 2739 | mbx_reg = MAILBOX_REG(ha, reg, 0); | ^~~~~~~~~~~ /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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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:18: 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/scsi/qla2xxx/qla_bsg.c: In function 'qla2x00_bsg_sp_free': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:39:7: 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:4: 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:6: 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:49: 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:49: 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:18: 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; | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_mr.c: In function 'qlafx00_fxdisc_iocb': /kisskb/src/drivers/scsi/qla2xxx/qla_mr.c:3317:4: 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_minidump_process_rdmem': /kisskb/src/drivers/scsi/qla2xxx/qla_nx2.c:2362:18: 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:22: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:569:8: note: defined here 569 | struct qla8044_pex_dma_descriptor { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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:12: 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, from /kisskb/src/drivers/scsi/qla2xxx/qla_target.c:42: /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:14: 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; | ^~~~~ /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:18: 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:18: 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:20: 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:18: 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:18: 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/staging/rtl8188eu/core/rtw_cmd.c: In function 'rtw_joinbss_cmd': /kisskb/src/drivers/staging/rtl8188eu/core/rtw_cmd.c:456:39: 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); | ^~~~~~~~~~~~~~~~~~~~~~~ /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:25: 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 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:47: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:34: 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:7: 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:7: 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:7: 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, | ^~~~~~~~~~~~~~~~~~~~~~~~ /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:28: 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 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:7: 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:2: 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, from /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:9: /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) | ^~~~~~~~~~~~~~~~~ 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:132:6: 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:2: 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, from /kisskb/src/drivers/staging/rtl8188eu/os_dep/usb_intf.c:9: /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/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_convert_fw_status': /kisskb/src/drivers/net/wireless/ti/wl18xx/main.c:1203:28: 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; | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:36: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_module.c:36: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~ 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:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~ 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:132:6: 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:2: 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: '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/net/wireless/ti/wlcore/cmd.c: In function 'wl1271_cmd_build_arp_rsp': /kisskb/src/drivers/net/wireless/ti/wlcore/cmd.c:1254:12: 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/megaraid.c: In function 'mega_build_cmd': /kisskb/src/drivers/scsi/megaraid.c:721:5: 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:27: 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:6: 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:5: 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:27: 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:5: 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:28: 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:58: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid.c:3547:8: 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:58: 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:42: note: in definition of macro '__get_user_check' 277 | __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ | ^~~ /kisskb/src/drivers/scsi/megaraid.c:3564:8: note: in expansion of macro 'get_user' 3564 | if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) | ^~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:12: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:12: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:14: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_tkip.c:14: /kisskb/src/include/linux/module.h:138:7: 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:6: 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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/staging/rtl8192e/rtllib_crypt_wep.c:13: /kisskb/src/include/linux/module.h:138:7: 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) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_handle_config_change': /kisskb/src/drivers/scsi/ipr.c:1453:22: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ipr.c: In function 'ipr_log_sis64_fabric_error': /kisskb/src/drivers/scsi/ipr.c:2401:23: 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/scsi/ipr.c: In function 'ipr_dump_ioa_type_data': /kisskb/src/drivers/scsi/ipr.c:3067:26: 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:26: 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:26: 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:26: 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:11: 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:8: 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:20: 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; | ^~~~~~~~~ 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:7: 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) | ^~~~~~~~~~~~~~~~~~~~~~~ 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:132:6: 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/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:28: 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/drivers/scsi/qlogicfas408.c:42: /kisskb/src/include/linux/module.h:132:6: 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) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/qlogicfas408.c:42: /kisskb/src/include/linux/module.h:138:7: 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/rtlwifi/base.c: In function 'rtl_action_proc': /kisskb/src/drivers/staging/rtlwifi/base.c:1403:16: 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:13: 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:13: 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:13: 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/net/wireless/realtek/rtlwifi/base.c: In function 'rtl_action_proc': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/base.c:1439:16: 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:13: 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:13: 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]; | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtlwifi/core.c: In function 'rtl_op_sta_add': /kisskb/src/drivers/staging/rtlwifi/core.c:868:17: 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:12: 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); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/core/rtw_cmd.c: In function 'rtw_joinbss_cmd': /kisskb/src/drivers/staging/rtl8723bs/core/rtw_cmd.c:899:57: 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:41: 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:57: 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/net/wireless/realtek/rtlwifi/core.c: In function 'rtl_op_sta_add': /kisskb/src/drivers/net/wireless/realtek/rtlwifi/core.c:918:17: 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:12: 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/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:7: 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:2: 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, from /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:15: /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); | ^~~~~~~~~~~~~~~~~ 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:132:6: 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:2: 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, from /kisskb/src/drivers/staging/rtlwifi/rtl8822be/sw.c:15: /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); | ^~~~~~~~~~~~~~~~~ /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:56: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:35: 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:35: 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:35: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vme/devices/vme_user.c: In function 'vme_user_ioctl': /kisskb/src/drivers/staging/vme/devices/vme_user.c:327:7: 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:7: 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:7: 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:21: 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:7: 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:22: 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:13: 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:28: 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:13: 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:13: 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:28: 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/drivers/staging/vt6655/device.h:19, from /kisskb/src/drivers/staging/vt6655/device_main.c:38: /kisskb/src/include/linux/module.h:138:7: 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:2: 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, from /kisskb/src/drivers/staging/vt6655/device_main.c:38: /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); | ^~~~~~~~~~~~~~~~~ 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:132:6: 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:2: 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, from /kisskb/src/drivers/staging/vt6655/device_main.c:38: /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); | ^~~~~~~~~~~~~~~~~ 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:7: 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:2: 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); | ^~~~~~~~~~~~~~~~~ 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:132:6: 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:2: 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: '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); | ^~~~~~~~~~~~~~~~~ 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:6: 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:2: 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); | ^~~~~~~~~~~~~~~~ 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:138:7: 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:2: 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: '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); | ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/vt6656/rxtx.c: In function 'vnt_rxtx_datahead_g': /kisskb/src/drivers/staging/vt6656/rxtx.c:297:56: 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:56: 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:56: 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:56: 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:37: 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:37: 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:37: 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:37: 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:13: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:15: 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:2: 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:21: 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:21: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/prism2sta.c: In function 'prism2sta_inf_assocstatus': /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1474:15: 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:2: note: in expansion of macro 'le16_to_cpus' 1474 | le16_to_cpus(&rec.assocstatus); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2sta.c:1475:15: 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:2: 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:15: 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:2: 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:17: 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:4: note: in expansion of macro 'le16_to_cpus' 621 | le16_to_cpus(&nicid.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:622:17: 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:4: note: in expansion of macro 'le16_to_cpus' 622 | le16_to_cpus(&nicid.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:623:17: 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:4: note: in expansion of macro 'le16_to_cpus' 623 | le16_to_cpus(&nicid.major); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:624:17: 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:4: note: in expansion of macro 'le16_to_cpus' 624 | le16_to_cpus(&nicid.minor); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:630:17: 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:4: note: in expansion of macro 'le16_to_cpus' 630 | le16_to_cpus(&rfid.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:631:17: 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:4: note: in expansion of macro 'le16_to_cpus' 631 | le16_to_cpus(&rfid.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:632:17: 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:4: note: in expansion of macro 'le16_to_cpus' 632 | le16_to_cpus(&rfid.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:633:17: 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:4: note: in expansion of macro 'le16_to_cpus' 633 | le16_to_cpus(&rfid.top); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:639:17: 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:4: note: in expansion of macro 'le16_to_cpus' 639 | le16_to_cpus(&macid.id); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:640:17: 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:4: note: in expansion of macro 'le16_to_cpus' 640 | le16_to_cpus(&macid.variant); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:641:17: 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:4: note: in expansion of macro 'le16_to_cpus' 641 | le16_to_cpus(&macid.bottom); | ^~~~~~~~~~~~ /kisskb/src/drivers/staging/wlan-ng/prism2fw.c:642:17: 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:4: note: in expansion of macro 'le16_to_cpus' 642 | le16_to_cpus(&macid.top); | ^~~~~~~~~~~~ /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:36: 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:33: 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/rtl8723bs/os_dep/ioctl_linux.c: In function 'rtw_wx_get_scan': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:1472:33: 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:7: 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) | ^~~~~~~~~~~~ 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:132:6: 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) | ^~~~~~~~~~~~~ ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h> /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' Completed OK # rm -rf /kisskb/build/mpe-quick_powerpc-allyesconfig_powerpc-gcc9 # Build took: 0:23:25.525305
© Michael Ellerman 2006-2018.