[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091009201224.GA6208@rainbow>
Date: Sat, 10 Oct 2009 00:12:24 +0400
From: Dmitry Artamonow <mad_soft@...ox.ru>
To: Sergei Shtylyov <sshtylyov@...mvista.com>
Cc: Samuel Ortiz <samuel@...tiz.org>, netdev@...r.kernel.org,
Russell King <linux@....linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] irda/sa1100_ir: check return value of startup hook
On 16:14 Fri 09 Oct , Sergei Shtylyov wrote:
[...]
> > - if (si->pdata->startup)
> > - si->pdata->startup(si->dev);
> > + if (si->pdata->startup) {
> > + ret = si->pdata->startup(si->dev);
> > + if (ret)
> > + return ret;
> > + }
>
> Overindented brace.
>
Nice catch, thanks!
Updated patch in attachment.
--
Best regards,
Dmitry "MAD" Artamonow
View attachment "0001-irda-sa1100_ir-check-return-value-of-startup-hook.patch" of type "text/plain" (934 bytes)
Powered by blists - more mailing lists