Re: [PATCH] staging: crystalhd: Do not mix integers and user pointers

2014-06-20 Thread Greg Kroah-Hartman
On Fri, Jun 20, 2014 at 02:34:26PM +0300, Dan Carpenter wrote: > On Fri, Jun 20, 2014 at 01:16:17PM +0200, Lubomir Rintel wrote: > > Fixes the following sparse warnings: > > > > crystalhd/crystalhd_lnx.c:227:61: warning: incorrect type in argument 3 > > (different base types) > > crystalhd/cr

Re: [PATCH] staging: crystalhd: Do not mix integers and user pointers

2014-06-20 Thread Dan Carpenter
On Fri, Jun 20, 2014 at 01:16:17PM +0200, Lubomir Rintel wrote: > Fixes the following sparse warnings: > > crystalhd/crystalhd_lnx.c:227:61: warning: incorrect type in argument 3 > (different base types) > crystalhd/crystalhd_lnx.c:227:61:expected unsigned long [unsigned] ua > crystalhd

[PATCH] staging: crystalhd: Do not mix integers and user pointers

2014-06-20 Thread Lubomir Rintel
Fixes the following sparse warnings: crystalhd/crystalhd_lnx.c:227:61: warning: incorrect type in argument 3 (different base types) crystalhd/crystalhd_lnx.c:227:61:expected unsigned long [unsigned] ua crystalhd/crystalhd_lnx.c:227:61:got void [noderef] *ua crystalhd/crystalhd_lnx