Messages in this thread | | | From | Marco Elver <> | Date | Mon, 6 Dec 2021 07:44:49 +0100 | Subject | Re: [paulmck-rcu:dev.2021.12.02a 30/43] kernel/kcsan/selftest.c:172:34: error: implicit declaration of function 'clear_bit_unlock_is_negative_byte' |
| |
On Sun, 5 Dec 2021 at 00:09, kernel test robot <lkp@intel.com> wrote: [...] > kernel/kcsan/selftest.c: In function 'test_barrier': > >> kernel/kcsan/selftest.c:172:34: error: implicit declaration of function 'clear_bit_unlock_is_negative_byte' [-Werror=implicit-function-declaration] > 172 | KCSAN_CHECK_READ_BARRIER(clear_bit_unlock_is_negative_byte(0, &test_var)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > kernel/kcsan/selftest.c:136:17: note: in definition of macro '__KCSAN_CHECK_BARRIER' > 136 | barrier; \ > | ^~~~~~~ > kernel/kcsan/selftest.c:172:9: note: in expansion of macro 'KCSAN_CHECK_READ_BARRIER' > 172 | KCSAN_CHECK_READ_BARRIER(clear_bit_unlock_is_negative_byte(0, &test_var)); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors
Fixed by: https://lore.kernel.org/all/20211206064151.3337384-2-elver@google.com/
Thanks, -- Marco
| |