Michael Chang 85e08e174e usbtest: Disable gcc9 -Waddress-of-packed-member
Disable the -Wadress-of-packaed-member diagnostic for the
grub_usb_get_string function since the result is false postive. The
descstrp->str is found to be aligned in the buffer allocated for 'struct
grub_usb_desc_str'.

[  229s] ../../grub-core/commands/usbtest.c: In function 'grub_usb_get_string':
[  229s] ../../grub-core/commands/usbtest.c:104:58: error: taking address of packed member of 'struct grub_usb_desc_str' may result in an unaligned pointer value [-Werror=address-of-packed-member]
[  229s]   104 |   *grub_utf16_to_utf8 ((grub_uint8_t *) *string, descstrp->str,
[  229s]       |                                                  ~~~~~~~~^~~~~

Signed-off-by: Michael Chang <mchang@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-04-23 11:37:08 +02:00
..
2019-03-26 15:05:44 +01:00
2013-12-21 03:03:31 +01:00
2019-02-25 14:02:05 +01:00
2015-01-24 20:52:02 +01:00
2019-04-09 10:03:29 +10:00
2015-12-15 10:25:34 +03:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2015-06-20 23:38:19 +03:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2012-02-12 15:25:25 +01:00
2018-12-12 14:51:26 +01:00