From: Zhenyu Wang Date: Fri, 17 Oct 2008 05:15:48 +0000 (+0800) Subject: drm: Set cliprects to NULL when changing drawable to having 0 cliprects. X-Git-Tag: v2.6.28-rc1~28^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=863842736fb4571b22e0f7f4696bf13eeec57166;p=pandora-kernel.git 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 Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed