Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d06847fe authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman
Browse files

usb: fix ips1760-hcd printk format warning



Fix printk format build warning and grammar typo on same line.

drivers/usb/host/isp1760-hcd.c:300: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 86a45a02
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -295,7 +295,7 @@ static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd)
	}
	}


	dev_err(hcd->self.controller,
	dev_err(hcd->self.controller,
				"%s: Can not allocate %lu bytes of memory\n"
				"%s: Cannot allocate %zu bytes of memory\n"
				"Current memory map:\n",
				"Current memory map:\n",
				__func__, qtd->length);
				__func__, qtd->length);
	for (i = 0; i < BLOCKS; i++) {
	for (i = 0; i < BLOCKS; i++) {