Re: [PATCH] video: fbdev: sis: use explicitly signed char

From
Helge Deller <deller@gmx.de>
Date
2022-10-25 13:02:20
Also in
dri-devel, linux-usb, lkml
Reply to
Jason A. Donenfeld, 2022-10-25
On 10/25/22 14:55, Jason A. Donenfeld wrote:
On Mon, Oct 24, 2022 at 8:29 PM Helge Deller [off-list ref] wrote:
quoted
On 10/24/22 18:29, Jason A. Donenfeld wrote:
quoted
With char becoming unsigned by default, and with `char` alone being
ambiguous and based on architecture, signed chars need to be marked
explicitly as such. This fixes warnings like:

drivers/video/fbdev/sis/init301.c:3549 SiS_GetCRT2Data301() warn: 'SiS_Pr->SiS_EModeIDTable[ModeIdIndex]->ROMMODEIDX661' is unsigned

Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Helge Deller <deller@gmx.de>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Applied to linux-fbdev git tree.
For 6.1 as a fix, right? Since this is already broken on, e.g., ARM.
Yes.

Helge
Thread (5 messages) 5 messages, 3 authors, last reply 2022-10-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help