[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:14 +0000 (20:22 +0300)
commit2b7f34a85dff244409d7121c2cf9c5b5f94f1506
tree55ff3a1103ee794920ee213a5bf3160a83655560
parent3d96b3ff4faf1e48836b696770543b0f5fef2ebb
[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