public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] i2c: busses: i2c-pxa.c:  Fix for possible null pointer dereferenc
@ 2014-06-29 23:28 Rickard Strandqvist
  2014-06-29 23:28 ` Rickard Strandqvist
  0 siblings, 1 reply; 7+ messages in thread
From: Rickard Strandqvist @ 2014-06-29 23:28 UTC (permalink / raw)
  To: Wolfram Sang, Grant Likely
  Cc: Rickard Strandqvist, Rob Herring, Jingoo Han, Leilei Shang,
	Peter Korsgaard, linux-i2c, linux-kernel, devicetree

After discussion with especially Wolfram it was decided to convert the code to use the Managed Device Resource.
I have now tried to create a patch with Devres, hope it is correct.
But a code review is probably more relevant than usual.
I also lack this kind of hardware so preferably should someone do a HW test.

Rickard Strandqvist (1):
  i2c: busses: i2c-pxa.c:  Fix for possible null pointer dereferenc

 drivers/i2c/busses/i2c-pxa.c |   37 ++++++++++++++++---------------------
 1 file changed, 16 insertions(+), 21 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-03 19:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-29 23:28 [PATCH v2] i2c: busses: i2c-pxa.c: Fix for possible null pointer dereferenc Rickard Strandqvist
2014-06-29 23:28 ` Rickard Strandqvist
2014-06-30  0:05   ` Jingoo Han
2014-07-01 18:25     ` Rickard Strandqvist
2014-07-03  1:45       ` Jingoo Han
2014-07-03  8:41         ` Wolfram Sang
2014-07-03 19:46           ` Rickard Strandqvist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox