[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <12736213841919@kroah.org>
Date: Tue, 11 May 2010 16:43:04 -0700
From: <gregkh@...e.de>
To: randy.dunlap@...cle.com, gregkh@...e.de,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
sfr@...b.auug.org.au
Subject: patch usb-fix-u132-hcd-code-data-warning.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: fix u132-hcd code/data warning
to my gregkh-2.6 tree. Its filename is
usb-fix-u132-hcd-code-data-warning.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From randy.dunlap@...cle.com Tue May 11 16:25:40 2010
From: Randy Dunlap <randy.dunlap@...cle.com>
Date: Thu, 6 May 2010 16:46:03 -0700
Subject: USB: fix u132-hcd code/data warning
To: Stephen Rothwell <sfr@...b.auug.org.au>, gregkh@...e.de
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>, lud <linux-usb@...r.kernel.org>
Message-ID: <20100506164603.5c5107b7.randy.dunlap@...cle.com>
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix gcc warning on mixed declarations/code:
drivers/usb/host/u132-hcd.c:1450: warning: ISO C90 forbids mixed declarations and code
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
drivers/usb/host/u132-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/usb/host/u132-hcd.c
+++ b/drivers/usb/host/u132-hcd.c
@@ -1446,9 +1446,9 @@ static void u132_hcd_endp_work_scheduler
return;
} else {
int retval;
- address = u132->addr[endp->usb_addr].address;
struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK &
endp->queue_next];
+ address = u132->addr[endp->usb_addr].address;
endp->active = 1;
ring->curr_endp = endp;
ring->in_use = 1;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists