diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-01-13 20:21:09 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-14 03:43:24 +0400 |
commit | 86a362f16079d435a08d27f92ac2bee4e12856f1 (patch) | |
tree | 6868a9c184b66ead92b38f5a83dfb54bf0cbab62 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d820fa95fe0416a1a95adfc25c158367cdbd865f (diff) | |
download | linux-86a362f16079d435a08d27f92ac2bee4e12856f1.tar.xz |
staging: vt6656: sparse fixes ethtool_ioctl Use struct ifreq *
Replace useraddr with direct point to struct ifreq->ifr_data
sparse warnings
main_usb.c:1443:44: warning: cast removes address space of expression
main_usb.c:1454:37: warning: incorrect type in argument 2 (different address spaces)
main_usb.c:1454:37: expected void const [noderef] <asn:1>*from
main_usb.c:1454:37: got void *useraddr
main_usb.c:1462:34: warning: incorrect type in argument 1 (different address spaces)
main_usb.c:1462:34: expected void [noderef] <asn:1>*to
main_usb.c:1462:34: got void *useraddr
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions