Re: [PATCH] video: fbdev: pvr2fb: fix compile-testing as module

2019-06-21 Thread Arnd Bergmann
On Fri, Jun 21, 2019 at 1:15 PM Bartlomiej Zolnierkiewicz wrote: > > > On 6/17/19 2:47 PM, Arnd Bergmann wrote: > > Building an allmodconfig kernel now produces a harmless warning: > > > > drivers/video/fbdev/pvr2fb.c:726:12: error: unused function > > 'pvr2_get_param_val'

Re: [PATCH] video: fbdev: pvr2fb: fix compile-testing as module

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/17/19 2:47 PM, Arnd Bergmann wrote: > Building an allmodconfig kernel now produces a harmless warning: > > drivers/video/fbdev/pvr2fb.c:726:12: error: unused function > 'pvr2_get_param_val' [-Werror,-Wunused-function] > > Shut this up the same way as we do for other unused functions > in

[PATCH] video: fbdev: pvr2fb: fix compile-testing as module

2019-06-17 Thread Arnd Bergmann
Building an allmodconfig kernel now produces a harmless warning: drivers/video/fbdev/pvr2fb.c:726:12: error: unused function 'pvr2_get_param_val' [-Werror,-Wunused-function] Shut this up the same way as we do for other unused functions in the same file, using the __maybe_unused attribute.