summaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorHai Lan <hai.lan@intel.com>2012-02-15 19:07:02 +0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-23 08:56:40 -0800
commit4e9bb47bd29e02f2daaa7bdb2a8ddf977bf76f06 (patch)
treea6067cdb859c1baee586136bbb43c7c822a66b79 /crypto/lrw.c
parent5ca0c34ae28344b6b4ca3036bc82f89c8db16a59 (diff)
downloadlinux-stable-4e9bb47bd29e02f2daaa7bdb2a8ddf977bf76f06.tar.gz
linux-stable-4e9bb47bd29e02f2daaa7bdb2a8ddf977bf76f06.tar.bz2
linux-stable-4e9bb47bd29e02f2daaa7bdb2a8ddf977bf76f06.zip
drm/i915: fix a sprite watermark computation to avoid divide by zero if xpos<0
When setting overlay position with x<0, it will divide 0 and make drm driver crash. Signed-off-by: Hai Lan <hai.lan@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions