Revision 6dae40aed484ef2f1a3934dcdcd17b7055173e56 authored by Linus Torvalds on 09 May 2021, 21:03:33 UTC, committed by Linus Torvalds on 09 May 2021, 21:03:33 UTC
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 <linux@roeck-us.net> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent efc58a9
File | Mode | Size |
---|---|---|
altera.h | -rw-r--r-- | 803 bytes |
cxl-base.h | -rw-r--r-- | 1017 bytes |
cxl.h | -rw-r--r-- | 9.5 KB |
cxllib.h | -rw-r--r-- | 3.3 KB |
ocxl-config.h | -rw-r--r-- | 1.9 KB |
ocxl.h | -rw-r--r-- | 14.2 KB |
Computing file changes ...