summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2026-09-25 18:59:17 +0200
committerMark Brown <broonie@kernel.org>2026-09-25 18:34:58 +0100
commitcc466c77059ea6ce734f909ff4b156b036334cc3 (patch)
tree0499d2e0569347795d26ff61c1bfdc1ba99261b1 /scripts/Makefile.thinlto
parent7c7df141dcabaa5370b5e52a9d64e2c1ea13a338 (diff)
downloadlinux-cc466c77059ea6ce734f909ff4b156b036334cc3.tar.gz
linux-cc466c77059ea6ce734f909ff4b156b036334cc3.zip
ASoC: airoha: Fix sparse warning for AN7581 AFE PCM
Fix sparse warning reported by kernel bot: sparse warnings: (new ones prefixed by >>) >> sound/soc/mediatek/an7581/an7581-afe-pcm.c:144:30: sparse: sparse: symbol 'an7581_afe_fe_ops' was not declared. Should it be static? >> sound/soc/mediatek/an7581/an7581-afe-pcm.c:419:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *base @@ got void [noderef] __iomem * @@ sound/soc/mediatek/an7581/an7581-afe-pcm.c:419:14: sparse: expected void *base sound/soc/mediatek/an7581/an7581-afe-pcm.c:419:14: sparse: got void [noderef] __iomem * >> sound/soc/mediatek/an7581/an7581-afe-pcm.c:439:42: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void [noderef] __iomem *regs @@ got void *base @@ sound/soc/mediatek/an7581/an7581-afe-pcm.c:439:42: sparse: expected void [noderef] __iomem *regs Make an7581_afe_fe_ops static and add __iomem for the base from devm_platform_ioremap_resource. Fixes: 4974ffa0d6c2 ("ASoC: airoha: Add AFE driver for Airoha AN7581") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202609242059.t4FlJzOz-lkp@intel.com/ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Link: https://patch.msgid.link/20260925165919.5407-1-ansuelsmth@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions