]> git.karo-electronics.de Git - mv-sheeva.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)
commit17d6ce11195fceda62af00beefde37e37a01337c
tree15dd1a717b1cc2f7d23775bd5250bef317872946
parent114776776a8e38fff5772efeef68fc3fdde76a82
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