Hi Lorenzo, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.11-rc2 next-20240809] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Bianconi/dt-bindings-pwm-Document-Airoha-EN7581-PWM/20240810-143716 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/a03f5ea9291e39eab303696eb03fdd44cf04e8d9.1723264979.git.lorenzo%40kernel.org patch subject: [PATCH 2/2] pwm: airoha: Add support for EN7581 SoC config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240811/202408110329.6YGwCzoM-lkp@xxxxxxxxx/config) compiler: alpha-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240811/202408110329.6YGwCzoM-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202408110329.6YGwCzoM-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/pwm/pwm-airoha.c: In function 'airoha_pwm_config_waveform': >> drivers/pwm/pwm-airoha.c:239:26: error: implicit declaration of function '__bf_shf' [-Werror=implicit-function-declaration] 239 | val = (period << __bf_shf(mask)) & mask; | ^~~~~~~~ cc1: some warnings being treated as errors vim +/__bf_shf +239 drivers/pwm/pwm-airoha.c 231 232 static void airoha_pwm_config_waveform(struct airoha_pwm *pc, int index, 233 u32 duty, u32 period) 234 { 235 u32 mask, val; 236 237 /* Configure frequency divisor */ 238 mask = WAVE_GEN_CYCLE_MASK(index % 4); > 239 val = (period << __bf_shf(mask)) & mask; 240 airoha_pwm_cycle_rmw(pc, REG_CYCLE_CFG_VALUE(index / 4), mask, val); 241 242 /* Configure duty cycle */ 243 duty = ((DUTY_FULL - duty) << 8) | duty; 244 mask = GPIO_FLASH_PRD_MASK(index % 2); 245 val = (duty << __bf_shf(mask)) & mask; 246 airoha_pwm_flash_rmw(pc, REG_GPIO_FLASH_PRD_SET(index / 2), mask, val); 247 } 248 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki