Hi Christoph, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on mkl-can-next/testing] [also build test WARNING on linus/master v6.1-rc6 next-20221125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Christoph-Fritz/LIN-support-for-Linux/20221128-032008 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing patch link: https://lore.kernel.org/r/20221127190244.888414-3-christoph.fritz%40hexdev.de patch subject: [PATCH 2/2] [RFC] can: Add LIN proto skeleton config: ia64-allmodconfig compiler: ia64-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/intel-lab-lkp/linux/commit/df8f1d68ecf9715b1b9219e70316c4d44043f363 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Christoph-Fritz/LIN-support-for-Linux/20221128-032008 git checkout df8f1d68ecf9715b1b9219e70316c4d44043f363 # 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=ia64 SHELL=/bin/bash net/can/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): net/can/lin.c: In function 'lin_release': >> net/can/lin.c:42:21: warning: variable 'net' set but not used [-Wunused-but-set-variable] 42 | struct net *net; | ^~~ >> net/can/lin.c:41:26: warning: variable 'so' set but not used [-Wunused-but-set-variable] 41 | struct lin_sock *so; | ^~ vim +/net +42 net/can/lin.c 37 38 static int lin_release(struct socket *sock) 39 { 40 struct sock *sk = sock->sk; > 41 struct lin_sock *so; > 42 struct net *net; 43 44 if (!sk) 45 return 0; 46 47 so = lin_sk(sk); 48 net = sock_net(sk); 49 50 // Nothing do to so far 51 52 sock_orphan(sk); 53 sock->sk = NULL; 54 55 release_sock(sk); 56 sock_put(sk); 57 58 return 0; 59 } 60 -- 0-DAY CI Kernel Test Service https://01.org/lkp