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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202011030004.noB6LZ2F-lkp@intel.com>
Date:   Tue, 3 Nov 2020 00:57:40 +0800
From:   kernel test robot <lkp@...el.com>
To:     Liu Shixin <liushixin2@...wei.com>,
        Khalil Blaiech <kblaiech@...lanox.com>,
        Wolfram Sang <wsa-dev@...g-engineering.com>,
        Vadim Pasternak <vadimp@...lanox.com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
        Liu Shixin <liushixin2@...wei.com>
Subject: Re: [PATCH] i2c: mlxbf: Fix build error with CONFIG_ACPI disabled

Hi Liu,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on v5.10-rc2 next-20201102]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Liu-Shixin/i2c-mlxbf-Fix-build-error-with-CONFIG_ACPI-disabled/20201102-194848
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: arm64-randconfig-r002-20201102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cc91554ebb66e8c9a4b8c67ca2f1343eaac10cf6)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/0day-ci/linux/commit/296e051e7e4a229ffefca237fd399a08c9ace3c4
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Liu-Shixin/i2c-mlxbf-Fix-build-error-with-CONFIG_ACPI-disabled/20201102-194848
        git checkout 296e051e7e4a229ffefca237fd399a08c9ace3c4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/i2c/busses/i2c-mlxbf.c:2267:36: warning: unused variable 'mlxbf_i2c_acpi_ids' [-Wunused-const-variable]
   static const struct acpi_device_id mlxbf_i2c_acpi_ids[] = {
                                      ^
   1 warning generated.

vim +/mlxbf_i2c_acpi_ids +2267 drivers/i2c/busses/i2c-mlxbf.c

b5b5b32081cd206 Khalil Blaiech 2020-09-22  2266  
b5b5b32081cd206 Khalil Blaiech 2020-09-22 @2267  static const struct acpi_device_id mlxbf_i2c_acpi_ids[] = {
b5b5b32081cd206 Khalil Blaiech 2020-09-22  2268  	{ "MLNXBF03", (kernel_ulong_t)&mlxbf_i2c_chip[MLXBF_I2C_CHIP_TYPE_1] },
b5b5b32081cd206 Khalil Blaiech 2020-09-22  2269  	{ "MLNXBF23", (kernel_ulong_t)&mlxbf_i2c_chip[MLXBF_I2C_CHIP_TYPE_2] },
b5b5b32081cd206 Khalil Blaiech 2020-09-22  2270  	{},
b5b5b32081cd206 Khalil Blaiech 2020-09-22  2271  };
b5b5b32081cd206 Khalil Blaiech 2020-09-22  2272  

---
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" (45648 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ