Skip to contentSkip to conversation

drivers/usb/gadget/langwell_udc.c: printk needs a (unsigned long long) cast for a dma_t

PATCH Applied Joe Perches 2 participants 2 messages Jun 11, 2010 – Jun 16, 2010 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/usb/gadget/langwell_udc.c: printk needs a (unsigned long long) cast for a dma_t

---

drivers/usb/gadget/langwell_udc.c +3 -3
index a391351..d41b69c 100644
@@ -842,9 +841,9 @@ static int langwell_ep_queue(struct usb_ep *_ep, struct usb_request *_req,
 		VDBG(dev, "req->mapped = 0\n");
 	}
 
-	DBG(dev, "%s queue req %p, len %u, buf %p, dma 0x%08x\n",
-			_ep->name,
-			_req, _req->length, _req->buf, _req->dma);
+	DBG(dev, "%s queue req %p, len %u, buf %p, dma 0x%08llx\n",
+	    _ep->name,
+	    _req, _req->length, _req->buf, (unsigned long long)_req->dma);
 
 	_req->status = -EINPROGRESS;
 	_req->actual = 0;
#1 lore raw

patch usb-gadget-langwell_udc.c-printk-needs-a-unsigned-long-long-cast-for-a-dma_t.patch added to gregkh-2.6 tree

This is a note to let you know that I've just added the patch titled

Subject: USB: gadget: langwell_udc.c: printk needs a (unsigned long long) cast for a dma_t

to my gregkh-2.6 tree. Its filename is

usb-gadget-langwell_udc.c-printk-needs-a-unsigned-long-long-cast-for-a-dma_t.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

Quoted 1 line

From [email protected] Wed Jun 16 13:30:08 2010

From: Joe Perches <[email protected]>
Date: Thu, 10 Jun 2010 19:20:43 -0700
Subject: USB: gadget: langwell_udc.c: printk needs a (unsigned long long) cast for a dma_t
To: Xiaochen Shen <[email protected]>
Cc: David Brownell <[email protected]>, Greg Kroah-Hartman <[email protected]>, linux-usb <[email protected]>, LKML <[email protected]>
Message-ID: <[email protected]>

---
 drivers/usb/gadget/langwell_udc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/usb/gadget/langwell_udc.c +3 -3
@@ -842,9 +842,9 @@ static int langwell_ep_queue(struct usb_
 		VDBG(dev, "req->mapped = 0\n");
 	}
 
-	DBG(dev, "%s queue req %p, len %u, buf %p, dma 0x%08x\n",
-			_ep->name,
-			_req, _req->length, _req->buf, _req->dma);
+	DBG(dev, "%s queue req %p, len %u, buf %p, dma 0x%08llx\n",
+	    _ep->name,
+	    _req, _req->length, _req->buf, (unsigned long long)_req->dma);
 
 	_req->status = -EINPROGRESS;
 	_req->actual = 0;