Re: [PATCH 2/2] backlight: aw99706: Add support for Awinic AW99706 backlight
From: kernel test robot
Date: Mon Oct 27 2025 - 08:13:28 EST
Hi Junjie,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-backlight/for-backlight-next]
[also build test WARNING on lee-leds/for-leds-next linus/master lee-backlight/for-backlight-fixes v6.18-rc3 next-20251027]
[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/Junjie-Cao/backlight-aw99706-Add-support-for-Awinic-AW99706-backlight/20251026-214135
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git for-backlight-next
patch link: https://lore.kernel.org/r/20251026123923.1531727-3-caojunjie650%40gmail.com
patch subject: [PATCH 2/2] backlight: aw99706: Add support for Awinic AW99706 backlight
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20251027/202510271932.kN86aCge-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251027/202510271932.kN86aCge-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/202510271932.kN86aCge-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/video/backlight/aw99706.c:468:12: warning: 'aw99706_resume' defined but not used [-Wunused-function]
468 | static int aw99706_resume(struct device *dev)
| ^~~~~~~~~~~~~~
>> drivers/video/backlight/aw99706.c:461:12: warning: 'aw99706_suspend' defined but not used [-Wunused-function]
461 | static int aw99706_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~
vim +/aw99706_resume +468 drivers/video/backlight/aw99706.c
460
> 461 static int aw99706_suspend(struct device *dev)
462 {
463 struct aw99706_device *aw = dev_get_drvdata(dev);
464
465 return aw99706_update_brightness(aw, 0);
466 }
467
> 468 static int aw99706_resume(struct device *dev)
469 {
470 struct aw99706_device *aw = dev_get_drvdata(dev);
471
472 return aw99706_hw_init(aw);
473 }
474
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki