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-rx6110-add-ACPI-bindings-to-I2C/20210316-225026 > base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next > config: powerpc-randconfig-r006-20210316 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 50c7504a93fdb90c26870db8c8ea7add895c7725) > 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 powerpc cross compiling tool for clang build > # apt-get install binutils-powerpc-linux-gnu > # https://github.com/0day-ci/linux/commit/ec344b93b1b5f4c2c77ce68b7bde7ec380e356a8 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Claudius-Heine/rtc-rx6110-add-ACPI-bindings-to-I2C/20210316-225026 > git checkout ec344b93b1b5f4c2c77ce68b7bde7ec380e356a8 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc > > 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[] = { > ^ > 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