]> git.baikalelectronics.ru Git - kernel.git/commit
fbmem: Mark proc_fb_seq_ops as __maybe_unused
authorGuenter Roeck <linux@roeck-us.net>
Tue, 4 May 2021 14:29:10 +0000 (07:29 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 May 2021 15:12:37 +0000 (17:12 +0200)
commitf4f4e6994baa966b4e78ac69f246fb488244751c
treea7c58659b4891c7bbe795e4b4bda9e9095b648d8
parent435f511e58eab6ee243500edc8a782341662a486
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 <lkp@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210504142910.2084722-1-linux@roeck-us.net
drivers/video/fbdev/core/fbmem.c