Hi Aditi, FYI, the error/warning still remains. tree: https://github.com/cilium/linux.git bpf-sockd head: 984f0f94f3033c9a40a79c76598c5bdf1dbfd02b commit: 62abab3e194821580647259ec4c8814bf1a56c03 [1/6] net: Extend sock destroy handler API with locked version config: m68k-allmodconfig compiler: m68k-linux-gcc (GCC) 12.1.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://github.com/cilium/linux/commit/62abab3e194821580647259ec4c8814bf1a56c03 git remote add cilium https://github.com/cilium/linux.git git fetch --no-tags cilium bpf-sockd git checkout 62abab3e194821580647259ec4c8814bf1a56c03 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash net/smc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): net/smc/af_smc.c: In function 'smc_release': >> net/smc/af_smc.c:326:17: error: too few arguments to function 'tcp_abort' 326 | tcp_abort(smc->clcsock->sk, ECONNABORTED); | ^~~~~~~~~ In file included from net/smc/af_smc.c:32: include/net/tcp.h:1400:5: note: declared here 1400 | int tcp_abort(struct sock *sk, int err, bool acquire_lock); | ^~~~~~~~~ -- net/smc/smc_close.c: In function 'smc_close_active_abort': >> net/smc/smc_close.c:135:25: error: too few arguments to function 'tcp_abort' 135 | tcp_abort(smc->clcsock->sk, ECONNABORTED); | ^~~~~~~~~ In file included from net/smc/smc_close.c:16: include/net/tcp.h:1400:5: note: declared here 1400 | int tcp_abort(struct sock *sk, int err, bool acquire_lock); | ^~~~~~~~~ vim +/tcp_abort +326 net/smc/af_smc.c 39f41f367b0865 Ursula Braun 2019-06-27 309 39f41f367b0865 Ursula Braun 2019-06-27 310 static int smc_release(struct socket *sock) 39f41f367b0865 Ursula Braun 2019-06-27 311 { 39f41f367b0865 Ursula Braun 2019-06-27 312 struct sock *sk = sock->sk; 39f41f367b0865 Ursula Braun 2019-06-27 313 struct smc_sock *smc; 9f1c50cf39167f D. Wythe 2022-02-24 314 int old_state, rc = 0; 39f41f367b0865 Ursula Braun 2019-06-27 315 39f41f367b0865 Ursula Braun 2019-06-27 316 if (!sk) 39f41f367b0865 Ursula Braun 2019-06-27 317 goto out; 39f41f367b0865 Ursula Braun 2019-06-27 318 81cf4f4707af97 Ursula Braun 2019-10-21 319 sock_hold(sk); /* sock_put below */ 39f41f367b0865 Ursula Braun 2019-06-27 320 smc = smc_sk(sk); 39f41f367b0865 Ursula Braun 2019-06-27 321 9f1c50cf39167f D. Wythe 2022-02-24 322 old_state = sk->sk_state; 9f1c50cf39167f D. Wythe 2022-02-24 323 39f41f367b0865 Ursula Braun 2019-06-27 324 /* cleanup for a dangling non-blocking connect */ 9f1c50cf39167f D. Wythe 2022-02-24 325 if (smc->connect_nonblock && old_state == SMC_INIT) 39f41f367b0865 Ursula Braun 2019-06-27 @326 tcp_abort(smc->clcsock->sk, ECONNABORTED); 5c15b3123f65f8 D. Wythe 2021-12-15 327 5c15b3123f65f8 D. Wythe 2021-12-15 328 if (cancel_work_sync(&smc->connect_work)) 5c15b3123f65f8 D. Wythe 2021-12-15 329 sock_put(&smc->sk); /* sock_hold in smc_connect for passive closing */ 39f41f367b0865 Ursula Braun 2019-06-27 330 39f41f367b0865 Ursula Braun 2019-06-27 331 if (sk->sk_state == SMC_LISTEN) 39f41f367b0865 Ursula Braun 2019-06-27 332 /* smc_close_non_accepted() is called and acquires 39f41f367b0865 Ursula Braun 2019-06-27 333 * sock lock for child sockets again 39f41f367b0865 Ursula Braun 2019-06-27 334 */ 39f41f367b0865 Ursula Braun 2019-06-27 335 lock_sock_nested(sk, SINGLE_DEPTH_NESTING); 39f41f367b0865 Ursula Braun 2019-06-27 336 else 39f41f367b0865 Ursula Braun 2019-06-27 337 lock_sock(sk); 39f41f367b0865 Ursula Braun 2019-06-27 338 9f1c50cf39167f D. Wythe 2022-02-24 339 if (old_state == SMC_INIT && sk->sk_state == SMC_ACTIVE && 9f1c50cf39167f D. Wythe 2022-02-24 340 !smc->use_fallback) 9f1c50cf39167f D. Wythe 2022-02-24 341 smc_close_active_abort(smc); 9f1c50cf39167f D. Wythe 2022-02-24 342 39f41f367b0865 Ursula Braun 2019-06-27 343 rc = __smc_release(smc); 39f41f367b0865 Ursula Braun 2019-06-27 344 ac7138746e1413 Ursula Braun 2017-01-09 345 /* detach socket */ ac7138746e1413 Ursula Braun 2017-01-09 346 sock_orphan(sk); ac7138746e1413 Ursula Braun 2017-01-09 347 sock->sk = NULL; ac7138746e1413 Ursula Braun 2017-01-09 348 release_sock(sk); ac7138746e1413 Ursula Braun 2017-01-09 349 81cf4f4707af97 Ursula Braun 2019-10-21 350 sock_put(sk); /* sock_hold above */ 51f1de79ad8ed3 Ursula Braun 2018-01-26 351 sock_put(sk); /* final sock_put */ ac7138746e1413 Ursula Braun 2017-01-09 352 out: b38d732477e421 Ursula Braun 2017-01-09 353 return rc; ac7138746e1413 Ursula Braun 2017-01-09 354 } ac7138746e1413 Ursula Braun 2017-01-09 355 :::::: The code at line 326 was first introduced by commit :::::: 39f41f367b08650e9aa314e3a13fb6dda1e9eec7 net/smc: common release code for non-accepted sockets :::::: TO: Ursula Braun :::::: CC: David S. Miller -- 0-DAY CI Kernel Test Service https://01.org/lkp