Re: [PATCH v2 2/2] auxdisplay: panel: avoid gcc 8's Wstringop-truncation warning

2018-08-01 Thread Miguel Ojeda
On Wed, Aug 1, 2018 at 8:47 PM, Kees Cook wrote: > On Wed, Aug 1, 2018 at 10:58 AM, Miguel Ojeda > wrote: >> Let gcc know it is not meant to be NUL-terminated by annotating with >> the new __nonstring variable attribute; and remove the comment since it >> conveys the same information. >> >> Cc: W

Re: [PATCH v2 2/2] auxdisplay: panel: avoid gcc 8's Wstringop-truncation warning

2018-08-01 Thread Kees Cook
On Wed, Aug 1, 2018 at 10:58 AM, Miguel Ojeda wrote: > Let gcc know it is not meant to be NUL-terminated by annotating with > the new __nonstring variable attribute; and remove the comment since it > conveys the same information. > > Cc: Willy Tarreau > Cc: Geert Uytterhoeven > Cc: Martin Sebor

[PATCH v2 2/2] auxdisplay: panel: avoid gcc 8's Wstringop-truncation warning

2018-08-01 Thread Miguel Ojeda
Let gcc know it is not meant to be NUL-terminated by annotating with the new __nonstring variable attribute; and remove the comment since it conveys the same information. Cc: Willy Tarreau Cc: Geert Uytterhoeven Cc: Martin Sebor Signed-off-by: Miguel Ojeda --- drivers/auxdisplay/panel.c | 7 +