| From | Kees Cook <> | Subject | Re: (subset) [PATCH 02/34] ubsan: fix unused variable warning in test module | Date | Wed, 3 Apr 2024 14:36:37 -0700 |
| |
On Wed, 03 Apr 2024 10:06:20 +0200, Arnd Bergmann wrote: > This is one of the drivers with an unused variable that is marked 'const'. > Adding a __used annotation here avoids the warning and lets us enable > the option by default: > > lib/test_ubsan.c:137:28: error: unused variable 'skip_ubsan_array' [-Werror,-Wunused-const-variable] > > > [...]
Applied to for-next/hardening, thanks!
[02/34] ubsan: fix unused variable warning in test module https://git.kernel.org/kees/c/bbda3ba626b9
Take care,
-- Kees Cook
|