Messages in this thread Patch in this message | | | Subject | [PATCH] USB: fix build warning in usb core as pointed out by Andrew. | Date | Mon, 20 Jun 2005 15:59:26 -0700 | From | Greg KH <> |
| |
[PATCH] USB: fix build warning in usb core as pointed out by Andrew.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Index: gregkh-2.6/drivers/usb/core/usb.c ===================================================================
--- commit ff710710eae73990dd484ea8e37dba636452502b tree c764773894a10b5650f81b32e86751b97e54706e parent 126eddfbf8cae8a20c22708192bffcbd77c8a889 author gregkh@suse.de <gregkh@suse.de> Thu, 24 Mar 2005 00:44:28 -0800 committer Greg Kroah-Hartman <gregkh@suse.de> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |