]> git.baikalelectronics.ru Git - kernel.git/commit
sisfb: eliminate compiler warnings
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 20 Dec 2010 21:50:22 +0000 (23:50 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 22 Dec 2010 03:57:27 +0000 (12:57 +0900)
commit7ec2a5d0209200b9ad7d3d99764c943ff66e1e87
tree15dd1a717b1cc2f7d23775bd5250bef317872946
parent68dcd0c0515683d716d6ef157f0a0cd967e970ad
sisfb: eliminate compiler warnings

Convert some bit masks to 8-bit values to avoid the following compiler
warnings:

drivers/video/sis/sis_main.c:3858: warning: large integer implicitly truncated to unsigned type
drivers/video/sis/init301.c:5855: warning: large integer implicitly truncated to unsigned type
drivers/video/sis/init301.c:5869: warning: large integer implicitly truncated to unsigned type

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sis/init301.c
drivers/video/sis/sis_main.c