gma500: medfield: Fix possible NULL pointer dereference
authorSyam Sidhardhan <syamsidhardh@gmail.com>
Sun, 24 Feb 2013 22:31:48 +0000 (04:01 +0530)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 13 Mar 2013 21:37:32 +0000 (22:37 +0100)
commit22ccb2a146f92b81cc5731db8c1ee2316cca3576
tree0aabe6511bcbcfa40c9dd357181798bdfbe7b709
parentbc6a541941df6e05b0c53133537ce4cf31336c3f
gma500: medfield: Fix possible NULL pointer dereference

The use of pointer sender should be after the NULL check.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
drivers/gpu/drm/gma500/mdfld_dsi_output.c