mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] USB: libusual: fix warning on 64bit boxes
We cast an int to a void * which not unreasonably makes gcc suspicious. We don't actually care what type "type" is so use unsigned long so it matches pointer length on all platforms. Signed-off-by: Alan Cox <[email protected]> Acked-by: Pete Zaitcev <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
5d68dfcf3a
commit
6d453b9e30
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ EXPORT_SYMBOL_GPL(usb_usual_check_type);
|
|||
static int usu_probe(struct usb_interface *intf,
|
||||
const struct usb_device_id *id)
|
||||
{
|
||||
int type;
|
||||
unsigned long type;
|
||||
int rc;
|
||||
unsigned long flags;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue