[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200802241214.46817.rjw@sisk.pl>
Date: Sun, 24 Feb 2008 12:14:46 +0100
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Greg KH <greg@...ah.com>, tony.olech@...ndigitalsystems.com,
LKML <linux-kernel@...r.kernel.org>, linux-next@...r.kernel.org
Subject: Re: [PATCH] u132-hcd: add missing braces
On Sunday, 24 of February 2008, Stephen Rothwell wrote:
>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
Thanks, this has been fixed already in the mainline.
> ---
> drivers/usb/host/u132-hcd.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> Discovered while building Linus' tree for today's linux-next. Not the
> correct patch, but allowed compilation to succeed.
>
> diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c
> index 6fca069..648ad1a 100644
> --- a/drivers/usb/host/u132-hcd.c
> +++ b/drivers/usb/host/u132-hcd.c
> @@ -3221,11 +3221,13 @@ static int u132_suspend(struct platform_device *pdev, pm_message_t state)
> break;
> case PM_EVENT_SUSPEND:
> case PM_EVENT_HIBERNATE:
> + {
> int ports = MAX_U132_PORTS;
> while (ports-- > 0) {
> port_power(u132, ports, 0);
> }
> break;
> + }
> }
> if (retval == 0)
> pdev->dev.power.power_state = state;
> --
> 1.5.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists