[PATCH] staging: vt6655: fix sparse warning for static declaration

2014-09-26 Thread naszar
From: "Vladimir A. Nazarenko" This patch fixes the following sparse warning: drivers/staging/vt6655/ioctl.c:44:12: warning: symbol 'wpa_Result' was not declared. Should it be static? 'wpa_Result' can't be static because it used not only in file where declared (ioctl.c). To resolve this I

[PATCH] Staging: comedi: Fix code style in jr3_pci.c

2014-08-26 Thread naszar
From: Vladimir A. Nazarenko Static variables are initialised to 0 by GCC. Fixes checkpatch.pl error: ERROR: do not initialise statics to 0 or NULL #684: FILE: jr3_pci.c:684: + static const struct jr3_pci_board *board = NULL; Signed-off-by: Vladimir A. Nazarenko --- drivers/staging/co