Re: [PATCH 1/1] drm/sti: use seq_puts to display a string

2017-05-09 Thread Benjamin Gaignard
2017-03-31 21:25 GMT+02:00 Nicolas Iooss : > gdp_dbg_ctl() uses seq_printf() to display a color format name even > though there is no format string. When using -Wformat-string, gcc > reports the following warning: > > drivers/gpu/drm/sti/sti_gdp.c: In function 'gdp_dbg_ctl': > drivers/gpu/d

[PATCH 1/1] drm/sti: use seq_puts to display a string

2017-03-31 Thread Nicolas Iooss
gdp_dbg_ctl() uses seq_printf() to display a color format name even though there is no format string. When using -Wformat-string, gcc reports the following warning: drivers/gpu/drm/sti/sti_gdp.c: In function 'gdp_dbg_ctl': drivers/gpu/drm/sti/sti_gdp.c:150:18: warning: format not a string