All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [plbossart-sound:sdw/adl-topologies 5/5] sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:25: error: 'rt714_0_adr' undeclared here (not in a function); did you mean 'rt714_3_adr'?
Date: Fri, 02 Apr 2021 17:03:14 +0800	[thread overview]
Message-ID: <202104021712.sPw2x8yc-lkp@intel.com> (raw)

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

tree:   https://github.com/plbossart/sound sdw/adl-topologies
head:   5bebc74fbe99a03ca0868d89a91cee30ecea4091
commit: 5bebc74fbe99a03ca0868d89a91cee30ecea4091 [5/5] ASoC: Intel: soc-acpi: add ADL jack-less SoundWire configurations
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/plbossart/sound/commit/5bebc74fbe99a03ca0868d89a91cee30ecea4091
        git remote add plbossart-sound https://github.com/plbossart/sound
        git fetch --no-tags plbossart-sound sdw/adl-topologies
        git checkout 5bebc74fbe99a03ca0868d89a91cee30ecea4091
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 

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

All errors (new ones prefixed by >>):

   In file included from include/linux/list.h:9,
                    from include/linux/kobject.h:19,
                    from include/linux/of.h:17,
                    from include/linux/irqdomain.h:35,
                    from include/linux/acpi.h:13,
                    from include/sound/soc-acpi.h:10,
                    from sound/soc/intel/common/soc-acpi-intel-adl-match.c:8:
>> sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:25: error: 'rt714_0_adr' undeclared here (not in a function); did you mean 'rt714_3_adr'?
     211 |   .num_adr = ARRAY_SIZE(rt714_0_adr),
         |                         ^~~~~~~~~~~
   include/linux/kernel.h:49:33: note: in definition of macro 'ARRAY_SIZE'
      49 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
         |                                 ^~~
   In file included from include/linux/bits.h:22,
                    from include/linux/ioport.h:13,
                    from include/linux/acpi.h:12,
                    from include/sound/soc-acpi.h:10,
                    from sound/soc/intel/common/soc-acpi-intel-adl-match.c:8:
>> include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not an integer constant
      16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
         |                                                   ^
   include/linux/compiler.h:240:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
     240 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
         |                            ^~~~~~~~~~~~~~~~~
   include/linux/kernel.h:49:59: note: in expansion of macro '__must_be_array'
      49 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
         |                                                           ^~~~~~~~~~~~~~~
   sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:14: note: in expansion of macro 'ARRAY_SIZE'
     211 |   .num_adr = ARRAY_SIZE(rt714_0_adr),
         |              ^~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86


vim +211 sound/soc/intel/common/soc-acpi-intel-adl-match.c

   202	
   203	static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link2_rt714_link0[] = {
   204		{
   205			.mask = BIT(2),
   206			.num_adr = ARRAY_SIZE(rt1316_2_single_adr),
   207			.adr_d = rt1316_2_single_adr,
   208		},
   209		{
   210			.mask = BIT(0),
 > 211			.num_adr = ARRAY_SIZE(rt714_0_adr),
   212			.adr_d = rt714_0_adr,
   213		},
   214		{}
   215	};
   216	

---
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: 69101 bytes --]

                 reply	other threads:[~2021-04-02  9:03 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=202104021712.sPw2x8yc-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.