-
Notifications
You must be signed in to change notification settings - Fork 8
Turn on CONFIG_WERROR
for x86_64
#245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Mainline status as of 12/9/2021I am going to start posting updates here against mainline, as -next is a moving target and stable will be fixable based on mainline's status. Android has disabled Outstanding warnings with
|
As of fb3b0673b7d5 ("Merge tag 'mailbox-v5.17' of git://git.linaro.org/landing-teams/working/fujitsu/integration"), I requested backports to 5.15 and 5.16, which will allow us to enable However, linux-next is not warning free, due to 743b237c3a7b ("scsi: storvsc: Add Isolation VM support for storvsc driver"), which adds a false positive instance of |
Stable trees5.15.21 and 5.16.7 remain warning free. Mainline5.17-rc3 has one warning:
Fixed with https://git.kernel.org/hyperv/c/6bf625a4140f24b490766043b307f8252519578b, which will hopefully be in 5.17-rc4. This patch works around the compiler bug that I mention in my comment above, which allows us to remove the "blocked (llvm)" label. -nextOn next-20220208:
Fixed by https://git.kernel.org/axboe/linux-block/c/4c65723081332607ca331072b0f8a90189e2e447, which should be in next-20220209. There are also a few warnings from the new FORTIFY_SOURCE compile time checks with
|
x86_64 all{mod,yes}config are now -Werror clean on 5.15, stable (5.18), mainline (5.19-rc5), and next-20220705. Turn this on so we can catch new warnings easier. Closes: ClangBuiltLinux#245 Signed-off-by: Nathan Chancellor <[email protected]>
To turn this on, we need
allmodconfig
andallyesconfig
to build without any warnings onlinux-5.15.y
, mainline, and -next with LLVM 11 through 14 (quite the matrix).Current status as of November 18, 2021
linux-5.15.y
@ v5.15.3:Mainline @ 42eb8fdac2fc5d62392dcfcf0253753e821a97b0:
-next @ next-20211118:
Analysis:
drivers/staging/greybus/audio_topology.c
: @arndb sent a patch back in January with some feedback but I never saw a respin.drivers/gpu/drm/i915/intel_pm.c
: I sent a patch, which has been accepted but it missed the 5.16 merge window, meaning it will not be fixed until 5.17 :(drivers/power/reset/ltc2952-poweroff.c
: I sent a patch, which has been accepted in a fixes branch, meaning it should be merged into mainline soon.drivers/usb/dwc2/hcd_queue.c
: I sent a patch, which has been accepted in a fixes branch, meaning it should be merged into mainline soon.drivers/staging/wlan-ng/hfa384x_usb.c
: The fix is available in 5.16-rc1, it just needs to be backported to stable.The text was updated successfully, but these errors were encountered: