summaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorStephane Viau <sviau@codeaurora.org>2015-01-16 13:22:14 -0500
committerRob Clark <robdclark@gmail.com>2015-02-01 15:32:47 -0500
commit2559d19f7650f08122747e7df2bf30e77c62674c (patch)
treea859f646b906858876b20a35b2be9cc2d9b98bf9 /fs/libfs.c
parentcddfaebdf7246994dcaca2fcee817d1030ae4b95 (diff)
downloadlinux-2559d19f7650f08122747e7df2bf30e77c62674c.tar.bz2
drm/msm/mdp5: Fix negative SMP block allocation
In case we request a number of SMP blocks which is lower than the already reserved blocks, we should not try to allocate a negative number, but 0 blocks instead. Signed-off-by: Stephane Viau <sviau@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions