[openeuler:OLK-6.6 3508/3508] htmldocs: ./include/net/sock.h:556: warning: Function parameter or member 'sk_gid_padding' not described in 'sock'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 7bf6051b5c404918d02133a7e2aad8b059d6f6b0 commit: e14009474396762cbc7231fda683da7980880ad7 [3508/3508] net: core: Add a GID field to struct sock. reproduce: (https://download.01.org/0day-ci/archive/20251210/202512101505.lwW2LgkN-lkp@i...) 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/202512101505.lwW2LgkN-lkp@intel.com/ All warnings (new ones prefixed by >>): Error: Cannot open file ./include/linux/ethtool.h Error: Cannot open file ./include/linux/net.h Error: Cannot open file ./include/linux/net.h Error: Cannot open file ./include/linux/skbuff.h Error: Cannot open file ./include/linux/skbuff.h
./include/net/sock.h:556: warning: Function parameter or member 'sk_gid_padding' not described in 'sock' Error: Cannot open file ./include/linux/etherdevice.h Error: Cannot open file ./include/linux/etherdevice.h Error: Cannot open file ./include/linux/netdevice.h Error: Cannot open file ./include/linux/netdevice.h Error: Cannot open file ./include/linux/phy.h
vim +556 ./include/net/sock.h 0c0a5ef809f915 Eric Dumazet 2021-10-25 445 0e36cbb344575e Cong Wang 2013-01-22 446 struct dst_entry __rcu *sk_dst_cache; ^1da177e4c3f41 Linus Torvalds 2005-04-16 447 atomic_t sk_omem_alloc; 4e07a91c37c69e Arnaldo Carvalho de Melo 2007-05-29 448 int sk_sndbuf; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 449 9115e8cd2a0c6e Eric Dumazet 2016-12-03 450 /* ===== cache line for TX ===== */ 9115e8cd2a0c6e Eric Dumazet 2016-12-03 451 int sk_wmem_queued; 14afee4b6092fd Reshetova, Elena 2017-06-30 452 refcount_t sk_wmem_alloc; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 453 unsigned long sk_tsq_flags; 75c119afe14f74 Eric Dumazet 2017-10-05 454 union { 9115e8cd2a0c6e Eric Dumazet 2016-12-03 455 struct sk_buff *sk_send_head; 75c119afe14f74 Eric Dumazet 2017-10-05 456 struct rb_root tcp_rtx_queue; 75c119afe14f74 Eric Dumazet 2017-10-05 457 }; ^1da177e4c3f41 Linus Torvalds 2005-04-16 458 struct sk_buff_head sk_write_queue; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 459 __s32 sk_peek_off; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 460 int sk_write_pending; 9b8805a325591c Julian Anastasov 2017-02-06 461 __u32 sk_dst_pending_confirm; 218af599fa635b Eric Dumazet 2017-05-16 462 u32 sk_pacing_status; /* see enum sk_pacing */ 9115e8cd2a0c6e Eric Dumazet 2016-12-03 463 long sk_sndtimeo; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 464 struct timer_list sk_timer; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 465 __u32 sk_priority; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 466 __u32 sk_mark; 76a9ebe811fb3d Eric Dumazet 2018-10-15 467 unsigned long sk_pacing_rate; /* bytes per second */ 76a9ebe811fb3d Eric Dumazet 2018-10-15 468 unsigned long sk_max_pacing_rate; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 469 struct page_frag sk_frag; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 470 netdev_features_t sk_route_caps; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 471 int sk_gso_type; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 472 unsigned int sk_gso_max_size; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 473 gfp_t sk_allocation; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 474 __u32 sk_txhash; fc64869c48494a Andrey Ryabinin 2016-05-18 475 fc64869c48494a Andrey Ryabinin 2016-05-18 476 /* fc64869c48494a Andrey Ryabinin 2016-05-18 477 * Because of non atomicity rules, all fc64869c48494a Andrey Ryabinin 2016-05-18 478 * changes are protected by socket lock. fc64869c48494a Andrey Ryabinin 2016-05-18 479 */ aba546565b613e Eric Dumazet 2021-11-15 480 u8 sk_gso_disabled : 1, cdfbabfb2f0ce9 David Howells 2017-03-09 481 sk_kern_sock : 1, 28448b80456fea Tom Herbert 2014-05-23 482 sk_no_check_tx : 1, 28448b80456fea Tom Herbert 2014-05-23 483 sk_no_check_rx : 1, bf9765145b856f Mat Martineau 2020-01-09 484 sk_userlocks : 4; 3a9b76fd0db9f0 Eric Dumazet 2017-11-11 485 u8 sk_pacing_shift; bf9765145b856f Mat Martineau 2020-01-09 486 u16 sk_type; bf9765145b856f Mat Martineau 2020-01-09 487 u16 sk_protocol; bf9765145b856f Mat Martineau 2020-01-09 488 u16 sk_gso_max_segs; ^1da177e4c3f41 Linus Torvalds 2005-04-16 489 unsigned long sk_lingertime; 476e19cfa131e2 Arnaldo Carvalho de Melo 2005-05-05 490 struct proto *sk_prot_creator; ^1da177e4c3f41 Linus Torvalds 2005-04-16 491 rwlock_t sk_callback_lock; ^1da177e4c3f41 Linus Torvalds 2005-04-16 492 int sk_err, ^1da177e4c3f41 Linus Torvalds 2005-04-16 493 sk_err_soft; becb74f0acca19 Eric Dumazet 2015-03-19 494 u32 sk_ack_backlog; becb74f0acca19 Eric Dumazet 2015-03-19 495 u32 sk_max_ack_backlog; 86741ec25462e4 Lorenzo Colitti 2016-11-04 496 kuid_t sk_uid; 26859240e4ee70 Akhmat Karakotov 2022-01-31 497 u8 sk_txrehash; 7fd3253a7de6a3 Björn Töpel 2020-11-30 498 #ifdef CONFIG_NET_RX_BUSY_POLL 7fd3253a7de6a3 Björn Töpel 2020-11-30 499 u8 sk_prefer_busy_poll; 7c951cafc0cb2e Björn Töpel 2020-11-30 500 u16 sk_busy_poll_budget; 7fd3253a7de6a3 Björn Töpel 2020-11-30 501 #endif 35306eb2381444 Eric Dumazet 2021-09-29 502 spinlock_t sk_peer_lock; 1ace2b4d2b4e1d Eric Dumazet 2021-11-15 503 int sk_bind_phc; 109f6e39fa07c4 Eric W. Biederman 2010-06-13 504 struct pid *sk_peer_pid; 109f6e39fa07c4 Eric W. Biederman 2010-06-13 505 const struct cred *sk_peer_cred; 35306eb2381444 Eric Dumazet 2021-09-29 506 ^1da177e4c3f41 Linus Torvalds 2005-04-16 507 long sk_rcvtimeo; b7aa0bf70c4afb Eric Dumazet 2007-04-19 508 ktime_t sk_stamp; 3a0ed3e9619738 Deepa Dinamani 2018-12-27 509 #if BITS_PER_LONG==32 3a0ed3e9619738 Deepa Dinamani 2018-12-27 510 seqlock_t sk_stamp_seq; 3a0ed3e9619738 Deepa Dinamani 2018-12-27 511 #endif a1cdec57e03a13 Eric Dumazet 2022-02-17 512 atomic_t sk_tskey; 52267790ef52d7 Willem de Bruijn 2017-08-03 513 atomic_t sk_zckey; b534dc46c8ae01 Willem de Bruijn 2022-12-07 514 u32 sk_tsflags; b534dc46c8ae01 Willem de Bruijn 2022-12-07 515 u8 sk_shutdown; 80b14dee2bea12 Richard Cochran 2018-07-03 516 80b14dee2bea12 Richard Cochran 2018-07-03 517 u8 sk_clockid; 80b14dee2bea12 Richard Cochran 2018-07-03 518 u8 sk_txtime_deadline_mode : 1, 4b15c707535266 Jesus Sanchez-Palencia 2018-07-03 519 sk_txtime_report_errors : 1, 4b15c707535266 Jesus Sanchez-Palencia 2018-07-03 520 sk_txtime_unused : 6; fb87bd47516d9a Guillaume Nault 2022-12-16 521 bool sk_use_task_frag; 80b14dee2bea12 Richard Cochran 2018-07-03 522 ^1da177e4c3f41 Linus Torvalds 2005-04-16 523 struct socket *sk_socket; ^1da177e4c3f41 Linus Torvalds 2005-04-16 524 void *sk_user_data; d5f642384e9da7 Alexey Dobriyan 2008-11-04 525 #ifdef CONFIG_SECURITY ^1da177e4c3f41 Linus Torvalds 2005-04-16 526 void *sk_security; d5f642384e9da7 Alexey Dobriyan 2008-11-04 527 #endif 2a56a1fec290bf Tejun Heo 2015-12-07 528 struct sock_cgroup_data sk_cgrp_data; baac50bbc3cdfd Johannes Weiner 2016-01-14 529 struct mem_cgroup *sk_memcg; ^1da177e4c3f41 Linus Torvalds 2005-04-16 530 void (*sk_state_change)(struct sock *sk); 676d23690fb62b David S. Miller 2014-04-11 531 void (*sk_data_ready)(struct sock *sk); ^1da177e4c3f41 Linus Torvalds 2005-04-16 532 void (*sk_write_space)(struct sock *sk); ^1da177e4c3f41 Linus Torvalds 2005-04-16 533 void (*sk_error_report)(struct sock *sk); ^1da177e4c3f41 Linus Torvalds 2005-04-16 534 int (*sk_backlog_rcv)(struct sock *sk, ^1da177e4c3f41 Linus Torvalds 2005-04-16 535 struct sk_buff *skb); ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 536 #ifdef CONFIG_SOCK_VALIDATE_XMIT ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 537 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 538 struct net_device *dev, ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 539 struct sk_buff *skb); ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 540 #endif ^1da177e4c3f41 Linus Torvalds 2005-04-16 541 void (*sk_destruct)(struct sock *sk); ef456144da8ef5 Craig Gallek 2016-01-04 542 struct sock_reuseport __rcu *sk_reuseport_cb; 6ac99e8f23d4b1 Martin KaFai Lau 2019-04-26 543 #ifdef CONFIG_BPF_SYSCALL 1f00d375af84fb KP Singh 2020-08-25 544 struct bpf_local_storage __rcu *sk_bpf_storage; 6ac99e8f23d4b1 Martin KaFai Lau 2019-04-26 545 #endif a4298e4522d687 Eric Dumazet 2016-04-01 546 struct rcu_head sk_rcu; ffa84b5ffb37a9 Eric Dumazet 2021-12-09 547 netns_tracker ns_tracker; 28044fc1d4953b Joanne Koong 2022-08-22 548 struct hlist_node sk_bind2_node; e1400947439676 Lu Wei 2024-01-15 549 e1400947439676 Lu Wei 2024-01-15 550 #if IS_ENABLED(CONFIG_NETACC_TERRACE) e1400947439676 Lu Wei 2024-01-15 551 union { e1400947439676 Lu Wei 2024-01-15 552 kgid_t sk_gid; e1400947439676 Lu Wei 2024-01-15 553 u64 sk_gid_padding; e1400947439676 Lu Wei 2024-01-15 554 }; e1400947439676 Lu Wei 2024-01-15 555 #endif ^1da177e4c3f41 Linus Torvalds 2005-04-16 @556 }; ^1da177e4c3f41 Linus Torvalds 2005-04-16 557 :::::: The code at line 556 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org> :::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot