Hi Luca, I love your patch! Yet something to improve: [auto build test ERROR on lee-mfd/for-mfd-next] [also build test ERROR on abelloni/rtc-next linux/master linus/master v5.15-rc5 next-20211011] [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/Luca-Ceresoli/Add-MAX77714-PMIC-minimal-driver-RTC-and-watchdog-only/20211012-042754 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: hexagon-randconfig-r012-20211011 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7ae8f392a1610992c9a925c867fd7238c70d3ce0) 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 # https://github.com/0day-ci/linux/commit/6fc9e86fa2de7918c36cb31070f4d4eb7d48bff0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luca-Ceresoli/Add-MAX77714-PMIC-minimal-driver-RTC-and-watchdog-only/20211012-042754 git checkout 6fc9e86fa2de7918c36cb31070f4d4eb7d48bff0 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/mfd/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/mfd/max77686.c:90:10: error: use of undeclared identifier 'MAX77802_RTC_DATE' reg == MAX77802_RTC_DATE); ^ 1 error generated. vim +/MAX77802_RTC_DATE +90 drivers/mfd/max77686.c a259f3896a39ec Javier Martinez Canillas 2014-07-24 80 a259f3896a39ec Javier Martinez Canillas 2014-07-24 81 static bool max77802_rtc_is_volatile_reg(struct device *dev, unsigned int reg) a259f3896a39ec Javier Martinez Canillas 2014-07-24 82 { a259f3896a39ec Javier Martinez Canillas 2014-07-24 83 return (max77802_rtc_is_precious_reg(dev, reg) || a259f3896a39ec Javier Martinez Canillas 2014-07-24 84 reg == MAX77802_RTC_SEC || a259f3896a39ec Javier Martinez Canillas 2014-07-24 85 reg == MAX77802_RTC_MIN || a259f3896a39ec Javier Martinez Canillas 2014-07-24 86 reg == MAX77802_RTC_HOUR || a259f3896a39ec Javier Martinez Canillas 2014-07-24 87 reg == MAX77802_RTC_WEEKDAY || a259f3896a39ec Javier Martinez Canillas 2014-07-24 88 reg == MAX77802_RTC_MONTH || a259f3896a39ec Javier Martinez Canillas 2014-07-24 89 reg == MAX77802_RTC_YEAR || a259f3896a39ec Javier Martinez Canillas 2014-07-24 @90 reg == MAX77802_RTC_DATE); a259f3896a39ec Javier Martinez Canillas 2014-07-24 91 } a259f3896a39ec Javier Martinez Canillas 2014-07-24 92 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org