Re: [PATCH] staging: vt6655: preserve address space by not casting

2014-06-16 Thread Dan Carpenter
On Fri, Jun 13, 2014 at 12:11:51PM +0200, Martin Kepplinger wrote: > Fix the sparse error: cast removes address space of expression. > --- > Is that even correct? It's correct but not complete. vt6655 impliment their own versions of ethtool_ioctl() when they should be using the standard versions.

[PATCH] staging: vt6655: preserve address space by not casting

2014-06-13 Thread Martin Kepplinger
Fix the sparse error: cast removes address space of expression. --- Is that even correct? I haven't signed-off on it yet. ethtool_ioctl() takes a (void *) as user data, dereferenced and assigend to u32. applies to next-20140611 drivers/staging/vt6655/device_main.c |2 +- 1 file changed, 1 ins