Hi Pablo, I love your patch! Yet something to improve: [auto build test ERROR on nf-next/master] url: https://github.com/0day-ci/linux/commits/Pablo-Neira-Ayuso/netfilter-nf_tables-add-NFTA_RULE_CHAIN_ID-attribute/20200630-060423 base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master config: mips-randconfig-r023-20200630 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): size_t __const btrfs_get_num_csums(void); ^~~~~~~~ In file included from fs/btrfs/orphan.c:6: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ 1 warning generated. 1 warning generated. In file included from fs/btrfs/export.c:5: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ net/ipv4/ah4.c:512:4: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ fs/fat/dir.c:282: warning: Function parameter or member 'dir' not described in 'fat_parse_long' fs/fat/dir.c:282: warning: Function parameter or member 'pos' not described in 'fat_parse_long' fs/fat/dir.c:282: warning: Function parameter or member 'bh' not described in 'fat_parse_long' fs/fat/dir.c:282: warning: Function parameter or member 'de' not described in 'fat_parse_long' fs/fat/dir.c:282: warning: Function parameter or member 'unicode' not described in 'fat_parse_long' fs/fat/dir.c:282: warning: Function parameter or member 'nr_slots' not described in 'fat_parse_long' 1 warning generated. 1 warning generated. net/ipv4/esp4.c:1122:5: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ 2 warnings generated. net/ipv6/esp6.c:811:5: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ 2 warnings generated. 1 warning generated. 1 warning generated. fs/btrfs/zlib.c:36:19: warning: no previous prototype for function 'zlib_get_workspace' [-Wmissing-prototypes] struct list_head *zlib_get_workspace(unsigned int level) ^ fs/btrfs/zlib.c:36:1: note: declare 'static' if the function is not intended to be used outside of this translation unit struct list_head *zlib_get_workspace(unsigned int level) ^ static fs/btrfs/zlib.c:46:6: warning: no previous prototype for function 'zlib_free_workspace' [-Wmissing-prototypes] void zlib_free_workspace(struct list_head *ws) ^ fs/btrfs/zlib.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void zlib_free_workspace(struct list_head *ws) ^ static fs/btrfs/zlib.c:55:19: warning: no previous prototype for function 'zlib_alloc_workspace' [-Wmissing-prototypes] struct list_head *zlib_alloc_workspace(unsigned int level) ^ fs/btrfs/zlib.c:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit struct list_head *zlib_alloc_workspace(unsigned int level) ^ static fs/btrfs/zlib.c:94:5: warning: no previous prototype for function 'zlib_compress_pages' [-Wmissing-prototypes] int zlib_compress_pages(struct list_head *ws, struct address_space *mapping, ^ fs/btrfs/zlib.c:94:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int zlib_compress_pages(struct list_head *ws, struct address_space *mapping, ^ static fs/btrfs/zlib.c:277:5: warning: no previous prototype for function 'zlib_decompress_bio' [-Wmissing-prototypes] int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb) ^ fs/btrfs/zlib.c:277:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb) ^ static fs/btrfs/zlib.c:368:5: warning: no previous prototype for function 'zlib_decompress' [-Wmissing-prototypes] int zlib_decompress(struct list_head *ws, unsigned char *data_in, ^ fs/btrfs/zlib.c:368:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int zlib_decompress(struct list_head *ws, unsigned char *data_in, ^ static net/ipv6/ah6.c:709:4: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits/8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ In file included from fs/btrfs/free-space-cache.c:14: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ 6 warnings generated. In file included from fs/btrfs/tree-log.c:12: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ 1 warning generated. >> net/netfilter/nf_tables_api.c:2159:13: error: implicit declaration of function 'nft_trans_chain_id' [-Werror,-Wimplicit-function-declaration] id == nft_trans_chain_id(trans)) ^ net/netfilter/nf_tables_api.c:2159:13: note: did you mean 'nft_trans_chain_add'? net/netfilter/nf_tables_api.c:275:26: note: 'nft_trans_chain_add' declared here static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) ^ 1 error generated. make[3]: *** [scripts/Makefile.build:266: net/netfilter/nf_tables_api.o] Error 1 fs/freevxfs/vxfs_bmap.c:68: warning: Function parameter or member 'bn' not described in 'vxfs_bmap_ext4' fs/freevxfs/vxfs_bmap.c:68: warning: Excess function parameter 'iblock' description in 'vxfs_bmap_ext4' fs/btrfs/lzo.c:66:6: warning: no previous prototype for function 'lzo_free_workspace' [-Wmissing-prototypes] void lzo_free_workspace(struct list_head *ws) ^ fs/btrfs/lzo.c:66:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void lzo_free_workspace(struct list_head *ws) ^ static fs/btrfs/lzo.c:76:19: warning: no previous prototype for function 'lzo_alloc_workspace' [-Wmissing-prototypes] struct list_head *lzo_alloc_workspace(unsigned int level) ^ fs/btrfs/lzo.c:76:1: note: declare 'static' if the function is not intended to be used outside of this translation unit struct list_head *lzo_alloc_workspace(unsigned int level) ^ static fs/btrfs/lzo.c:114:5: warning: no previous prototype for function 'lzo_compress_pages' [-Wmissing-prototypes] int lzo_compress_pages(struct list_head *ws, struct address_space *mapping, ^ fs/btrfs/lzo.c:114:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int lzo_compress_pages(struct list_head *ws, struct address_space *mapping, ^ static fs/btrfs/lzo.c:282:5: warning: no previous prototype for function 'lzo_decompress_bio' [-Wmissing-prototypes] int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb) ^ fs/btrfs/lzo.c:282:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb) ^ static fs/btrfs/lzo.c:423:5: warning: no previous prototype for function 'lzo_decompress' [-Wmissing-prototypes] int lzo_decompress(struct list_head *ws, unsigned char *data_in, ^ fs/btrfs/lzo.c:423:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int lzo_decompress(struct list_head *ws, unsigned char *data_in, ^ static fs/fat/misc.c:49: warning: Function parameter or member 'sb' not described in 'fat_msg' fs/fat/misc.c:49: warning: Function parameter or member 'level' not described in 'fat_msg' fs/fat/misc.c:49: warning: Function parameter or member 'fmt' not described in 'fat_msg' 5 warnings generated. 1 warning generated. net/ipv6/ip6_gre.c:848:20: warning: unused function 'ip6gre_tnl_addr_conflict' [-Wunused-function] static inline bool ip6gre_tnl_addr_conflict(const struct ip6_tnl *t, ^ fs/fat/nfs.c:24: warning: Function parameter or member 'sb' not described in 'fat_dget' fs/btrfs/free-space-cache.c:1263: warning: Function parameter or member 'root' not described in '__btrfs_write_out_cache' fs/btrfs/free-space-cache.c:1263: warning: Function parameter or member 'inode' not described in '__btrfs_write_out_cache' fs/btrfs/free-space-cache.c:1263: warning: Function parameter or member 'ctl' not described in '__btrfs_write_out_cache' fs/btrfs/free-space-cache.c:1263: warning: Function parameter or member 'block_group' not described in '__btrfs_write_out_cache' fs/btrfs/free-space-cache.c:1263: warning: Function parameter or member 'io_ctl' not described in '__btrfs_write_out_cache' fs/btrfs/free-space-cache.c:1263: warning: Function parameter or member 'trans' not described in '__btrfs_write_out_cache' fs/fat/nfs.c:24: warning: Function parameter or member 'i_logstart' not described in 'fat_dget' fs/fat/nfs.c:144: warning: Function parameter or member 'sb' not described in 'fat_fh_to_dentry' fs/fat/nfs.c:144: warning: Function parameter or member 'fid' not described in 'fat_fh_to_dentry' fs/fat/nfs.c:144: warning: Function parameter or member 'fh_len' not described in 'fat_fh_to_dentry' fs/fat/nfs.c:144: warning: Function parameter or member 'fh_type' not described in 'fat_fh_to_dentry' In file included from fs/btrfs/compression.c:22: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ In file included from fs/btrfs/delayed-ref.c:9: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ 1 warning generated. In file included from fs/btrfs/zstd.c:22: fs/btrfs/ctree.h:2209:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] size_t __const btrfs_get_num_csums(void); ^~~~~~~~ fs/btrfs/zstd.c:170:6: warning: no previous prototype for function 'zstd_init_workspace_manager' [-Wmissing-prototypes] void zstd_init_workspace_manager(void) ^ fs/btrfs/zstd.c:170:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void zstd_init_workspace_manager(void) ^ static fs/btrfs/zstd.c:196:6: warning: no previous prototype for function 'zstd_cleanup_workspace_manager' [-Wmissing-prototypes] void zstd_cleanup_workspace_manager(void) ^ fs/btrfs/zstd.c:196:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void zstd_cleanup_workspace_manager(void) ^ static fs/btrfs/zstd.c:263:19: warning: no previous prototype for function 'zstd_get_workspace' [-Wmissing-prototypes] struct list_head *zstd_get_workspace(unsigned int level) ^ fs/btrfs/zstd.c:263:1: note: declare 'static' if the function is not intended to be used outside of this translation unit struct list_head *zstd_get_workspace(unsigned int level) ^ static fs/btrfs/zstd.c:304:6: warning: no previous prototype for function 'zstd_put_workspace' [-Wmissing-prototypes] -- net/tipc/node.c:139: warning: Function parameter or member 'peer_net' not described in 'tipc_node' net/tipc/node.c:139: warning: Function parameter or member 'peer_hash_mix' not described in 'tipc_node' net/tipc/node.c:271: warning: Function parameter or member '__n' not described in 'tipc_node_crypto_rx' net/tipc/node.c:809: warning: Function parameter or member 'n' not described in '__tipc_node_link_up' net/tipc/node.c:809: warning: Function parameter or member 'bearer_id' not described in '__tipc_node_link_up' net/tipc/node.c:809: warning: Function parameter or member 'xmitq' not described in '__tipc_node_link_up' net/tipc/node.c:875: warning: Function parameter or member 'n' not described in 'tipc_node_link_up' net/tipc/node.c:875: warning: Function parameter or member 'bearer_id' not described in 'tipc_node_link_up' net/tipc/node.c:875: warning: Function parameter or member 'xmitq' not described in 'tipc_node_link_up' net/tipc/node.c:934: warning: Function parameter or member 'n' not described in '__tipc_node_link_down' net/tipc/node.c:934: warning: Function parameter or member 'bearer_id' not described in '__tipc_node_link_down' net/tipc/node.c:934: warning: Function parameter or member 'xmitq' not described in '__tipc_node_link_down' net/tipc/node.c:934: warning: Function parameter or member 'maddr' not described in '__tipc_node_link_down' net/tipc/node.c:1522: warning: Function parameter or member 'net' not described in 'tipc_node_get_linkname' net/tipc/node.c:1522: warning: Function parameter or member 'addr' not described in 'tipc_node_get_linkname' net/tipc/node.c:1522: warning: Function parameter or member 'len' not described in 'tipc_node_get_linkname' net/tipc/node.c:1522: warning: Excess function parameter 'node' description in 'tipc_node_get_linkname' net/tipc/node.c:1864: warning: Function parameter or member 'n' not described in 'tipc_node_check_state' net/tipc/node.c:1864: warning: Function parameter or member 'xmitq' not described in 'tipc_node_check_state' net/tipc/node.c:2016: warning: Function parameter or member 'b' not described in 'tipc_rcv' net/tipc/node.c:2016: warning: Excess function parameter 'bearer' description in 'tipc_rcv' net/tipc/trace.c:43: warning: cannot understand function prototype: 'unsigned long sysctl_tipc_sk_filter[5] __read_mostly = ' net/tipc/socket.c:131: warning: Function parameter or member 'cong_links' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'probe_unacked' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'snd_win' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'peer_caps' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'rcv_win' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'group' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'oneway' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'nagle_start' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'snd_backlog' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'msg_acc' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'pkt_cnt' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'expect_ack' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'nodelay' not described in 'tipc_sock' net/tipc/socket.c:131: warning: Function parameter or member 'group_is_open' not described in 'tipc_sock' net/tipc/socket.c:268: warning: Function parameter or member 'sk' not described in 'tsk_advance_rx_queue' net/tipc/socket.c:296: warning: Function parameter or member 'sk' not described in 'tsk_rej_rx_queue' net/tipc/socket.c:296: warning: Function parameter or member 'error' not described in 'tsk_rej_rx_queue' net/tipc/socket.c:725: warning: Excess function parameter 'uaddr_len' description in 'tipc_getname' net/tipc/socket.c:887: warning: Function parameter or member 'tsk' not described in 'tipc_send_group_msg' net/tipc/socket.c:1066: warning: Function parameter or member 'sock' not described in 'tipc_send_group_bcast' net/tipc/socket.c:1066: warning: Excess function parameter 'sk' description in 'tipc_send_group_bcast' net/tipc/socket.c:1180: warning: Function parameter or member 'net' not described in 'tipc_sk_mcast_rcv' net/tipc/socket.c:1316: warning: Function parameter or member 'inputq' not described in 'tipc_sk_conn_proto_rcv' net/tipc/socket.c:1316: warning: Function parameter or member 'xmitq' not described in 'tipc_sk_conn_proto_rcv' net/tipc/socket.c:1676: warning: Function parameter or member 'skb' not described in 'tipc_sk_set_orig_addr' net/tipc/socket.c:1676: warning: Excess function parameter 'hdr' description in 'tipc_sk_set_orig_addr' net/tipc/socket.c:1873: warning: Function parameter or member 'sock' not described in 'tipc_recvmsg' net/tipc/socket.c:1981: warning: Function parameter or member 'sock' not described in 'tipc_recvstream' net/tipc/socket.c:2096: warning: Excess function parameter 'len' description in 'tipc_data_ready' net/tipc/socket.c:2302: warning: Function parameter or member 'xmitq' not described in 'tipc_sk_filter_rcv' net/tipc/socket.c:2393: warning: Function parameter or member 'xmitq' not described in 'tipc_sk_enqueue' net/tipc/socket.c:2445: warning: Function parameter or member 'net' not described in 'tipc_sk_rcv' net/tipc/socket.c:2682: warning: Function parameter or member 'new_sock' not described in 'tipc_accept' net/tipc/socket.c:2682: warning: Function parameter or member 'kern' not described in 'tipc_accept' net/tipc/socket.c:2682: warning: Excess function parameter 'newsock' description in 'tipc_accept' net/tipc/crypto.c:51: warning: cannot understand function prototype: 'enum ' net/tipc/crypto.c:63: warning: cannot understand function prototype: 'enum ' net/tipc/crypto.c:114: warning: Function parameter or member 'pending' not described in 'tipc_key' net/tipc/crypto.c:114: warning: Function parameter or member 'active' not described in 'tipc_key' net/tipc/crypto.c:114: warning: Function parameter or member 'passive' not described in 'tipc_key' net/tipc/crypto.c:114: warning: Function parameter or member 'reserved' not described in 'tipc_key' net/tipc/crypto.c:114: warning: Function parameter or member 'keys' not described in 'tipc_key' net/tipc/crypto.c:122: warning: Function parameter or member 'tfm' not described in 'tipc_tfm' net/tipc/crypto.c:122: warning: Function parameter or member 'list' not described in 'tipc_tfm' net/tipc/crypto.c:153: warning: Function parameter or member 'hint' not described in 'tipc_aead' net/tipc/crypto.c:153: warning: Function parameter or member '____cacheline_aligned' not described in 'tipc_aead' net/tipc/crypto.c:160: warning: Function parameter or member 'stat' not described in 'tipc_crypto_stats' net/tipc/crypto.c:190: warning: Function parameter or member '____cacheline_aligned' not described in 'tipc_crypto' net/tipc/crypto.c:275: warning: Function parameter or member 'ukey' not described in 'tipc_aead_key_validate' net/tipc/crypto.c:401: warning: Function parameter or member 'aead' not described in 'tipc_aead_tfm_next' net/ipv4/ah4.c:512:4: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ 1 warning generated. net/ipv4/esp4.c:1122:5: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ net/ipv6/esp6.c:811:5: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ 1 warning generated. 1 warning generated. net/ipv6/ah6.c:709:4: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] aalg_desc->uinfo.auth.icv_fullbits/8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:305:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ 1 warning generated. >> net/netfilter/nf_tables_api.c:2159:13: error: implicit declaration of function 'nft_trans_chain_id' [-Werror,-Wimplicit-function-declaration] id == nft_trans_chain_id(trans)) ^ net/netfilter/nf_tables_api.c:2159:13: note: did you mean 'nft_trans_chain_add'? net/netfilter/nf_tables_api.c:275:26: note: 'nft_trans_chain_add' declared here static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) ^ 1 error generated. make[3]: *** [scripts/Makefile.build:266: net/netfilter/nf_tables_api.o] Error 1 net/ipv6/ip6_gre.c:848:20: warning: unused function 'ip6gre_tnl_addr_conflict' [-Wunused-function] static inline bool ip6gre_tnl_addr_conflict(const struct ip6_tnl *t, ^ 1 warning generated. net/ipv6/ip6_vti.c:138: warning: Function parameter or member 'ip6n' not described in 'vti6_tnl_bucket' net/wireless/wext-compat.c:229: warning: Excess function parameter 'dev' description in 'cfg80211_wext_freq' net/ipv6/ip6_tunnel.c:140: warning: Function parameter or member 'start' not described in 'for_each_ip6_tunnel_rcu' net/ipv6/ip6_tunnel.c:140: warning: Excess function parameter 'link' description in 'for_each_ip6_tunnel_rcu' net/ipv6/ip6_tunnel.c:140: warning: Excess function parameter 'remote' description in 'for_each_ip6_tunnel_rcu' net/ipv6/ip6_tunnel.c:140: warning: Excess function parameter 'local' description in 'for_each_ip6_tunnel_rcu' net/ipv6/ip6_tunnel.c:217: warning: Function parameter or member 'ip6n' not described in 'ip6_tnl_bucket' net/ipv6/ip6_tunnel.c:237: warning: Function parameter or member 'ip6n' not described in 'ip6_tnl_link' net/ipv6/ip6_tunnel.c:253: warning: Function parameter or member 'ip6n' not described in 'ip6_tnl_unlink' net/ipv6/ip6_tunnel.c:316: warning: Function parameter or member 'net' not described in 'ip6_tnl_create' net/ipv6/ip6_tunnel.c:316: warning: Excess function parameter 'pt' description in 'ip6_tnl_create' net/ipv6/ip6_tunnel.c:368: warning: Function parameter or member 'net' not described in 'ip6_tnl_locate' net/ipv6/ip6_tunnel.c:425: warning: Function parameter or member 'raw' not described in 'ip6_tnl_parse_tlv_enc_lim' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'skb' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'ipproto' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'opt' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'type' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'code' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'msg' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'info' not described in 'ip6_tnl_err' net/ipv6/ip6_tunnel.c:497: warning: Function parameter or member 'offset' not described in 'ip6_tnl_err' net/ipv4/tcp_lp.c:97: warning: Function parameter or member 'sk' not described in 'tcp_lp_init' net/ipv4/tcp_lp.c:120: warning: Function parameter or member 'sk' not described in 'tcp_lp_cong_avoid' net/ipv4/tcp_lp.c:120: warning: Function parameter or member 'ack' not described in 'tcp_lp_cong_avoid' net/ipv4/tcp_lp.c:120: warning: Function parameter or member 'acked' not described in 'tcp_lp_cong_avoid' net/ipv4/tcp_lp.c:135: warning: Function parameter or member 'sk' not described in 'tcp_lp_remote_hz_estimator' net/ipv4/tcp_lp.c:188: warning: Function parameter or member 'sk' not described in 'tcp_lp_owd_calculator' net/ipv4/tcp_lp.c:222: warning: Function parameter or member 'sk' not described in 'tcp_lp_rtt_sample' net/ipv4/tcp_lp.c:222: warning: Function parameter or member 'rtt' not described in 'tcp_lp_rtt_sample' net/ipv4/tcp_lp.c:265: warning: Function parameter or member 'sk' not described in 'tcp_lp_pkts_acked' net/ipv4/tcp_lp.c:265: warning: Function parameter or member 'sample' not described in 'tcp_lp_pkts_acked' net/sched/cls_flower.c:731:1: warning: unused variable 'mpls_opts_policy' [-Wunused-const-variable] mpls_opts_policy[TCA_FLOWER_KEY_MPLS_OPTS_MAX + 1] = { ^ net/sched/cls_flower.c:298:12: warning: stack frame size of 1056 bytes in function 'fl_classify' [-Wframe-larger-than=] static int fl_classify(struct sk_buff *skb, const struct tcf_proto *tp, ^ 2 warnings generated. net/netfilter/nft_set_pipapo.c:413: warning: Function parameter or member 'key' not described in 'nft_pipapo_lookup' net/netfilter/nft_set_pipapo.c:413: warning: Excess function parameter 'elem' description in 'nft_pipapo_lookup' net/netfilter/nft_set_pipapo.c:1083: warning: Function parameter or member 'e' not described in 'pipapo_map' net/netfilter/nft_set_pipapo.c:1083: warning: Excess function parameter 'ext' description in 'pipapo_map' net/netfilter/nft_set_pipapo.c:1108: warning: Function parameter or member 'bsize_max' not described in 'pipapo_realloc_scratch' net/netfilter/nft_set_pipapo.c:1484: warning: Function parameter or member 'rulemap' not described in 'pipapo_drop' make[2]: *** [scripts/Makefile.build:488: net/netfilter] Error 2 make[3]: Target '__build' not remade because of errors. make[2]: Target '__build' not remade because of errors. .. vim +/nft_trans_chain_id +2159 net/netfilter/nf_tables_api.c 2148 2149 static struct nft_chain *nft_chain_lookup_byid(const struct net *net, 2150 const struct nlattr *nla) 2151 { 2152 u32 id = ntohl(nla_get_be32(nla)); 2153 struct nft_trans *trans; 2154 2155 list_for_each_entry(trans, &net->nft.commit_list, list) { 2156 struct nft_chain *chain = trans->ctx.chain; 2157 2158 if (trans->msg_type == NFT_MSG_NEWCHAIN && > 2159 id == nft_trans_chain_id(trans)) 2160 return chain; 2161 } 2162 return ERR_PTR(-ENOENT); 2163 } 2164 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip