tree: https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git for-leds-next head: 4ba9df04b7ac66d2d000ed7ae2d8136302d99a57 commit: 55a8a5c16eb37e7723244337af04388557f4fa2f [13/15] leds: rgb: mt6370: Add MediaTek MT6370 current sink type LED Indicator support config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20230317/202303171729.CcgyFx17-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 12.1.0 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://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git/commit/?id=55a8a5c16eb37e7723244337af04388557f4fa2f git remote add lee-leds https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git git fetch --no-tags lee-leds for-leds-next git checkout 55a8a5c16eb37e7723244337af04388557f4fa2f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/leds/rgb/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202303171729.CcgyFx17-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/leds/rgb/leds-mt6370-rgb.c: In function 'mt6370_check_vendor_info': >> drivers/leds/rgb/leds-mt6370-rgb.c:889:15: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration] 889 | vid = FIELD_GET(MT6370_VENDOR_ID_MASK, devinfo); | ^~~~~~~~~ cc1: some warnings being treated as errors vim +/FIELD_GET +889 drivers/leds/rgb/leds-mt6370-rgb.c 879 880 static int mt6370_check_vendor_info(struct mt6370_priv *priv) 881 { 882 unsigned int devinfo, vid; 883 int ret; 884 885 ret = regmap_read(priv->regmap, MT6370_REG_DEV_INFO, &devinfo); 886 if (ret) 887 return ret; 888 > 889 vid = FIELD_GET(MT6370_VENDOR_ID_MASK, devinfo); 890 if (vid == MT6372_VENDOR_ID || vid == MT6372C_VENDOR_ID) { 891 priv->reg_fields = mt6372_reg_fields; 892 priv->ranges = mt6372_led_ranges; 893 priv->pdata = &mt6372_pdata; 894 } else { 895 /* Common for MT6370/71 */ 896 priv->reg_fields = common_reg_fields; 897 priv->ranges = common_led_ranges; 898 priv->pdata = &common_pdata; 899 } 900 901 return 0; 902 } 903 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests