aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorMarco Elver <[email protected]>2020-01-07 17:31:04 +0100
committerIngo Molnar <[email protected]>2020-03-21 09:40:19 +0100
commit5c361425744d1e3b03d835dde659708683ca27d1 (patch)
treebf0169fe9b9f4ecb2555c817c7bcf072bf777902 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdf10846ff2ac3b0a7b295be2de2e9215877982f3 (diff)
kcsan: Prefer __always_inline for fast-path
Prefer __always_inline for fast-path functions that are called outside of user_access_save, to avoid generating UACCESS warnings when optimizing for size (CC_OPTIMIZE_FOR_SIZE). It will also avoid future surprises with compiler versions that change the inlining heuristic even when optimizing for performance. Reported-by: Randy Dunlap <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested Signed-off-by: Marco Elver <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions