]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
gcc-9: silence 'address-of-packed-member' warning
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2019 18:05:41 +0000 (11:05 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit6c1b5fa84bdbe8fa9ab6628ee6523a055e50582f
treed6ea754d5fbc3627e003ab6d6303aa9c22821812
parent5f91d84ed230323df44d85aca1c48c33e94c5666
gcc-9: silence 'address-of-packed-member' warning

BugLink: https://bugs.launchpad.net/bugs/1838824
commit 6f303d60534c46aa1a239f29c321f95c83dda748 upstream.

We already did this for clang, but now gcc has that warning too.  Yes,
yes, the address may be unaligned.  And that's kind of the point.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Makefile