aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2021-05-09 21:03:33 +0000
committerLinus Torvalds <[email protected]>2021-05-09 21:03:33 +0000
commit6dae40aed484ef2f1a3934dcdcd17b7055173e56 (patch)
tree00c6a6ef14a63d2d0a0a6b91ae2ba899fbd544e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentMerge tag 'drm-next-2021-05-10' of git://anongit.freedesktop.org/drm/drm (diff)
downloadkernel-6dae40aed484ef2f1a3934dcdcd17b7055173e56.tar.gz
kernel-6dae40aed484ef2f1a3934dcdcd17b7055173e56.zip
fbmem: fix horribly incorrect placement of __maybe_unused
Commit b9d79e4ca4ff ("fbmem: Mark proc_fb_seq_ops as __maybe_unused") places the '__maybe_unused' in an entirely incorrect location between the "struct" keyword and the structure name. It's a wonder that gcc accepts that silently, but clang quite reasonably warns about it: drivers/video/fbdev/core/fbmem.c:736:21: warning: attribute declaration must precede definition [-Wignored-attributes] static const struct __maybe_unused seq_operations proc_fb_seq_ops = { ^ Fix it. Cc: Guenter Roeck <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions