diff options
| author | Fabio Estevam <[email protected]> | 2019-05-22 13:35:29 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-22 16:17:16 +0000 |
| commit | c1a145a3ed9a40f3b6145feb97789e8eb49c5566 (patch) | |
| tree | 672aabc1d2cd9267871f695257f6d887238b9f76 /tools/perf/scripts/python/sctop.py | |
| parent | xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic() (diff) | |
| download | kernel-c1a145a3ed9a40f3b6145feb97789e8eb49c5566.tar.gz kernel-c1a145a3ed9a40f3b6145feb97789e8eb49c5566.zip | |
xhci: Use %zu for printing size_t type
Commit 597c56e372da ("xhci: update bounce buffer with correct sg num")
caused the following build warnings:
drivers/usb/host/xhci-ring.c:676:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=]
Use %zu for printing size_t type in order to fix the warnings.
Fixes: 597c56e372da ("xhci: update bounce buffer with correct sg num")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Cc: stable <[email protected]>
Acked-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
