diff options
| author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-04-28 23:23:23 +0400 |
|---|---|---|
| committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-05-03 03:42:54 +0400 |
| commit | 00161f7d04eb1668fde5e22d3e5a17bf90356d2c (patch) | |
| tree | f511cbc302adb96d3389c724e3a22d2458b77543 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 5e467f6ebab151b2f0166e17348e5b85ae3c87fa (diff) | |
| download | linux-00161f7d04eb1668fde5e22d3e5a17bf90356d2c.tar.xz | |
xhci: Remove sparse warning about cmd_status.
Sparse complains about the arguments to xhci_evaluate_context_result() and
xhci_configure_endpoint_result():
CHECK drivers/usb/host/xhci.c
drivers/usb/host/xhci.c:1647:53: warning: incorrect type in argument 3 (different signedness)
drivers/usb/host/xhci.c:1647:53: expected int *cmd_status
drivers/usb/host/xhci.c:1647:53: got unsigned int [usertype] *[assigned] cmd_status
drivers/usb/host/xhci.c:1648:50: warning: incorrect type in argument 3 (different signedness)
drivers/usb/host/xhci.c:1648:50: expected int *cmd_status
drivers/usb/host/xhci.c:1648:50: got unsigned int [usertype] *[assigned] cmd_status
The command status is taken from the command completion event TRB, and
will always be a positive number. Change the signature of
xhci_evaluate_context_result() and xhci_configure_endpoint_result() to
take a u32 for cmd_status.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
