* Re: [PATCH net-next 1/2] net: dsa: mv88e6xxx: Add LED infrastructure
[not found] <20240103103351.1188835-2-tobias@waldekranz.com>
@ 2024-01-04 0:15 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-04 0:15 UTC (permalink / raw)
To: Tobias Waldekranz, davem, kuba
Cc: llvm, oe-kbuild-all, andrew, f.fainelli, olteanv, netdev
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-2-tobias%40waldekranz.com
patch subject: [PATCH net-next 1/2] net: dsa: mv88e6xxx: Add LED infrastructure
config: arm-orion5x_defconfig (https://download.01.org/0day-ci/archive/20240104/202401040808.PYrPvsd9-lkp@intel.com/config)
compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project 7e186d366d6c7def0543acc255931f617e76dff0)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240104/202401040808.PYrPvsd9-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401040808.PYrPvsd9-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/dsa/mv88e6xxx/leds.c:171:5: warning: no previous prototype for function 'mv88e6xxx_port_setup_leds' [-Wmissing-prototypes]
171 | int mv88e6xxx_port_setup_leds(struct dsa_switch *ds, int port)
| ^
drivers/net/dsa/mv88e6xxx/leds.c:171:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
171 | int mv88e6xxx_port_setup_leds(struct dsa_switch *ds, int port)
| ^
| static
1 warning generated.
vim +/mv88e6xxx_port_setup_leds +171 drivers/net/dsa/mv88e6xxx/leds.c
170
> 171 int mv88e6xxx_port_setup_leds(struct dsa_switch *ds, int port)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread