[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202401261325.D8Hg7ign-lkp@intel.com>
Date: Fri, 26 Jan 2024 14:07:27 +0800
From: kernel test robot <lkp@...el.com>
To: Tobias Waldekranz <tobias@...dekranz.com>, davem@...emloft.net,
kuba@...nel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev, jiri@...nulli.us,
ivecera@...hat.com, netdev@...r.kernel.org, roopa@...dia.com,
razor@...ckwall.org, bridge@...ts.linux.dev, rostedt@...dmis.org,
mhiramat@...nel.org, linux-trace-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 3/5] net: switchdev: Relay all replay messages
through a central function
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-switchdev-Wrap-enums-in-mapper-macros/20240123-234801
base: net-next/main
patch link: https://lore.kernel.org/r/20240123153707.550795-4-tobias%40waldekranz.com
patch subject: [PATCH net-next 3/5] net: switchdev: Relay all replay messages through a central function
config: i386-buildonly-randconfig-003-20240126 (https://download.01.org/0day-ci/archive/20240126/202401261325.D8Hg7ign-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240126/202401261325.D8Hg7ign-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/202401261325.D8Hg7ign-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> net/switchdev/switchdev.c:322: warning: Function parameter or struct member 'type' not described in 'switchdev_call_replay'
>> net/switchdev/switchdev.c:322: warning: expecting prototype for switchdev_replay(). Prototype was for switchdev_call_replay() instead
vim +322 net/switchdev/switchdev.c
309
310 /**
311 * switchdev_replay - Replay switchdev message to driver
312 * @nb: notifier block to send the message to
313 * @val: value passed unmodified to notifier function
314 * @info: notifier information data
315 *
316 * Typically issued by the bridge, as a response to a replay
317 * request initiated by a port that is either attaching to, or
318 * detaching from, that bridge.
319 */
320 int switchdev_call_replay(struct notifier_block *nb, unsigned long type,
321 struct switchdev_notifier_info *info)
> 322 {
323 return nb->notifier_call(nb, type, info);
324 }
325 EXPORT_SYMBOL_GPL(switchdev_call_replay);
326
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists