aboutsummaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-10-17 13:15:48 +0800
committerDave Airlie <airlied@redhat.com>2008-10-23 13:42:26 +1000
commit863842736fb4571b22e0f7f4696bf13eeec57166 (patch)
tree4a3403a8e0577f7dc562f8e2bf7b4071fc0c6be4 /mm/truncate.c
parente9d21d7f5ae1e625f3687d88bb50b00478c533ad (diff)
drm: Set cliprects to NULL when changing drawable to having 0 cliprects.
This avoids setting the cliprects pointer to a zero-sized allocation. Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions