diff options
author | 2014-07-23 16:57:12 +0200 | |
---|---|---|
committer | 2014-08-04 13:39:28 +0900 | |
commit | 1cd1ea565f3ece26dff3a94bf73e4f6caae140b9 (patch) | |
tree | 45fd7753722b2795c9f81134beed6fb68c664be1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/exynos: hdmi: add null check for hdmiphy_port (diff) | |
download | linux-dev-1cd1ea565f3ece26dff3a94bf73e4f6caae140b9.tar.xz linux-dev-1cd1ea565f3ece26dff3a94bf73e4f6caae140b9.zip |
drm/exynos: g2d: make ioctls more robust
Both exynos_g2d_set_cmdlist_ioctl and exynos_g2d_exec_ioctl don't check
if the G2D was succesfully probe. If that is not the case, then g2d_priv
is just NULL and extracting 'dev' from it in the next step is going to
produce a kernel oops.
Add proper checks and return ENODEV if the G2D is not available.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: INki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions