]> git.baikalelectronics.ru Git - kernel.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)
commit72478f1547386fca26a413ca4984267c42377198
tree718733cb1bdaea6feb4a831e14838d03d19ef85c
parent523d054febb2ee08d186e49afd596051c65c9a27
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