lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108200128.7IIik1VH-lkp@intel.com>
Date:   Fri, 20 Aug 2021 01:07:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kate Hsuan <hpa@...hat.com>
Cc:     kbuild-all@...ts.01.org,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Hans de Goede <hdegoede@...hat.com>,
        linux-kernel@...r.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'

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@...el.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@...ux.intel.com>
:::::: CC: Lee Jones <lee.jones@...aro.org>

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

Download attachment ".config.gz" of type "application/gzip" (33136 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ