mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Mark Brown <broonie@kernel.org>
Subject: sound/soc/renesas/dma-sh7760.c:62:3: sparse: sparse: symbol 'cam_pcm_data' was not declared. Should it be static?
Date: Tue, 17 Dec 2024 12:50:32 +0800	[thread overview]
Message-ID: <202412171210.7a4vH3Ew-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-12-17  4:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202412171210.7a4vH3Ew-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®