Re: [PATCH] gma500: medfield: fix potential NULL pointerdereference in mdfld_dsi_output_init()
From: Alan Cox
Date: Mon Oct 08 2012 - 08:22:13 EST
On Sun, 7 Oct 2012 21:56:45 +0800
Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> The dereference should be moved below the NULL test.
The !dev check just wants removing I think - it's a bogus check in the
first place.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/