[PATCH] i.MX6: WEIM: put node reference on early loop exit

Sascha Hauer s.hauer at pengutronix.de
Sun Feb 15 21:47:02 PST 2015


On Fri, Feb 13, 2015 at 09:33:04AM -0800, alison at she-devel.com wrote:
> From: Alison Chaiken <alison_chaiken at mentor.com>
> 
> Signed-off-by: Alison Chaiken <alison_chaiken at mentor.com>

Acked-by: Sascha Hauer <s.hauer at pengutronix.de>

Looking at the code I get the question why the current code bails out on
error. Wouldn't it be better to just skip erroneous child devices and
issue a warning?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list