All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-lts:5.4/preempt-rt 11369/19040] sound/soc/codecs/tlv320aic32x4.c:53:6: sparse: sparse: symbol 'aic32x4_reset_adc' was not declared. Should it be static?
Date: Mon, 08 Nov 2021 13:07:16 +0800	[thread overview]
Message-ID: <202111081358.UBFrv5Xs-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   36a2ba81b7c7178b0612363a1af6f22887905cc6
commit: fb165c21e3deb44542074fcf59fc5afeba4052d6 [11369/19040] ASoC: codec: tlv3204: Enable TDM audio support
config: i386-randconfig-s002-20210930 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/intel/linux-intel-lts/commit/fb165c21e3deb44542074fcf59fc5afeba4052d6
        git remote add intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-lts 5.4/preempt-rt
        git checkout fb165c21e3deb44542074fcf59fc5afeba4052d6
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash sound/soc/codecs/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/tlv320aic32x4.c:53:6: sparse: sparse: symbol 'aic32x4_reset_adc' was not declared. Should it be static?

vim +/aic32x4_reset_adc +53 sound/soc/codecs/tlv320aic32x4.c

    52	
  > 53	void aic32x4_reset_adc(struct snd_soc_component *component)
    54	{
    55		u32 adc_reg;
    56	
    57		adc_reg = snd_soc_component_read32(component, AIC32X4_ADCSETUP);
    58		snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg |
    59					AIC32X4_LADC_EN | AIC32X4_RADC_EN);
    60		snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg);
    61	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36587 bytes --]

                 reply	other threads:[~2021-11-08  5:07 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=202111081358.UBFrv5Xs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.