kernel test robot <lkp@xxxxxxxxx> wrote: > > Hi Bitterblue, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on wireless-next/main] > [also build test ERROR on wireless/main linus/master v6.13-rc6 next-20241220] > [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/Bitterblue-Smith/wifi-rtw88-Add-support-for-LED-blinkin > g/20250106-030830 > base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main > patch link: https://lore.kernel.org/r/57c7d192-97ee-4da1-87a8-f040e9b8e3d1%40gmail.com > patch subject: [PATCH v2] wifi: rtw88: Add support for LED blinking > config: sh-allmodconfig > (https://download.01.org/0day-ci/archive/20250106/202501061046.U1iOSkRv-lkp@xxxxxxxxx/config) > compiler: sh4-linux-gcc (GCC) 14.2.0 > reproduce (this is a W=1 build): > (https://download.01.org/0day-ci/archive/20250106/202501061046.U1iOSkRv-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/202501061046.U1iOSkRv-lkp@xxxxxxxxx/ > > All error/warnings (new ones prefixed by >>): > > >> drivers/net/wireless/realtek/rtw88/led.c:19:6: error: redefinition of 'rtw_led_init' > 19 | void rtw_led_init(struct rtw_dev *rtwdev) > | ^~~~~~~~~~~~ As led.c is built, CONFIG_LEDS_CLASS=y in Makefile. > In file included from drivers/net/wireless/realtek/rtw88/led.c:7: > drivers/net/wireless/realtek/rtw88/led.h:15:13: note: previous definition of 'rtw_led_init' with type > 'void(struct rtw_dev *)' > 15 | static void rtw_led_init(struct rtw_dev *rtwdev) > | ^~~~~~~~~~~~ However, weirdly CONFIG_LEDS_CLASS isn't defined in led.h. By the way, my local build with selected CONFIG_LEDS_CLASS is fine.