]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: renesas: Fix non-static global variable
authorsongxiebing <songxiebing@kylinos.cn>
Wed, 25 Mar 2026 02:28:04 +0000 (10:28 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2026 13:06:02 +0000 (13:06 +0000)
commite113ed3e73b91194a39bf6a9207a3598827f0033
tree4d938260d95991bdb2d7c6dbea92f934536699a9
parent951a4e8589b3ee6e889ed97fb9896df197dd88e7
ASoC: renesas: Fix non-static global variable

When using global variables in a .c file only,it is necessary to add
the keyword "static", so here fix the warning.

sparse warnings: (new ones prefixed by >>)
>> sound/soc/renesas/dma-sh7760.c:62:3: sparse: sparse: symbol
'cam_pcm_data' was not declared. Should it be static?

Signed-off-by: songxiebing <songxiebing@kylinos.cn>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412171210.7a4vH3Ew-lkp@intel.com/
Link: https://patch.msgid.link/20260325022804.253353-1-songxiebing@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/dma-sh7760.c