]> 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)
commitbe5a75f310a5bef59a5c0a34bfbbce2892de3129
treea7c58659b4891c7bbe795e4b4bda9e9095b648d8
parent2498e227d9c894f87be8d4bbb0634073ca0b6290
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