Content-Type: multipart/mixed; boundary="===============3229986884083367241==" MIME-Version: 1.0 From: Andy Shevchenko To: kbuild-all@lists.01.org Subject: Re: [PATCH v4] rtc: rx6110: add ACPI bindings to I2C Date: Tue, 16 Mar 2021 22:44:21 +0200 Message-ID: In-Reply-To: <202103170225.yRvbPVxM-lkp@intel.com> List-Id: --===============3229986884083367241== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Mar 17, 2021 at 03:04:36AM +0800, kernel test robot wrote: > Hi Claudius, > = > Thank you for the patch! Perhaps something to improve: > = > [auto build test WARNING on abelloni/rtc-next] > [also build test WARNING on v5.12-rc3 next-20210316] > [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/Claudius-Heine/rtc-rx611= 0-add-ACPI-bindings-to-I2C/20210316-225026 > base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.gi= t rtc-next > config: powerpc-randconfig-r006-20210316 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 50c7= 504a93fdb90c26870db8c8ea7add895c7725) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install powerpc cross compiling tool for clang build > # apt-get install binutils-powerpc-linux-gnu > # https://github.com/0day-ci/linux/commit/ec344b93b1b5f4c2c77ce68= b7bde7ec380e356a8 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Claudius-Heine/rtc-rx6110-add-AC= PI-bindings-to-I2C/20210316-225026 > git checkout ec344b93b1b5f4c2c77ce68b7bde7ec380e356a8 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross AR= CH=3Dpowerpc = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All warnings (new ones prefixed by >>): > = > >> drivers/rtc/rtc-rx6110.c:450:36: warning: unused variable 'rx6110_i2c_= acpi_match' [-Wunused-const-variable] > static const struct acpi_device_id rx6110_i2c_acpi_match[] =3D { > ^ > 1 warning generated. Precisely! This happens due to ACPI_PTR() presence. Either ACPI_PTR() _and_ ifdeffery = or none of them should be in the code. -- = With Best Regards, Andy Shevchenko --===============3229986884083367241==--