lkml.org 
[lkml]   [2022]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:dhowells/linux-fs/rxrpc-ringless-2 15/24] net/rxrpc/output.c:23:19: warning: unused variable 'sa'
tree:   https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/rxrpc-ringless-2
head: 3f41f1279858b9676cd6724d54e4323696e1ac07
commit: 4d6e89b6fafafd93ba38b1d86b8adbaa4401802c [15/24] rxrpc: Call udp_sendmsg() directly
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220616/202206161534.tpQzkyUT-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6)
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/ammarfaizi2/linux-block/commit/4d6e89b6fafafd93ba38b1d86b8adbaa4401802c
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/rxrpc-ringless-2
git checkout 4d6e89b6fafafd93ba38b1d86b8adbaa4401802c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/rxrpc/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> net/rxrpc/output.c:23:19: warning: unused variable 'sa' [-Wunused-variable]
struct sockaddr *sa = msg->msg_name;
^
1 warning generated.


vim +/sa +23 net/rxrpc/output.c

20
21 static ssize_t do_udp_sendmsg(struct socket *sk, struct msghdr *msg, size_t len)
22 {
> 23 struct sockaddr *sa = msg->msg_name;
24

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-06-16 10:08    [W:0.030 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site