diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-05-22 16:35:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-09 10:18:13 +0300 |
commit | 1b2eabf811d2cd6984c7e2a209106a257eaabc0c (patch) | |
tree | 246026b223fbe33dba1625d3d7dc1adadac29f02 /Documentation/bus-devices | |
parent | 418d0e4657949e62cff69b1b33730f6365591e73 (diff) | |
download | linux-1b2eabf811d2cd6984c7e2a209106a257eaabc0c.tar.xz |
xhci: Use %zu for printing size_t type
commit c1a145a3ed9a40f3b6145feb97789e8eb49c5566 upstream.
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 <lkp@intel.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/bus-devices')
0 files changed, 0 insertions, 0 deletions