]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:36:50 +0000 (11:36 +0800)
commit8e69458509d2acebb1297753d0320ff2e8ce5f64
treef5bdad014f76ce9541663e8ae087838d6bf85dd3
parentf1a58e1bcad882ea08778320147c7ef9118f704f
gcc-9: silence 'address-of-packed-member' warning

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>
Makefile