]> git.karo-electronics.de Git - linux-beck.git/commit
drm/msm: deal with exhausted vmap space better
authorRob Clark <robdclark@gmail.com>
Tue, 24 May 2016 22:29:38 +0000 (18:29 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 4 Jun 2016 18:45:48 +0000 (14:45 -0400)
commit69a834c28fb514403eb91a4f0120da214a52e056
tree718733cb1bdaea6feb4a831e14838d03d19ef85c
parentab3ab68493aaac6fea4ad1bb597def9f48f41c71
drm/msm: deal with exhausted vmap space better

Some, but not all, callers of obj->vmap() would check if return
IS_ERR().  So let's actually return an error if vmap() fails.  And fixup
the call-sites that were not handling this properly.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_fbdev.c
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_rd.c
drivers/gpu/drm/msm/msm_ringbuffer.c