[PATCH] powerpc/usb: fix build warning
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Thu Oct 25 01:01:32 EST 2012
> index 9bfde82..968f751 100644
> --- a/drivers/usb/host/ehci-fsl.c
> +++ b/drivers/usb/host/ehci-fsl.c
> @@ -222,7 +222,7 @@ static int ehci_fsl_setup_phy(struct usb_hcd *hcd,
>
> if (pdata->controller_ver < 0) {
> dev_warn(hcd->self.controller, "Could not get controller version\n");
> - return;
> + return -EINVAL;
> }
>
> portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]);
Another patch (USB: ehci-fsl: Return valid error in ehci_fsl_setup_phy)
by-passed Greg and went via Linus into tree and is available in v3.7-rc2.
Sebastian
More information about the Linuxppc-dev
mailing list