* [linux-next:master 1474/2290] include/net/sock.h:386:45: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean 'skc_daddr'?
@ 2021-11-20 0:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-20 0:02 UTC (permalink / raw)
To: Alexander Aring; +Cc: kbuild-all, Linux Memory Management List, David Teigland
[-- Attachment #1: Type: text/plain, Size: 17949 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5191249f880367a4cd675825cd721a8d78f26a45
commit: 4c3d90570bcc2b338f70f61f01110268e281ca3c [1474/2290] fs: dlm: don't call kernel_getpeername() in error_report()
config: nds32-randconfig-r003-20211115 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4c3d90570bcc2b338f70f61f01110268e281ca3c
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 4c3d90570bcc2b338f70f61f01110268e281ca3c
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD 5191249f880367a4cd675825cd721a8d78f26a45 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
In file included from fs/dlm/lowcomms.c:46:
fs/dlm/lowcomms.c: In function 'lowcomms_error_report':
>> include/net/sock.h:386:45: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean 'skc_daddr'?
386 | #define sk_v6_daddr __sk_common.skc_v6_daddr
| ^~~~~~~~~~~~
include/linux/printk.h:418:33: note: in expansion of macro 'sk_v6_daddr'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/printk.h:446:26: note: in expansion of macro 'printk_index_wrap'
446 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
include/linux/printk.h:132:17: note: in expansion of macro 'printk'
132 | printk(fmt, ##__VA_ARGS__); \
| ^~~~~~
include/linux/printk.h:644:9: note: in expansion of macro 'no_printk'
644 | no_printk(fmt, ##__VA_ARGS__)
| ^~~~~~~~~
fs/dlm/lowcomms.c:618:17: note: in expansion of macro 'printk_ratelimited'
618 | printk_ratelimited(KERN_ERR "dlm: node %d: socket error "
| ^~~~~~~~~~~~~~~~~~
vim +386 include/net/sock.h
4dc6dc7162c08b Eric Dumazet 2009-07-15 366
68835aba4d9b74 Eric Dumazet 2010-11-30 367 #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin
68835aba4d9b74 Eric Dumazet 2010-11-30 368 #define sk_dontcopy_end __sk_common.skc_dontcopy_end
4dc6dc7162c08b Eric Dumazet 2009-07-15 369 #define sk_hash __sk_common.skc_hash
5080546682bae3 Eric Dumazet 2013-10-02 370 #define sk_portpair __sk_common.skc_portpair
05dbc7b59481ca Eric Dumazet 2013-10-03 371 #define sk_num __sk_common.skc_num
05dbc7b59481ca Eric Dumazet 2013-10-03 372 #define sk_dport __sk_common.skc_dport
5080546682bae3 Eric Dumazet 2013-10-02 373 #define sk_addrpair __sk_common.skc_addrpair
5080546682bae3 Eric Dumazet 2013-10-02 374 #define sk_daddr __sk_common.skc_daddr
5080546682bae3 Eric Dumazet 2013-10-02 375 #define sk_rcv_saddr __sk_common.skc_rcv_saddr
^1da177e4c3f41 Linus Torvalds 2005-04-16 376 #define sk_family __sk_common.skc_family
^1da177e4c3f41 Linus Torvalds 2005-04-16 377 #define sk_state __sk_common.skc_state
^1da177e4c3f41 Linus Torvalds 2005-04-16 378 #define sk_reuse __sk_common.skc_reuse
055dc21a1d1d21 Tom Herbert 2013-01-22 379 #define sk_reuseport __sk_common.skc_reuseport
9fe516ba3fb29b Eric Dumazet 2014-06-27 380 #define sk_ipv6only __sk_common.skc_ipv6only
26abe14379f8e2 Eric W. Biederman 2015-05-08 381 #define sk_net_refcnt __sk_common.skc_net_refcnt
^1da177e4c3f41 Linus Torvalds 2005-04-16 382 #define sk_bound_dev_if __sk_common.skc_bound_dev_if
^1da177e4c3f41 Linus Torvalds 2005-04-16 383 #define sk_bind_node __sk_common.skc_bind_node
8feaf0c0a5488b Arnaldo Carvalho de Melo 2005-08-09 384 #define sk_prot __sk_common.skc_prot
07feaebfcc10cd Eric W. Biederman 2007-09-12 385 #define sk_net __sk_common.skc_net
efe4208f47f907 Eric Dumazet 2013-10-03 @386 #define sk_v6_daddr __sk_common.skc_v6_daddr
efe4208f47f907 Eric Dumazet 2013-10-03 387 #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr
33cf7c90fe2f97 Eric Dumazet 2015-03-11 388 #define sk_cookie __sk_common.skc_cookie
70da268b569d32 Eric Dumazet 2015-10-08 389 #define sk_incoming_cpu __sk_common.skc_incoming_cpu
8e5eb54d303b7c Eric Dumazet 2015-10-08 390 #define sk_flags __sk_common.skc_flags
ed53d0ab761f5c Eric Dumazet 2015-10-08 391 #define sk_rxhash __sk_common.skc_rxhash
efe4208f47f907 Eric Dumazet 2013-10-03 392
^1da177e4c3f41 Linus Torvalds 2005-04-16 393 socket_lock_t sk_lock;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 394 atomic_t sk_drops;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 395 int sk_rcvlowat;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 396 struct sk_buff_head sk_error_queue;
8b27dae5a2e89a Eric Dumazet 2019-03-22 397 struct sk_buff *sk_rx_skb_cache;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 398 struct sk_buff_head sk_receive_queue;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 399 /*
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 400 * The backlog queue is special, it is always used with
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 401 * the per-socket spinlock held and requires low latency
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 402 * access. Therefore we special case it's implementation.
b178bb3dfc30d9 Eric Dumazet 2010-11-16 403 * Note : rmem_alloc is in this structure to fill a hole
b178bb3dfc30d9 Eric Dumazet 2010-11-16 404 * on 64bit arches, not because its logically part of
b178bb3dfc30d9 Eric Dumazet 2010-11-16 405 * backlog.
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 406 */
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 407 struct {
b178bb3dfc30d9 Eric Dumazet 2010-11-16 408 atomic_t rmem_alloc;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 409 int len;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 410 struct sk_buff *head;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 411 struct sk_buff *tail;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 412 } sk_backlog;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 413 #define sk_rmem_alloc sk_backlog.rmem_alloc
2c8c56e15df3d4 Eric Dumazet 2014-11-11 414
9115e8cd2a0c6e Eric Dumazet 2016-12-03 415 int sk_forward_alloc;
e0d1095ae34054 Cong Wang 2013-08-01 416 #ifdef CONFIG_NET_RX_BUSY_POLL
dafcc4380deec2 Eliezer Tamir 2013-06-14 417 unsigned int sk_ll_usec;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 418 /* ===== mostly read cache line ===== */
9115e8cd2a0c6e Eric Dumazet 2016-12-03 419 unsigned int sk_napi_id;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 420 #endif
b178bb3dfc30d9 Eric Dumazet 2010-11-16 421 int sk_rcvbuf;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 422
b178bb3dfc30d9 Eric Dumazet 2010-11-16 423 struct sk_filter __rcu *sk_filter;
ceb5d58b217098 Eric Dumazet 2015-11-29 424 union {
eaefd1105bc431 Eric Dumazet 2011-02-18 425 struct socket_wq __rcu *sk_wq;
66256e0b15bd72 Randy Dunlap 2020-02-15 426 /* private: */
ceb5d58b217098 Eric Dumazet 2015-11-29 427 struct socket_wq *sk_wq_raw;
66256e0b15bd72 Randy Dunlap 2020-02-15 428 /* public: */
ceb5d58b217098 Eric Dumazet 2015-11-29 429 };
def8b4faff5ca3 Alexey Dobriyan 2008-10-28 430 #ifdef CONFIG_XFRM
d188ba86dd07a7 Eric Dumazet 2015-12-08 431 struct xfrm_policy __rcu *sk_policy[2];
def8b4faff5ca3 Alexey Dobriyan 2008-10-28 432 #endif
deaa58542b21d2 Eric Dumazet 2012-06-24 433 struct dst_entry *sk_rx_dst;
0e36cbb344575e Cong Wang 2013-01-22 434 struct dst_entry __rcu *sk_dst_cache;
^1da177e4c3f41 Linus Torvalds 2005-04-16 435 atomic_t sk_omem_alloc;
4e07a91c37c69e Arnaldo Carvalho de Melo 2007-05-29 436 int sk_sndbuf;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 437
9115e8cd2a0c6e Eric Dumazet 2016-12-03 438 /* ===== cache line for TX ===== */
9115e8cd2a0c6e Eric Dumazet 2016-12-03 439 int sk_wmem_queued;
14afee4b6092fd Reshetova, Elena 2017-06-30 440 refcount_t sk_wmem_alloc;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 441 unsigned long sk_tsq_flags;
75c119afe14f74 Eric Dumazet 2017-10-05 442 union {
9115e8cd2a0c6e Eric Dumazet 2016-12-03 443 struct sk_buff *sk_send_head;
75c119afe14f74 Eric Dumazet 2017-10-05 444 struct rb_root tcp_rtx_queue;
75c119afe14f74 Eric Dumazet 2017-10-05 445 };
472c2e07eef045 Eric Dumazet 2019-03-22 446 struct sk_buff *sk_tx_skb_cache;
^1da177e4c3f41 Linus Torvalds 2005-04-16 447 struct sk_buff_head sk_write_queue;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 448 __s32 sk_peek_off;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 449 int sk_write_pending;
9b8805a325591c Julian Anastasov 2017-02-06 450 __u32 sk_dst_pending_confirm;
218af599fa635b Eric Dumazet 2017-05-16 451 u32 sk_pacing_status; /* see enum sk_pacing */
9115e8cd2a0c6e Eric Dumazet 2016-12-03 452 long sk_sndtimeo;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 453 struct timer_list sk_timer;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 454 __u32 sk_priority;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 455 __u32 sk_mark;
76a9ebe811fb3d Eric Dumazet 2018-10-15 456 unsigned long sk_pacing_rate; /* bytes per second */
76a9ebe811fb3d Eric Dumazet 2018-10-15 457 unsigned long sk_max_pacing_rate;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 458 struct page_frag sk_frag;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 459 netdev_features_t sk_route_caps;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 460 netdev_features_t sk_route_nocaps;
0a6b2a1dc2a210 Eric Dumazet 2018-02-19 461 netdev_features_t sk_route_forced_caps;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 462 int sk_gso_type;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 463 unsigned int sk_gso_max_size;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 464 gfp_t sk_allocation;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 465 __u32 sk_txhash;
fc64869c48494a Andrey Ryabinin 2016-05-18 466
fc64869c48494a Andrey Ryabinin 2016-05-18 467 /*
fc64869c48494a Andrey Ryabinin 2016-05-18 468 * Because of non atomicity rules, all
fc64869c48494a Andrey Ryabinin 2016-05-18 469 * changes are protected by socket lock.
fc64869c48494a Andrey Ryabinin 2016-05-18 470 */
bf9765145b856f Mat Martineau 2020-01-09 471 u8 sk_padding : 1,
cdfbabfb2f0ce9 David Howells 2017-03-09 472 sk_kern_sock : 1,
28448b80456fea Tom Herbert 2014-05-23 473 sk_no_check_tx : 1,
28448b80456fea Tom Herbert 2014-05-23 474 sk_no_check_rx : 1,
bf9765145b856f Mat Martineau 2020-01-09 475 sk_userlocks : 4;
3a9b76fd0db9f0 Eric Dumazet 2017-11-11 476 u8 sk_pacing_shift;
bf9765145b856f Mat Martineau 2020-01-09 477 u16 sk_type;
bf9765145b856f Mat Martineau 2020-01-09 478 u16 sk_protocol;
bf9765145b856f Mat Martineau 2020-01-09 479 u16 sk_gso_max_segs;
^1da177e4c3f41 Linus Torvalds 2005-04-16 480 unsigned long sk_lingertime;
476e19cfa131e2 Arnaldo Carvalho de Melo 2005-05-05 481 struct proto *sk_prot_creator;
^1da177e4c3f41 Linus Torvalds 2005-04-16 482 rwlock_t sk_callback_lock;
^1da177e4c3f41 Linus Torvalds 2005-04-16 483 int sk_err,
^1da177e4c3f41 Linus Torvalds 2005-04-16 484 sk_err_soft;
becb74f0acca19 Eric Dumazet 2015-03-19 485 u32 sk_ack_backlog;
becb74f0acca19 Eric Dumazet 2015-03-19 486 u32 sk_max_ack_backlog;
86741ec25462e4 Lorenzo Colitti 2016-11-04 487 kuid_t sk_uid;
7fd3253a7de6a3 Björn Töpel 2020-11-30 488 #ifdef CONFIG_NET_RX_BUSY_POLL
7fd3253a7de6a3 Björn Töpel 2020-11-30 489 u8 sk_prefer_busy_poll;
7c951cafc0cb2e Björn Töpel 2020-11-30 490 u16 sk_busy_poll_budget;
7fd3253a7de6a3 Björn Töpel 2020-11-30 491 #endif
35306eb2381444 Eric Dumazet 2021-09-29 492 spinlock_t sk_peer_lock;
109f6e39fa07c4 Eric W. Biederman 2010-06-13 493 struct pid *sk_peer_pid;
109f6e39fa07c4 Eric W. Biederman 2010-06-13 494 const struct cred *sk_peer_cred;
35306eb2381444 Eric Dumazet 2021-09-29 495
^1da177e4c3f41 Linus Torvalds 2005-04-16 496 long sk_rcvtimeo;
b7aa0bf70c4afb Eric Dumazet 2007-04-19 497 ktime_t sk_stamp;
3a0ed3e9619738 Deepa Dinamani 2018-12-27 498 #if BITS_PER_LONG==32
3a0ed3e9619738 Deepa Dinamani 2018-12-27 499 seqlock_t sk_stamp_seq;
3a0ed3e9619738 Deepa Dinamani 2018-12-27 500 #endif
b9f40e21ef4298 Willem de Bruijn 2014-08-04 501 u16 sk_tsflags;
d463126e23f112 Yangbo Lu 2021-06-30 502 int sk_bind_phc;
fc64869c48494a Andrey Ryabinin 2016-05-18 503 u8 sk_shutdown;
09c2d251b70723 Willem de Bruijn 2014-08-04 504 u32 sk_tskey;
52267790ef52d7 Willem de Bruijn 2017-08-03 505 atomic_t sk_zckey;
80b14dee2bea12 Richard Cochran 2018-07-03 506
80b14dee2bea12 Richard Cochran 2018-07-03 507 u8 sk_clockid;
80b14dee2bea12 Richard Cochran 2018-07-03 508 u8 sk_txtime_deadline_mode : 1,
4b15c707535266 Jesus Sanchez-Palencia 2018-07-03 509 sk_txtime_report_errors : 1,
4b15c707535266 Jesus Sanchez-Palencia 2018-07-03 510 sk_txtime_unused : 6;
80b14dee2bea12 Richard Cochran 2018-07-03 511
^1da177e4c3f41 Linus Torvalds 2005-04-16 512 struct socket *sk_socket;
^1da177e4c3f41 Linus Torvalds 2005-04-16 513 void *sk_user_data;
d5f642384e9da7 Alexey Dobriyan 2008-11-04 514 #ifdef CONFIG_SECURITY
^1da177e4c3f41 Linus Torvalds 2005-04-16 515 void *sk_security;
d5f642384e9da7 Alexey Dobriyan 2008-11-04 516 #endif
2a56a1fec290bf Tejun Heo 2015-12-07 517 struct sock_cgroup_data sk_cgrp_data;
baac50bbc3cdfd Johannes Weiner 2016-01-14 518 struct mem_cgroup *sk_memcg;
^1da177e4c3f41 Linus Torvalds 2005-04-16 519 void (*sk_state_change)(struct sock *sk);
676d23690fb62b David S. Miller 2014-04-11 520 void (*sk_data_ready)(struct sock *sk);
^1da177e4c3f41 Linus Torvalds 2005-04-16 521 void (*sk_write_space)(struct sock *sk);
^1da177e4c3f41 Linus Torvalds 2005-04-16 522 void (*sk_error_report)(struct sock *sk);
^1da177e4c3f41 Linus Torvalds 2005-04-16 523 int (*sk_backlog_rcv)(struct sock *sk,
^1da177e4c3f41 Linus Torvalds 2005-04-16 524 struct sk_buff *skb);
ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 525 #ifdef CONFIG_SOCK_VALIDATE_XMIT
ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 526 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk,
ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 527 struct net_device *dev,
ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 528 struct sk_buff *skb);
ebf4e808fa0b22 Ilya Lesokhin 2018-04-30 529 #endif
^1da177e4c3f41 Linus Torvalds 2005-04-16 530 void (*sk_destruct)(struct sock *sk);
ef456144da8ef5 Craig Gallek 2016-01-04 531 struct sock_reuseport __rcu *sk_reuseport_cb;
6ac99e8f23d4b1 Martin KaFai Lau 2019-04-26 532 #ifdef CONFIG_BPF_SYSCALL
1f00d375af84fb KP Singh 2020-08-25 533 struct bpf_local_storage __rcu *sk_bpf_storage;
6ac99e8f23d4b1 Martin KaFai Lau 2019-04-26 534 #endif
a4298e4522d687 Eric Dumazet 2016-04-01 535 struct rcu_head sk_rcu;
^1da177e4c3f41 Linus Torvalds 2005-04-16 536 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 537
:::::: The code at line 386 was first introduced by commit
:::::: efe4208f47f907b86f528788da711e8ab9dea44d ipv6: make lookups simpler and faster
:::::: TO: Eric Dumazet <edumazet@google.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34853 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-20 0:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 0:02 [linux-next:master 1474/2290] include/net/sock.h:386:45: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean 'skc_daddr'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox