[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140710120202.GG2728@katana>
Date: Thu, 10 Jul 2014 14:02:02 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
Cc: Emil Goode <emilgoode@...il.com>,
Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Jingoo Han <jg1.han@...sung.com>,
Leilei Shang <shangll@...vell.com>,
Peter Korsgaard <peter@...sgaard.com>,
linux-i2c@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [PATCH v3] i2c: busses: i2c-pxa.c: Fix for possible null pointer
dereferenc
> Ok then, Wolfram!
>
> Keep only:
>
> ereqirq:
> clk_disable_unprepare(i2c->clk);
>
> And let everyone else just return?
I haven't looked at the details, but when you simply can return, do it.
> It is rather pointless to add something in a patch, to remove it in the next.
Yup, just say in the patch description that it fixes this bug.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists