aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-05-16 18:06:36 +0200
committerCatalin Marinas <[email protected]>2023-05-25 17:44:02 +0100
commitb925b4314c9155b32d17e9dfda37d64c229063b7 (patch)
tree48cd2284f4e2bad075ba0eeb4abf46069f6159da /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parentfbc0cd6f60443264af0b7aed050cae2ef38036f9 (diff)
arm64: hide unused is_valid_bugaddr()
When generic BUG() support is disabled, this function has no declaration and no callers but causes a W=1 warning: arch/arm64/kernel/traps.c:950:5: error: no previous prototype for 'is_valid_bugaddr' [-Werror=missing-prototypes] Add an #ifdef that matches the one around the declaration. Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions