Skip to content

Revert "Drop that for now"

This reverts commit 1f80f9253eb2b6a5f63e2053d8e54062791bcff7.

Unfortunately the commit message was cryptic on this one, but it was
done probably to handle the same case as was already done with upstream
commit 6f303d60534c4 ("gcc-9: silence 'address-of-packed-member'
warning").

Thus the addition of -Wno-address-of-packed-member was already done
in upstream commit above, we don't need to add it again in the initial
list of KBUILD_CFLAGS.

I manually verified a random built file with "make KBUILD_VERBOSE=1 (...)"
and checked that we don't have anymore -Wno-address-of-packed-member being
passed two times to gcc.

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>

Merge request reports