Skip to contentSkip to conversation

linux-next: build warning after merge of the fbdev tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jun 11, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Bartlomiej,

After merging the fbdev tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/video/fbdev/pvr2fb.c:726:12: warning: 'pvr2_get_param_val' defined but not used [-Wunused-function]
static int pvr2_get_param_val(const struct pvr2_params *p, const char *s,

            ^~~~~~~~~~~~~~~~~~

Introduced by commit

0f5a5712ad1e ("video: fbdev: pvr2fb: add COMPILE_TEST support")

The uses are protected by #ifndef MODULE.

Signature · 2 lines
Cheers,
Stephen Rothwell