summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-01-14 09:59:02 +0100
committerMark Yao <mark.yao@rock-chips.com>2016-01-18 08:43:16 +0800
commit484bb6c969523aa547d854bb57104339ee4aa800 (patch)
treed08bb42e449d974fff215143a14cbba09017cb7f /include
parentc7647f8681feeb6c0957e3cf5daed1fbf8b3a5af (diff)
downloadlinux-stable-484bb6c969523aa547d854bb57104339ee4aa800.tar.gz
linux-stable-484bb6c969523aa547d854bb57104339ee4aa800.tar.bz2
linux-stable-484bb6c969523aa547d854bb57104339ee4aa800.zip
drm/rockchip/dsi: fix handling mipi_dsi_pixel_format_to_bpp result
The function can return negative value so it should be assigned to signed variable. The problem has been detected using patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions