[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202401041120.UXiohfGq-lkp@intel.com>
Date: Thu, 4 Jan 2024 11:16:17 +0800
From: kernel test robot <lkp@...el.com>
To: Tobias Waldekranz <tobias@...dekranz.com>, davem@...emloft.net,
kuba@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, andrew@...n.ch, f.fainelli@...il.com,
olteanv@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] net: dsa: mv88e6xxx: Add LED support for
6393X
Hi Tobias,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Tobias-Waldekranz/net-dsa-mv88e6xxx-Add-LED-infrastructure/20240103-183726
base: net-next/main
patch link: https://lore.kernel.org/r/20240103103351.1188835-3-tobias%40waldekranz.com
patch subject: [PATCH net-next 2/2] net: dsa: mv88e6xxx: Add LED support for 6393X
config: arm64-randconfig-001-20240104 (https://download.01.org/0day-ci/archive/20240104/202401041120.UXiohfGq-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240104/202401041120.UXiohfGq-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/202401041120.UXiohfGq-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/dsa/mv88e6xxx/leds.c:77:22: warning: no previous prototype for 'mv88e6393x_led_map' [-Wmissing-prototypes]
77 | const unsigned long *mv88e6393x_led_map(struct mv88e6xxx_led *led)
| ^~~~~~~~~~~~~~~~~~
drivers/net/dsa/mv88e6xxx/leds.c:398:5: warning: no previous prototype for 'mv88e6xxx_port_setup_leds' [-Wmissing-prototypes]
398 | int mv88e6xxx_port_setup_leds(struct dsa_switch *ds, int port)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/mv88e6393x_led_map +77 drivers/net/dsa/mv88e6xxx/leds.c
76
> 77 const unsigned long *mv88e6393x_led_map(struct mv88e6xxx_led *led)
78 {
79 switch (led->port) {
80 case 1:
81 case 2:
82 case 3:
83 case 4:
84 case 5:
85 case 6:
86 case 7:
87 case 8:
88 return mv88e6393x_led_map_p1_p8[led->index];
89 case 9:
90 case 10:
91 return mv88e6393x_led_map_p9_p10[led->index];
92 }
93
94 return NULL;
95 }
96
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists