From: kernel test robot <lkp@intel.com>
To: Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH net-next] net: dsa: replace NETDEV_PRE_CHANGE_HWTSTAMP notifier with a stub
Date: Thu, 6 Apr 2023 13:32:00 +0800 [thread overview]
Message-ID: <202304061324.mnmSnwNK-lkp@intel.com> (raw)
In-Reply-To: <20230405165115.3744445-1-vladimir.oltean@nxp.com>
Hi Vladimir,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Vladimir-Oltean/net-dsa-replace-NETDEV_PRE_CHANGE_HWTSTAMP-notifier-with-a-stub/20230406-005302
patch link: https://lore.kernel.org/r/20230405165115.3744445-1-vladimir.oltean%40nxp.com
patch subject: [RFC PATCH net-next] net: dsa: replace NETDEV_PRE_CHANGE_HWTSTAMP notifier with a stub
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20230406/202304061324.mnmSnwNK-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/4788a6c004ab7f7210b1d27777e733eab85db17e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Vladimir-Oltean/net-dsa-replace-NETDEV_PRE_CHANGE_HWTSTAMP-notifier-with-a-stub/20230406-005302
git checkout 4788a6c004ab7f7210b1d27777e733eab85db17e
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs// net/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304061324.mnmSnwNK-lkp@intel.com/
All errors (new ones prefixed by >>):
net/core/dev_ioctl.c: In function 'dev_set_hwtstamp':
>> net/core/dev_ioctl.c:276:15: error: too many arguments to function 'dsa_master_hwtstamp_validate'
276 | err = dsa_master_hwtstamp_validate(dev, &kernel_cfg, &extack);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from net/core/dev_ioctl.c:10:
include/net/dsa_stubs.h:43:19: note: declared here
43 | static inline int dsa_master_hwtstamp_validate(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/dsa_master_hwtstamp_validate +276 net/core/dev_ioctl.c
259
260 static int dev_set_hwtstamp(struct net_device *dev, struct ifreq *ifr)
261 {
262 struct kernel_hwtstamp_config kernel_cfg;
263 struct netlink_ext_ack extack = {};
264 struct hwtstamp_config cfg;
265 int err;
266
267 if (copy_from_user(&cfg, ifr->ifr_data, sizeof(cfg)))
268 return -EFAULT;
269
270 hwtstamp_config_to_kernel(&kernel_cfg, &cfg);
271
272 err = net_hwtstamp_validate(&kernel_cfg);
273 if (err)
274 return err;
275
> 276 err = dsa_master_hwtstamp_validate(dev, &kernel_cfg, &extack);
277 if (err) {
278 if (extack._msg)
279 netdev_err(dev, "%s\n", extack._msg);
280 return err;
281 }
282
283 return dev_eth_ioctl(dev, ifr, SIOCSHWTSTAMP);
284 }
285
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
prev parent reply other threads:[~2023-04-06 5:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 16:51 [RFC PATCH net-next] net: dsa: replace NETDEV_PRE_CHANGE_HWTSTAMP notifier with a stub Vladimir Oltean
2023-04-05 16:56 ` Vladimir Oltean
2023-04-05 20:05 ` Simon Horman
2023-04-05 20:07 ` Vladimir Oltean
2023-04-05 20:08 ` Vladimir Oltean
2023-04-06 7:07 ` Simon Horman
2023-04-06 11:45 ` Vladimir Oltean
2023-04-05 20:31 ` Vladimir Oltean
2023-04-06 7:12 ` Simon Horman
2023-04-06 2:08 ` Jakub Kicinski
2023-04-06 2:27 ` kernel test robot
2023-04-06 2:58 ` kernel test robot
2023-04-06 4:30 ` kernel test robot
2023-04-06 5:32 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202304061324.mnmSnwNK-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vladimir.oltean@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.