mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kate Hsuan <hpa@redhat.com>
Cc: kbuild-all@lists.01.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Hans de Goede <hdegoede@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: [linux-platform-drivers-x86:review-hans 60/78] arch/x86/include/asm/intel_scu_ipc.h:64: undefined reference to `intel_scu_ipc_dev_command_with_size'
Date: Fri, 20 Aug 2021 01:07:38 +0800	[thread overview]
Message-ID: <202108200128.7IIik1VH-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   b1341d3e93b26a85bb765f7eddd717d409bc1ef8
commit: 05c8d91f374b5dceeb322221eca48077005b1686 [60/78] platform/x86: intel_scu: Move to intel sub-directory
config: i386-randconfig-m021-20210819 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?id=05c8d91f374b5dceeb322221eca48077005b1686
        git remote add linux-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
        git fetch --no-tags linux-platform-drivers-x86 review-hans
        git checkout 05c8d91f374b5dceeb322221eca48077005b1686
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

   ld: drivers/mfd/intel_pmc_bxt.o: in function `simplecmd_store':
   drivers/mfd/intel_pmc_bxt.c:181: undefined reference to `intel_scu_ipc_dev_simple_command'
   ld: drivers/mfd/intel_pmc_bxt.o: in function `northpeak_store':
   drivers/mfd/intel_pmc_bxt.c:221: undefined reference to `intel_scu_ipc_dev_simple_command'
   ld: drivers/mfd/intel_pmc_bxt.o: in function `intel_pmc_probe':
   drivers/mfd/intel_pmc_bxt.c:442: undefined reference to `__devm_intel_scu_ipc_register'
   ld: drivers/mfd/intel_soc_pmic_bxtwc.o: in function `intel_scu_ipc_dev_command':
>> arch/x86/include/asm/intel_scu_ipc.h:64: undefined reference to `intel_scu_ipc_dev_command_with_size'
>> ld: arch/x86/include/asm/intel_scu_ipc.h:64: undefined reference to `intel_scu_ipc_dev_command_with_size'
   ld: drivers/mfd/intel_soc_pmic_bxtwc.o: in function `bxtwc_probe':
>> drivers/mfd/intel_soc_pmic_bxtwc.c:456: undefined reference to `devm_intel_scu_ipc_dev_get'


vim +64 arch/x86/include/asm/intel_scu_ipc.h

f57fa18583f538 Mika Westerberg 2020-04-16  41  
f57fa18583f538 Mika Westerberg 2020-04-16  42  int intel_scu_ipc_dev_ioread8(struct intel_scu_ipc_dev *scu, u16 addr,
f57fa18583f538 Mika Westerberg 2020-04-16  43  			      u8 *data);
f57fa18583f538 Mika Westerberg 2020-04-16  44  int intel_scu_ipc_dev_iowrite8(struct intel_scu_ipc_dev *scu, u16 addr,
f57fa18583f538 Mika Westerberg 2020-04-16  45  			       u8 data);
f57fa18583f538 Mika Westerberg 2020-04-16  46  int intel_scu_ipc_dev_readv(struct intel_scu_ipc_dev *scu, u16 *addr,
f57fa18583f538 Mika Westerberg 2020-04-16  47  			    u8 *data, size_t len);
f57fa18583f538 Mika Westerberg 2020-04-16  48  int intel_scu_ipc_dev_writev(struct intel_scu_ipc_dev *scu, u16 *addr,
f57fa18583f538 Mika Westerberg 2020-04-16  49  			     u8 *data, size_t len);
f57fa18583f538 Mika Westerberg 2020-04-16  50  
f57fa18583f538 Mika Westerberg 2020-04-16  51  int intel_scu_ipc_dev_update(struct intel_scu_ipc_dev *scu, u16 addr,
f57fa18583f538 Mika Westerberg 2020-04-16  52  			     u8 data, u8 mask);
f57fa18583f538 Mika Westerberg 2020-04-16  53  
f57fa18583f538 Mika Westerberg 2020-04-16  54  int intel_scu_ipc_dev_simple_command(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 Mika Westerberg 2020-04-16  55  				     int sub);
f57fa18583f538 Mika Westerberg 2020-04-16  56  int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 Mika Westerberg 2020-04-16  57  					int sub, const void *in, size_t inlen,
f57fa18583f538 Mika Westerberg 2020-04-16  58  					size_t size, void *out, size_t outlen);
f57fa18583f538 Mika Westerberg 2020-04-16  59  
f57fa18583f538 Mika Westerberg 2020-04-16  60  static inline int intel_scu_ipc_dev_command(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 Mika Westerberg 2020-04-16  61  					    int sub, const void *in, size_t inlen,
f57fa18583f538 Mika Westerberg 2020-04-16  62  					    void *out, size_t outlen)
f57fa18583f538 Mika Westerberg 2020-04-16  63  {
f57fa18583f538 Mika Westerberg 2020-04-16 @64  	return intel_scu_ipc_dev_command_with_size(scu, cmd, sub, in, inlen,
f57fa18583f538 Mika Westerberg 2020-04-16  65  						   inlen, out, outlen);
f57fa18583f538 Mika Westerberg 2020-04-16  66  }
54b34aa0a7295c Mika Westerberg 2020-04-16  67  

:::::: The code at line 64 was first introduced by commit
:::::: f57fa18583f538786b66a045446617f5638f032a platform/x86: intel_scu_ipc: Introduce new SCU IPC API

:::::: TO: Mika Westerberg <mika.westerberg@linux.intel.com>
:::::: CC: Lee Jones <lee.jones@linaro.org>

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

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

                 reply	other threads:[~2021-08-19 17:08 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=202108200128.7IIik1VH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=hpa@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome