Linus Torvalds 6dae40aed4 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 <linux@roeck-us.net>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-09 14:03:33 -07:00
..
2020-01-30 08:04:01 -08:00
2021-03-16 17:08:46 +10:00
2019-06-03 16:00:08 +02:00
2020-01-30 08:04:01 -08:00
2020-01-15 17:31:50 +01:00
2020-02-19 10:58:22 -08:00
2021-04-26 10:44:16 -07:00
2020-11-27 16:14:02 +01:00
2020-10-15 10:46:16 -07:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-10-15 08:12:59 +02:00
2020-01-30 08:04:01 -08:00