[PATCH v3] staging: lustre: fix non-static symbol warnings reported by sparse

2015-05-28 Thread Marcus Folkesson
taging/lustre/lustre/ptlrpc/pinger.c:551:1: warning: symbol 'pet_list' was not declared. Should it be static? Signed-off-by: Marcus Folkesson --- Changelog: v3: put the changelog into the patch itself v2: change commit message to be more descriptive drivers/staging/lustre/lustre/pt

[PATCH v2] staging: lustre: fix non-static symbol warnings reported by sparse

2015-05-27 Thread Marcus Folkesson
taging/lustre/lustre/ptlrpc/pinger.c:551:1: warning: symbol 'pet_list' was not declared. Should it be static? Signed-off-by: Marcus Folkesson --- drivers/staging/lustre/lustre/ptlrpc/pinger.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/stagin

changelog v2

2015-05-27 Thread Marcus Folkesson
Changes since v2: Change commit message to be more descriptive (thanks to Julia for input) ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: lustre: silence sparse warnings

2015-05-27 Thread Marcus Folkesson
taging/lustre/lustre/ptlrpc/pinger.c:551:1: warning: symbol 'pet_list' was not declared. Should it be static? Signed-off-by: Marcus Folkesson --- drivers/staging/lustre/lustre/ptlrpc/pinger.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/stagin

[PATCH] staging: fbtft: fix all print warnings reported by sparse

2015-04-07 Thread Marcus Folkesson
Signed-off-by: Marcus Folkesson --- drivers/staging/fbtft/fbtft-core.c | 2 +- drivers/staging/fbtft/fbtft-io.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 37dcf7e..b82870b 100644 --- a

[PATCH] staging: rtl8723au: Fix sparse warning cast to restricted __le16

2015-03-11 Thread Marcus Folkesson
__le16 Signed-off-by: Marcus Folkesson --- drivers/staging/rtl8723au/include/rtl8723a_hal.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/include/rtl8723a_hal.h b/drivers/staging/rtl8723au/include/rtl8723a_hal.h index e146336..f642b11 100644

[PATCH] staging: iio: adc: ad7192: fix coding style

2014-07-12 Thread Marcus Folkesson
Line over 80 characters. This is for Eudyptula Challenge. Signed-off-by: Marcus Folkesson --- drivers/staging/iio/adc/ad7192.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index 83bb44b..c25c9ab 100644