mirror_ubuntu-kernels/tools/usb
Seth Forshee a2bd43f10c UBUNTU: SAUCE: usbip: add -Wno-address-of-packed-member to EXTRA_CFLAGS
Fails to build with gcc 9.1.0 due to
-Werror=address-of-packed-member. One example:

  usbip_network.c: In function 'usbip_net_pack_usb_device':
  usbip_network.c:79:32: error: taking address of packed member of 'struct usbip_usb_device' may result in an unaligned pointer value [-Werror=address-of-packed-member]
     79 |  usbip_net_pack_uint32_t(pack, &udev->busnum);
        |                                ^~~~~~~~~~~~~

All of these are code which is explicitly packing a struct, so
add -Wno-address-of-packed-member to EXTRA_CFLAGS to disable this
warning.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
2021-11-02 08:24:46 +01:00
..
ffs-aio-example treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
usbip UBUNTU: SAUCE: usbip: add -Wno-address-of-packed-member to EXTRA_CFLAGS 2021-11-02 08:24:46 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Build tools: usb: move to tools buildsystem 2020-08-19 14:11:44 +02:00
ffs-test.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
hcd-tests.sh treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
Makefile tools: usb: move to tools buildsystem 2020-08-19 14:11:44 +02:00
testusb.c usb: testusb: Fix for showing the connection speed 2021-09-14 10:31:41 +02:00