[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202308160545.9cpmjvz9-lkp@intel.com>
Date: Wed, 16 Aug 2023 05:46:49 +0800
From: kernel test robot <lkp@...el.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
edumazet@...gle.com, pabeni@...hat.com, jiri@...nulli.us,
johannes@...solutions.net, Jakub Kicinski <kuba@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Jiri Pirko <jiri@...dia.com>, Jason@...c4.com, alex.aring@...il.com,
stefan@...enfreihafen.org, krzysztof.kozlowski@...aro.org,
jmaloy@...hat.com, ying.xue@...driver.com, floridsleeves@...il.com,
leon@...nel.org, jacob.e.keller@...el.com,
wireguard@...ts.zx2c4.com, linux-wpan@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next v3 05/10] genetlink: use attrs from struct
genl_info
Hi Jakub,
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/Jakub-Kicinski/genetlink-push-conditional-locking-into-dumpit-done/20230815-055212
base: net-next/main
patch link: https://lore.kernel.org/r/20230814214723.2924989-6-kuba%40kernel.org
patch subject: [PATCH net-next v3 05/10] genetlink: use attrs from struct genl_info
config: i386-debian-10.3 (https://download.01.org/0day-ci/archive/20230816/202308160545.9cpmjvz9-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230816/202308160545.9cpmjvz9-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/202308160545.9cpmjvz9-lkp@intel.com/
All errors (new ones prefixed by >>):
net/devlink/netlink.c: In function 'devlink_nl_dumpit':
>> net/devlink/netlink.c:232:37: error: 'const struct genl_dumpit_info' has no member named 'attrs'
232 | struct nlattr **attrs = info->attrs;
| ^~
--
net/devlink/health.c: In function 'devlink_nl_health_reporter_get_dump_one':
>> net/devlink/health.c:396:37: error: 'const struct genl_dumpit_info' has no member named 'attrs'
396 | struct nlattr **attrs = info->attrs;
| ^~
vim +232 net/devlink/netlink.c
07f3af66089e20 Jakub Kicinski 2023-01-04 227
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 228 int devlink_nl_dumpit(struct sk_buff *msg, struct netlink_callback *cb,
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 229 devlink_nl_dump_one_func_t *dump_one)
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 230 {
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 231 const struct genl_dumpit_info *info = genl_dumpit_info(cb);
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 @232 struct nlattr **attrs = info->attrs;
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 233 int flags = NLM_F_MULTI;
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 234
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 235 if (attrs &&
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 236 (attrs[DEVLINK_ATTR_BUS_NAME] || attrs[DEVLINK_ATTR_DEV_NAME]))
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 237 return devlink_nl_inst_single_dumpit(msg, cb, flags, dump_one,
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 238 attrs);
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 239 else
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 240 return devlink_nl_inst_iter_dumpit(msg, cb, flags, dump_one);
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 241 }
4a1b5aa8b5c743 Jiri Pirko 2023-08-11 242
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists