mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sound/soc/renesas/dma-sh7760.c:62:3: sparse: sparse: symbol 'cam_pcm_data' was not declared. Should it be static?
@ 2024-12-17  4:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-17  4:50 UTC (permalink / raw)
  To: Lad Prabhakar; +Cc: oe-kbuild-all, linux-kernel, Mark Brown

Hi Lad,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f44d154d6e3d633d4c49a5d6aed8a0e4684ae25e
commit: c087a94bea49acf34d651f7308506fe462a937b3 ASoC: Rename "sh" to "renesas"
date:   7 weeks ago
config: sh-randconfig-r113-20241217 (https://download.01.org/0day-ci/archive/20241217/202412171210.7a4vH3Ew-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241217/202412171210.7a4vH3Ew-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412171210.7a4vH3Ew-lkp@intel.com/

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?

vim +/cam_pcm_data +62 sound/soc/renesas/dma-sh7760.c

aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  48  
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  49  
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  50  struct camelot_pcm {
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  51  	unsigned long mmio;  /* DMABRG audio channel control reg MMIO */
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  52  	unsigned int txid;    /* ID of first DMABRG IRQ for this unit */
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  53  
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  54  	struct snd_pcm_substream *tx_ss;
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  55  	unsigned long tx_period_size;
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  56  	unsigned int  tx_period;
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  57  
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  58  	struct snd_pcm_substream *rx_ss;
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  59  	unsigned long rx_period_size;
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  60  	unsigned int  rx_period;
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  61  
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14 @62  } cam_pcm_data[2] = {
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  63  	{
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  64  		.mmio	=	0xFE3C0040,
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  65  		.txid	=	DMABRGIRQ_A0TXF,
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  66  	},
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  67  	{
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  68  		.mmio	=	0xFE3C0060,
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  69  		.txid	=	DMABRGIRQ_A1TXF,
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  70  	},
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  71  };
aef3b06ac69783 sound/soc/sh/dma-sh7760.c Manuel Lauss 2007-05-14  72  

:::::: The code at line 62 was first introduced by commit
:::::: aef3b06ac69783d6a6d1e4357c62bab46dd16141 [ALSA] SH7760 ASoC support

:::::: TO: Manuel Lauss <mano@roarinelk.homelinux.net>
:::::: CC: Jaroslav Kysela <perex@suse.cz>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-17  4:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-17  4:50 sound/soc/renesas/dma-sh7760.c:62:3: sparse: sparse: symbol 'cam_pcm_data' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®