Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1315575

Re: [PATCH] i2c: tegra: fix a possible NULL dereference

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH] i2c: tegra: fix a possible NULL dereference
Date 2016-01-23 12:00 +0100
Message-ID <qU45c-1tv-7@gated-at.bofh.it> (permalink)
References <qtUut-5Rs-9@gated-at.bofh.it> <qtZaO-nZ-21@gated-at.bofh.it> <qtZDP-z5-5@gated-at.bofh.it> <qu06S-ZA-13@gated-at.bofh.it> <qu0qe-16P-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@the-dreams.de>

All the best,

   Wolfram

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] i2c: tegra: fix a possible NULL dereference Wolfram Sang <wsa@the-dreams.de> - 2016-01-23 12:00 +0100

csiph-web