tree: git://linuxtv.org/media_tree.git master head: eab924d0e2bdfd53c902162b0b499b8464c1fb4a commit: f251b3e78cc57411627d825eae3c911da77b4035 [491/499] [media] au0828: Add option to preallocate digital transfer buffers reproduce: make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/media/usb/au0828/au0828-dvb.c:36:5: sparse: symbol 'preallocate_big_buffers' was not declared. Should it be static? Please consider folding the attached diff :-) --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
From: Fengguang Wu <fengguang.wu@xxxxxxxxx> Subject: [PATCH linuxtv-media] au0828: preallocate_big_buffers can be static TO: Tim Mester <ttmesterr@xxxxxxxxx> CC: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx> CC: linux-media@xxxxxxxxxxxxxxx CC: linux-media@xxxxxxxxxxxxxxx CC: linux-kernel@xxxxxxxxxxxxxxx CC: Tim Mester <ttmesterr@xxxxxxxxx> CC: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx> CC: linux-media@xxxxxxxxxxxxxxx Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx> --- au0828-dvb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/au0828/au0828-dvb.c b/drivers/media/usb/au0828/au0828-dvb.c index 19fe049..4ae8b10 100644 --- a/drivers/media/usb/au0828/au0828-dvb.c +++ b/drivers/media/usb/au0828/au0828-dvb.c @@ -33,7 +33,7 @@ #include "mxl5007t.h" #include "tda18271.h" -int preallocate_big_buffers; +static int preallocate_big_buffers; module_param_named(preallocate_big_buffers, preallocate_big_buffers, int, 0644); MODULE_PARM_DESC(preallocate_big_buffers, "Preallocate the larger transfer buffers at module load time");