[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202507290730.7XZMyOM7-lkp@intel.com>
Date: Tue, 29 Jul 2025 07:36:57 +0800
From: kernel test robot <lkp@...el.com>
To: "Derek J. Clark" <derekjohn.clark@...il.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Hans de Goede <hansg@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Alok Tiwari <alok.a.tiwari@...cle.com>,
David Box <david.e.box@...ux.intel.com>,
"Derek J . Clark" <derekjohn.clark@...il.com>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hwmon@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH v3 3/4] platform/x86: (ayn-ec) Add RGB Interface
Hi Derek,
kernel test robot noticed the following build warnings:
[auto build test WARNING on groeck-staging/hwmon-next]
[also build test WARNING on linus/master v6.16 next-20250728]
[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/Derek-J-Clark/platform-x86-ayn-ec-Add-PWM-Fan-HWMON-Interface/20250727-044332
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20250726204041.516440-4-derekjohn.clark%40gmail.com
patch subject: [PATCH v3 3/4] platform/x86: (ayn-ec) Add RGB Interface
config: i386-randconfig-061-20250728 (https://download.01.org/0day-ci/archive/20250729/202507290730.7XZMyOM7-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250729/202507290730.7XZMyOM7-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507290730.7XZMyOM7-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/platform/x86/ayn-ec.c:87:5: sparse: sparse: symbol 'ayn_pwm_curve_registers' was not declared. Should it be static?
>> drivers/platform/x86/ayn-ec.c:753:18: sparse: sparse: symbol 'ayn_led_mc_subled_info' was not declared. Should it be static?
>> drivers/platform/x86/ayn-ec.c:774:24: sparse: sparse: symbol 'ayn_led_mc' was not declared. Should it be static?
vim +/ayn_led_mc_subled_info +753 drivers/platform/x86/ayn-ec.c
752
> 753 struct mc_subled ayn_led_mc_subled_info[] = {
754 {
755 .color_index = LED_COLOR_ID_RED,
756 .brightness = 0,
757 .intensity = 0,
758 .channel = AYN_LED_MC_RED_REG,
759 },
760 {
761 .color_index = LED_COLOR_ID_GREEN,
762 .brightness = 0,
763 .intensity = 0,
764 .channel = AYN_LED_MC_GREEN_REG,
765 },
766 {
767 .color_index = LED_COLOR_ID_BLUE,
768 .brightness = 0,
769 .intensity = 0,
770 .channel = AYN_LED_MC_BLUE_REG,
771 },
772 };
773
> 774 struct led_classdev_mc ayn_led_mc = {
775 .led_cdev = {
776 .name = "ayn:rgb:joystick_rings",
777 .brightness = 0,
778 .max_brightness = 255,
779 .brightness_set = ayn_led_mc_brightness_set,
780 .brightness_get = ayn_led_mc_brightness_get,
781 .color = LED_COLOR_ID_RGB,
782 },
783 .num_colors = ARRAY_SIZE(ayn_led_mc_subled_info),
784 .subled_info = ayn_led_mc_subled_info,
785 };
786
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists