All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] media: staging: atomisp:
@ 2018-05-11 15:06 ` Christophe JAILLET
  0 siblings, 0 replies; 16+ messages in thread
From: Christophe JAILLET @ 2018-05-11 15:06 UTC (permalink / raw)
  To: alan, sakari.ailus, mchehab, gregkh, andriy.shevchenko,
	chen.chenchacha, keescook, arvind.yadav.cs
  Cc: linux-media, devel, linux-kernel, kernel-janitors,
	Christophe JAILLET

These 3 patches fixes (at least I hope) some issues found in or around
'lm3554_probe()'.

Please review them carefully. I've only compile tested the changes and
I propose them because they sound logical to me.

The first one, return an error code instead of 0 if the call to an
initialisation function fails.
The 2nd one reorders own some label are reached in order to have a logical
flow (first error goes to last label, last error goes to first label)
The 3rd one fix the use 'media_entity_cleanup()'. If this one is correct,
some other drivers will need to be fixed the same way.  

Christophe JAILLET (3):
  media: staging: atomisp: Return an error code in case
    of error in 'lm3554_probe()'
  media: staging: atomisp: Fix an error handling path in
    'lm3554_probe()'
  media: staging: atomisp: Fix usage of 'media_entity_cleanup()'

 .../media/atomisp/i2c/atomisp-lm3554.c        | 20 +++++++++----------
 1 file changed, 9 insertions(+), 11 deletions(-)

-- 
2.17.0


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

end of thread, other threads:[~2018-05-11 15:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11 15:06 [PATCH 0/3] media: staging: atomisp: Christophe JAILLET
2018-05-11 15:06 ` Christophe JAILLET
2018-05-11 15:06 ` Christophe JAILLET
2018-05-11 15:06 ` [PATCH 1/3] media: staging: atomisp: Return an error code in case of error in 'lm3554_probe()' Christophe JAILLET
2018-05-11 15:06   ` Christophe JAILLET
2018-05-11 15:06   ` Christophe JAILLET
2018-05-11 15:06 ` [PATCH 2/3] media: staging: atomisp: Fix an error handling path " Christophe JAILLET
2018-05-11 15:06   ` Christophe JAILLET
2018-05-11 15:06   ` Christophe JAILLET
2018-05-11 15:09   ` Julia Lawall
2018-05-11 15:09     ` Julia Lawall
2018-05-11 15:31     ` Alan Cox
2018-05-11 15:31       ` Alan Cox
2018-05-11 15:06 ` [PATCH 3/3] media: staging: atomisp: Fix usage of 'media_entity_cleanup()' Christophe JAILLET
2018-05-11 15:06   ` Christophe JAILLET
2018-05-11 15:06   ` Christophe JAILLET

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.