tree: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git genl head: fc4c3f9724b5c4b730490ce2637369fee6e8b87b commit: dcc56960c6e6fa10b50d5433b10fc216a3f7c996 [5/9] genetlink: no longer support using static family IDs config: i386-randconfig-x004-201643 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout dcc56960c6e6fa10b50d5433b10fc216a3f7c996 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): net/netlink/genetlink.c: In function '__genl_register_family': >> net/netlink/genetlink.c:430:1: warning: label 'errout' defined but not used [-Wunused-label] errout: ^~~~~~ vim +/errout +430 net/netlink/genetlink.c 2a94fe48 Johannes Berg 2013-11-19 414 if (err) 2a94fe48 Johannes Berg 2013-11-19 415 goto errout_locked; 2a94fe48 Johannes Berg 2013-11-19 416 482a8524 Thomas Graf 2005-11-10 417 list_add_tail(&family->family_list, genl_family_chain(family->id)); def31174 Pravin B Shelar 2013-04-23 418 genl_unlock_all(); 482a8524 Thomas Graf 2005-11-10 419 2a94fe48 Johannes Berg 2013-11-19 420 /* send all events */ 2a94fe48 Johannes Berg 2013-11-19 421 genl_ctrl_event(CTRL_CMD_NEWFAMILY, family, NULL, 0); 2a94fe48 Johannes Berg 2013-11-19 422 for (i = 0; i < family->n_mcgrps; i++) 2a94fe48 Johannes Berg 2013-11-19 423 genl_ctrl_event(CTRL_CMD_NEWMCAST_GRP, family, 2a94fe48 Johannes Berg 2013-11-19 424 &family->mcgrps[i], family->mcgrp_offset + i); 482a8524 Thomas Graf 2005-11-10 425 482a8524 Thomas Graf 2005-11-10 426 return 0; 482a8524 Thomas Graf 2005-11-10 427 482a8524 Thomas Graf 2005-11-10 428 errout_locked: def31174 Pravin B Shelar 2013-04-23 429 genl_unlock_all(); 482a8524 Thomas Graf 2005-11-10 @430 errout: 482a8524 Thomas Graf 2005-11-10 431 return err; 482a8524 Thomas Graf 2005-11-10 432 } 33c6b1f6 Pravin B Shelar 2013-08-23 433 EXPORT_SYMBOL(__genl_register_family); 482a8524 Thomas Graf 2005-11-10 434 482a8524 Thomas Graf 2005-11-10 435 /** 482a8524 Thomas Graf 2005-11-10 436 * genl_unregister_family - unregister generic netlink family 482a8524 Thomas Graf 2005-11-10 437 * @family: generic netlink family 482a8524 Thomas Graf 2005-11-10 438 * :::::: The code at line 430 was first introduced by commit :::::: 482a8524f85a7d8c40c6fb5d072e85bc2fef327f [NETLINK]: Generic netlink family :::::: TO: Thomas Graf <tgraf@xxxxxxx> :::::: CC: Thomas Graf <tgr@axs.localdomain> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip