diff options
author | Shailendra Verma <shailendra.v@samsung.com> | 2016-11-11 14:35:00 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2017-01-23 10:46:24 +0100 |
commit | 94d8b9b75c6118075ed54ad2fa0bea03c0f27145 (patch) | |
tree | ba120c37956ee714f3663c0be411ae3357b7bcf8 /drivers/gpu/drm/arm/malidp_drv.h | |
parent | drm/mgag200: Added support for the new device G200eH3 (diff) | |
download | linux-94d8b9b75c6118075ed54ad2fa0bea03c0f27145.tar.xz linux-94d8b9b75c6118075ed54ad2fa0bea03c0f27145.zip |
drm/arm/malidp: Fix possible dereference of NULL
There is possible deference of NULL pointer on return of
malidp_duplicate_plane_state() if kmalloc fails. Check the
returned kmalloc pointer before continuing.
Signed-off-by: Shailendra Verma <Shailendra.v@samsung.com>
[cleaned up the code and re-formatted the commit message]
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_drv.h')
0 files changed, 0 insertions, 0 deletions