Re: [PATCH v2] xhci: Use %zu for printing size_t type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 22, 2019 at 05:08:13PM +0300, Mathias Nyman wrote:
> On 22.5.2019 16.35, Fabio Estevam wrote:
> > 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@xxxxxxxxx>
> > Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx>
> > ---
> 
> Thanks for writing this follow-up patch
> 
> Acked-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
> 
> 
> 

Thanks, now queued up.

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux