[PATCH] staging: slicoss: replace memcpy_fromio with memcpy

2016-10-18 Thread Ryan Swan
As per discusion with Lino Sanfilippo, memcpy is the proper way to copy across dma memory, which also removes sparse warning that triggered inquiry. Signed-off-by: Ryan Swan <r...@ryanswan.com> --- drivers/staging/slicoss/slicoss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] staging: slicoss.ko: slicoss.c: Fixed incorrect argument type

2016-10-18 Thread Ryan Swan
sparse produced warning: incorrect type in argument 2 (different address spaces) expected void const volatile [noderef] *src got struct slic_stats *stats casting argument 2 to what is expected by memcpy_fromio() fixed this Signed-off-by: Ryan Swan <r...@ryanswan.com> --- drivers/staging/s

[PATCH] staging: lov.ko: lov_object.c: fix sparse warning setting function to static

2016-10-17 Thread Ryan Swan
Fixed: sparse WARNING: symbol 'lov_read_and_clear_async_rc' was not declared. Should it be static? Signed-off-by: Ryan Swan <r...@ryanswan.com> --- drivers/staging/lustre/lustre/lov/lov_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/

[PATCH] staging: vme/devices: vme_user.c: fix: converted decimal permissions to octal

2016-09-12 Thread Ryan Swan
Ran checkpatch.pl -f vme_user.c Fixed: ERROR: Use 4 digit octal (0777) not decimal permissions Signed-off-by: Ryan Swan <r...@ryanswan.com> --- drivers/staging/vme/devices/vme_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme/devices/vme_use

[PATCH] staging: vme/devices: vme_user.c: fix: converted decimal permissions to octal

2016-09-11 Thread Ryan Swan
From: ryan <r...@ryanswan.com> Ran checkpatch.pl -f vme_user.c Fixed: ERROR: Use 4 digit octal (0777) not decimal permissions Signed-off-by: Ryan Swan <r...@ryanswan.com> --- drivers/staging/vme/devices/vme_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH] staging: vme/devices: vme_user.c: fix: converted decimal permissions to octal

2016-09-11 Thread Ryan Swan
connected"); -module_param_array(bus, int, _num, 0); +module_param_array(bus, int, _num, ); MODULE_DESCRIPTION("VME User Space Access Driver"); MODULE_AUTHOR("Martyn Welch <martyn.we...@ge.com"); -- 2.7.4 Signed-off-by: Ryan Swan <r...@ryanswan.com>