[PATCH] USB: fix build warning in usb core as pointed out by Andrew.
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Index: gregkh-2.6/drivers/usb/core/usb.c
===================================================================
---
commit ff710710eae73990dd484ea8e37dba636452502b
tree c764773894a10b5650f81b32e86751b97e54706e
parent 126eddfbf8cae8a20c22708192bffcbd77c8a889
author [email protected] <[email protected]> Thu, 24 Mar 2005 00:44:28 -0800
committer Greg Kroah-Hartman <[email protected]> Mon, 20 Jun 2005 15:15:26 -0700
drivers/usb/core/usb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -492,7 +492,7 @@ static int __find_interface(struct devic
*/
struct usb_interface *usb_find_interface(struct usb_driver *drv, int minor)
{
- struct usb_interface *intf = (struct usb_interface *)minor;
+ struct usb_interface *intf = (struct usb_interface *)(long)minor;
int ret;
ret = driver_for_each_device(&drv->driver, NULL, &intf, __find_interface);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]