aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2024-03-06 12:47:09 +0000
committerMasahiro Yamada <[email protected]>2024-03-11 08:31:41 +0000
commit44929bfaceaaa6a854ddc6df6de9433fab1eef92 (patch)
treeba14570c5c064a0df800b1496896fc8ac10133f4 /drivers/fpga/machxo2-spi.c
parentkbuild: unexport abs_srctree and abs_objtree (diff)
downloadkernel-44929bfaceaaa6a854ddc6df6de9433fab1eef92.tar.gz
kernel-44929bfaceaaa6a854ddc6df6de9433fab1eef92.zip
kbuild: remove GCC's default -Wpacked-bitfield-compat flag
Commit 4a5838ad9d2d ("kbuild: Add extra gcc checks") added the -Wpacked-bitfield-compat flag, but there is no need to add it explicitly. GCC manual says: "This warning is enabled by default. Use -Wno-packed-bitfield-compat to disable this warning." The test code in the manual: struct foo { char a:4; char b:8; } __attribute__ ((packed)); ... emits "note: offset of packed bit-field ‘b’ has changed in GCC 4.4" without W=3. Let's remove it, as it is a default with GCC. Clang does not support this flag, so its removal will not affect Clang builds. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions