From: kernel test robot <lkp@intel.com>
To: Lucas Poupeau <lucasp.linux@gmail.com>,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
horms@kernel.org, kuniyu@google.com, sdf@fomichev.me,
brauner@kernel.org, krikku@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
Lucas Poupeau <lucasp.linux@gmail.com>
Subject: Re: [PATCH] net: sysfs: cleanup coding style
Date: Thu, 6 Aug 2026 07:10:29 +0800 [thread overview]
Message-ID: <202608060631.yZqGaOTZ-lkp@intel.com> (raw)
In-Reply-To: <20260628185824.231250-1-lucasp.linux@gmail.com>
Hi Lucas,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
[also build test ERROR on net/main brauner-vfs/vfs.all linus/master v7.2-rc6 next-20260805]
[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/Lucas-Poupeau/net-sysfs-cleanup-coding-style/20260805-152318
base: net-next/main
patch link: https://lore.kernel.org/r/20260628185824.231250-1-lucasp.linux%40gmail.com
patch subject: [PATCH] net: sysfs: cleanup coding style
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260806/202608060631.yZqGaOTZ-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608060631.yZqGaOTZ-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/202608060631.yZqGaOTZ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/core/net-sysfs.c:622:8: error: use of undeclared identifier 'netdev_group_show'
622 | static DEVICE_ATTR_RW(netdev_group);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:246:45: note: expanded from macro 'DEVICE_ATTR_RW'
246 | struct device_attribute dev_attr_##_name = __DEVICE_ATTR_RW(_name)
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:204:2: note: expanded from macro '__DEVICE_ATTR_RW'
204 | __DEVICE_ATTR_RW_MODE(_name, 0644)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:201:30: note: expanded from macro '__DEVICE_ATTR_RW_MODE'
201 | __DEVICE_ATTR(_name, _mode, _name##_show, _name##_store)
| ^~~~~~~~~~~~
<scratch space>:22:1: note: expanded from here
22 | netdev_group_show
| ^~~~~~~~~~~~~~~~~
>> net/core/net-sysfs.c:622:8: error: use of undeclared identifier 'netdev_group_store'; did you mean 'netdev_lock_store'?
622 | static DEVICE_ATTR_RW(netdev_group);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:246:45: note: expanded from macro 'DEVICE_ATTR_RW'
246 | struct device_attribute dev_attr_##_name = __DEVICE_ATTR_RW(_name)
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:204:2: note: expanded from macro '__DEVICE_ATTR_RW'
204 | __DEVICE_ATTR_RW_MODE(_name, 0644)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:201:44: note: expanded from macro '__DEVICE_ATTR_RW_MODE'
201 | __DEVICE_ATTR(_name, _mode, _name##_show, _name##_store)
| ^~~~~~~~~~~~~
<scratch space>:23:1: note: expanded from here
23 | netdev_group_store
| ^~~~~~~~~~~~~~~~~~
net/core/net-sysfs.c:189:1: note: 'netdev_lock_store' declared here
189 | netdev_lock_store(struct device *dev, struct device_attribute *attr,
| ^
net/core/net-sysfs.c:622:8: error: use of undeclared identifier 'netdev_group_store'
622 | static DEVICE_ATTR_RW(netdev_group);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:246:45: note: expanded from macro 'DEVICE_ATTR_RW'
246 | struct device_attribute dev_attr_##_name = __DEVICE_ATTR_RW(_name)
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:204:2: note: expanded from macro '__DEVICE_ATTR_RW'
204 | __DEVICE_ATTR_RW_MODE(_name, 0644)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/device.h:201:44: note: expanded from macro '__DEVICE_ATTR_RW_MODE'
201 | __DEVICE_ATTR(_name, _mode, _name##_show, _name##_store)
| ^~~~~~~~~~~~~
<scratch space>:23:1: note: expanded from here
23 | netdev_group_store
| ^~~~~~~~~~~~~~~~~~
3 errors generated.
vim +/netdev_group_show +622 net/core/net-sysfs.c
620
621 NETDEVICE_SHOW(group, fmt_dec);
> 622 static DEVICE_ATTR_RW(netdev_group);
623
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-08-05 23:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-28 18:58 [PATCH] net: sysfs: cleanup coding style Lucas Poupeau
2026-06-28 20:14 ` Andrew Lunn
2026-08-05 9:47 ` kernel test robot
2026-08-05 16:40 ` kernel test robot
2026-08-05 23:10 ` 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=202608060631.yZqGaOTZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=brauner@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=krikku@gmail.com \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lucasp.linux@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
/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.