USB: EHCI: fix type mismatch in check_intr_schedule
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 18 Oct 2013 15:13:08 +0000 (11:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2013 21:06:00 +0000 (14:06 -0700)
This patch fixes a type mismatch in ehci-hcd caused by commit
b35c5009bbf6 (USB: EHCI: create per-TT bandwidth tables).  The c_maskp
parameter in check_intr_schedule() was changed to point to unsigned
int rather than __hc32, but the prototype declaration wasn't adjusted
accordingly.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sched.c

index 7ce5c2a..fbeb82e 100644 (file)
@@ -794,7 +794,7 @@ static int check_intr_schedule (
        unsigned                frame,
        unsigned                uframe,
        struct ehci_qh          *qh,
-       __hc32                  *c_maskp,
+       unsigned                *c_maskp,
        struct ehci_tt          *tt
 )
 {