[PATCH] gma500: medfield: fix potential NULL pointer dereference in mdfld_dsi_output_init()

Alan Cox alan at lxorguk.ukuu.org.uk
Mon Oct 8 05:27:10 PDT 2012

On Sun, 7 Oct 2012 21:56:45 +0800
Wei Yongjun <weiyj.lk at gmail.com> wrote:

> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 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.

More information about the dri-devel mailing list