[COMMON] g2d: fix to access the NULL pointer
authorhyesoo.yu <hyesoo.yu@samsung.com>
Fri, 8 Sep 2017 05:33:48 +0000 (14:33 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:46 +0000 (14:27 +0900)
commitc4e7d5040d5eacb8a471dbf316c368a016aa92c8
tree0cc5e98e0895e47d9ce65bb9a9cd6e08c9f92e62
parent0067601570e8ab70d325baec1638783a0b087e3b
[COMMON] g2d: fix to access the NULL pointer

Fix referencing a pointer that might be null &mm->mmap_sem
when calling down_read

Change-Id: I5e960fac24e6218f0ef71fe33d8e72bfa119d268
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_uapi_process.c