aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2024-03-04 11:12:18 +0100
committerIngo Molnar <[email protected]>2024-03-04 11:58:36 +0100
commit9eae297d5d8d87738a14010af62b2b64b9d98097 (patch)
treebce5672431900c6be832809a779084e2cef61e9e /lib/test_fortify/write_overflow-strncpy-src.c
parent3c94ba5267e64a9212acd2f9e08d3f726d8e5aa0 (diff)
perf/x86/amd/uncore: Fix __percpu annotation
The __percpu annotation in struct amd_uncore is confusing Sparse: uncore.c:649:10: sparse: warning: incorrect type in initializer (different address spaces) uncore.c:649:10: sparse: expected void const [noderef] __percpu *__vpp_verify uncore.c:649:10: sparse: got union amd_uncore_info * The reason is that the __percpu annotation sits between the '*' dereferencing operator and the member name. Move it before the dereferencing operator to cure this. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions