summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-03 14:56:30 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-07 17:07:18 +0300
commit72a9ff3bf7fbd7e887d4e6bbc1c04817da2b9887 (patch)
treeea886cd7d7a609ea9617b163864689a04b8e54d5 /drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
parentb38f7aaef852c88b90caa115f1f64434bc347222 (diff)
downloadlinux-72a9ff3bf7fbd7e887d4e6bbc1c04817da2b9887.tar.xz
media: atomisp: get rid of -Wsuggest-attribute=format warnings
There are some warnings reported by gcc: drivers/staging/media/atomisp//pci/atomisp_compat_css20.c:164:2: warning: function ‘atomisp_css2_dbg_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] drivers/staging/media/atomisp//pci/atomisp_compat_css20.c:170:2: warning: function ‘atomisp_css2_dbg_ftrace_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] drivers/staging/media/atomisp//pci/atomisp_compat_css20.c:170:2: warning: function ‘atomisp_css2_dbg_ftrace_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] drivers/staging/media/atomisp//pci/atomisp_compat_css20.c:176:2: warning: function ‘atomisp_css2_err_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] drivers/staging/media/atomisp/pci/sh_css.c:1685:16: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] That are due to the usage of printf-like messages without enabling the error checking logic. Add the proper attributes in order to shut up such warnings. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c')
0 files changed, 0 insertions, 0 deletions