OSDN Git Service

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)
commit2cdfe6520c939aff60bf78be2fc682e7635d0618
tree02f8964f483c428aea01e6277f419fbefa555142
parentae624a38be37e1a3127d5fa32c996e09974bb88d
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: 1f9c82b5ab83 ("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