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

2016-10-19 Thread Dan Carpenter
On Tue, Oct 18, 2016 at 02:03:31PM -0400, Ryan Swan wrote: > 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 >

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

2016-10-19 Thread Dan Carpenter
On Tue, Oct 18, 2016 at 02:03:31PM -0400, Ryan Swan wrote: > 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 >

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

2016-10-18 Thread Lino Sanfilippo
Hi Ryan, On 18.10.2016 20:03, Ryan Swan wrote: > 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 > >

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

2016-10-18 Thread Lino Sanfilippo
Hi Ryan, On 18.10.2016 20:03, Ryan Swan wrote: > 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 > >

[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 ---

[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 --- drivers/staging/slicoss/slicoss.c | 2 +-