[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160123105645.GA2036@katana>
Date: Sat, 23 Jan 2016 11:56:46 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Cc: Thierry Reding <thierry.reding@...il.com>,
LABBE Corentin <montjoie.mailing@...il.com>,
LABBE Corentin <clabbe.montjoie@...il.com>, gnurou@...il.com,
ldewangan@...dia.com, swarren@...dotorg.org,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH] i2c: tegra: fix a possible NULL dereference
Hi Uwe,
> That's equivalent to
>
> if (dev->of_node)
> return of_driver_match_device(dev, drv);
>
> and was already suggested in the thread referenced from my reply to
> http://article.gmane.org/gmane.linux.kernel/2083641 :-)
Did you make a proper patch out of it? Can't find it, though I also
think this would be useful.
Acked-by: Wolfram Sang <wsa@...-dreams.de>
All the best,
Wolfram
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists