diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-18 06:21:30 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-10-03 21:06:01 -0400 |
commit | 53bd5556547d72fb9c572d66c3b7bfe0f096972b (patch) | |
tree | f1e190dc74fd584dc2466233643dc1f2ad40bd99 /lib/mpi/mpiutil.c | |
parent | 291257cf4cb0da1e32b672b88e73d22d845c8f93 (diff) |
drm/exynos: Fix potential NULL pointer dereference
drm_mode_create() returns NULL if it fails to create
a new display mode. Check the value returned to avoid NULL
pointer deferencing later.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions