]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: adg: supply __printf(x, y) formatting for dbg_msg()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 1 Jun 2021 23:43:28 +0000 (08:43 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 3 Jun 2021 12:56:38 +0000 (13:56 +0100)
commit8f29e4479f3d84106bb2b32cedb86606ce0a6e66
tree02f8964f483c428aea01e6277f419fbefa555142
parentb314f45b886e6bb7ffc2af7a6651bc3aee4a77b6
ASoC: rsnd: adg: supply __printf(x, y) formatting for dbg_msg()

Fixes the following W=1 kernel build warning(s):

sound/soc/sh/rcar/adg.c: In function 'dbg_msg':
sound/soc/sh/rcar/adg.c:594:2: warning: function 'dbg_msg' might \
 be a candidate for 'gnu_printf' format attribute\
 [-Wsuggest-attribute=format]

Fixes: 76258f841f18 ("ASoC: rsnd: add debugfs support")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87tumhi21r.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c