Commit:     03fc370bdc1b31f3d09bd88d65bc50c03f450a9d
Parent:     e6a20ff999fe849d1f5f15d5e14763f5a553778f
Author:     Satyam Sharma <[EMAIL PROTECTED]>
AuthorDate: Mon Sep 3 01:42:43 2007 +0530
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Tue Sep 11 07:48:17 2007 -0700

    USB: drivers/usb/serial/bus.c: Fix incompatible pointer type warning
    drivers/usb/serial/bus.c: In function usb_serial_bus_deregister:
    warning: passing argument 1 of free_dynids from incompatible pointer type
    Above build warning comes when CONFIG_HOTPLUG=n because argument of
    free_dynids() in serial/bus.c is a struct usb_serial_driver, not a
    struct usb_driver. This is not a runtime bug, because the function
    is an empty stub and never dereferences the passed pointer anyway.
    Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/serial/bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/serial/bus.c b/drivers/usb/serial/bus.c
index c08a384..a47a24f 100644
--- a/drivers/usb/serial/bus.c
+++ b/drivers/usb/serial/bus.c
@@ -138,7 +138,7 @@ static void free_dynids(struct usb_serial_driver *drv)
 static struct driver_attribute drv_attrs[] = {
-static inline void free_dynids(struct usb_driver *drv)
+static inline void free_dynids(struct usb_serial_driver *drv)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to