diff options
| author | Alexander Potapenko <[email protected]> | 2024-04-26 09:16:22 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-06 00:28:06 +0000 |
| commit | 90d1f14cbb9ddbfc532e2da13bf6e0ed8320e792 (patch) | |
| tree | dd78f792e9b5651b73387d6ccbdf1486df8a6846 /lib/test_xarray.c | |
| parent | lib/test_xarray.c: fix error assumptions on check_xa_multi_store_adv_add() (diff) | |
| download | kernel-90d1f14cbb9ddbfc532e2da13bf6e0ed8320e792.tar.gz kernel-90d1f14cbb9ddbfc532e2da13bf6e0ed8320e792.zip | |
kmsan: compiler_types: declare __no_sanitize_or_inline
It turned out that KMSAN instruments READ_ONCE_NOCHECK(), resulting in
false positive reports, because __no_sanitize_or_inline enforced inlining.
Properly declare __no_sanitize_or_inline under __SANITIZE_MEMORY__, so
that it does not __always_inline the annotated function.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 5de0ce85f5a4 ("kmsan: mark noinstr as __no_sanitize_memory")
Signed-off-by: Alexander Potapenko <[email protected]>
Reported-by: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Cc: <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Miguel Ojeda <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
