Skip to content

Commit b9d79e4

Browse files
groeckdanvet
authored andcommitted
fbmem: Mark proc_fb_seq_ops as __maybe_unused
With CONFIG_PROC_FS=n and -Werror, 0-day reports: drivers/video/fbdev/core/fbmem.c:736:36: error: 'proc_fb_seq_ops' defined but not used Mark it as __maybe_unused. Reported-by: kernel test robot <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent a712b30 commit b9d79e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/fbdev/core/fbmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ static int fb_seq_show(struct seq_file *m, void *v)
733733
return 0;
734734
}
735735

736-
static const struct seq_operations proc_fb_seq_ops = {
736+
static const struct __maybe_unused seq_operations proc_fb_seq_ops = {
737737
.start = fb_seq_start,
738738
.next = fb_seq_next,
739739
.stop = fb_seq_stop,

0 commit comments

Comments
 (0)