diff options
author | Arnd Bergmann <[email protected]> | 2023-02-15 14:00:56 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-02-20 12:46:16 -0800 |
commit | 9701c9ff8311fed118fd09d962a90e254e761d97 (patch) | |
tree | fcbc371a04a2cfc0c1630bf8685d8431f489a834 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | f7a449f779608efe1941a0e0c4bd7b5f57000be7 (diff) |
kasan: mark addr_has_metadata __always_inline
Patch series "objtool warning fixes", v2.
These are three of the easier fixes for objtool warnings around
kasan/kmsan/kcsan. I dropped one patch since Peter had come up with a
better fix, and adjusted the changelog text based on feedback.
This patch (of 3):
When the compiler decides not to inline this function, objtool complains
about incorrect UACCESS state:
mm/kasan/generic.o: warning: objtool: __asan_load2+0x11: call to addr_has_metadata() with UACCESS enabled
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Reviewed-by: Andrey Konovalov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Kuan-Ying Lee <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions