On Wed, May 22, 2019 at 08:54:56PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-linus > head: f7fac17ca925faa03fc5eb854c081a24075f8bad > commit: 597c56e372dab2c7f79b8d700aad3a5deebf9d1b [12/16] xhci: update bounce buffer with correct sg num > config: i386-randconfig-x018-201920 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 > reproduce: > git checkout 597c56e372dab2c7f79b8d700aad3a5deebf9d1b > # save the attached .config to linux build tree > make ARCH=i386 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > > All warnings (new ones prefixed by >>): > > In file included from include/linux/dma-mapping.h:7:0, > from drivers/usb/host/xhci-ring.c:57: > drivers/usb/host/xhci-ring.c: In function 'xhci_unmap_td_bounce_buffer': > >> 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=] > xhci_warn(xhci, "WARN Wrong bounce buffer read length: %ld != %d\n", > ^ > include/linux/device.h:1400:22: note: in definition of macro 'dev_fmt' > #define dev_fmt(fmt) fmt > ^~~ > >> drivers/usb/host/xhci.h:1920:2: note: in expansion of macro 'dev_warn' > dev_warn(xhci_to_hcd(xhci)->self.controller , fmt , ## args) > ^~~~~~~~ > >> drivers/usb/host/xhci-ring.c:676:3: note: in expansion of macro 'xhci_warn' > xhci_warn(xhci, "WARN Wrong bounce buffer read length: %ld != %d\n", > ^~~~~~~~~ > drivers/usb/host/xhci-ring.c: In function 'xhci_align_td': > drivers/usb/host/xhci-ring.c:3169:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] > "WARN Wrong bounce buffer write length: %ld != %d\n", > ^ > include/linux/device.h:1400:22: note: in definition of macro 'dev_fmt' > #define dev_fmt(fmt) fmt > ^~~ > >> drivers/usb/host/xhci.h:1920:2: note: in expansion of macro 'dev_warn' > dev_warn(xhci_to_hcd(xhci)->self.controller , fmt , ## args) > ^~~~~~~~ > drivers/usb/host/xhci-ring.c:3168:4: note: in expansion of macro 'xhci_warn' > xhci_warn(xhci, > ^~~~~~~~~ Can someone send me a follow-on patch to fix this up please? thanks, greg k-h