projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
126eddf
)
[PATCH] USB: fix build warning in usb core as pointed out by Andrew.
author
gregkh@suse.de
<gregkh@suse.de>
Thu, 24 Mar 2005 08:44:28 +0000
(
00:44
-0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Jun 2005 22:15:26 +0000
(15:15 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Index: gregkh-2.6/drivers/usb/core/usb.c
===================================================================
drivers/usb/core/usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/usb.c
b/drivers/usb/core/usb.c
index a64974397e8e0023576fd387f667053e254c6296..230839ac5c09cbe01f1e0e170647c36499c84f96 100644
(file)
--- a/
drivers/usb/core/usb.c
+++ b/
drivers/usb/core/usb.c
@@
-492,7
+492,7
@@
static int __find_interface(struct device * dev, void * data)
*/
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);