lkml.org 
[lkml]   [2022]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:dhowells/linux-fs/rxrpc-ringless 24/29] net/rxrpc/output.c:23:19: warning: unused variable 'sa'
tree:   https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/rxrpc-ringless
head: 48069f411991d171a7d5f1b963e86b737f43e046
commit: e990934c7b43d158004ce640db9f1d3259cbdc3a [24/29] rxrpc: Call udp_sendmsg() directly
config: i386-randconfig-a006 (https://download.01.org/0day-ci/archive/20220514/202205140208.yDJeqbHV-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 38189438b69ca27b4c6ce707c52dbd217583d046)
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/e990934c7b43d158004ce640db9f1d3259cbdc3a
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/rxrpc-ringless
git checkout e990934c7b43d158004ce640db9f1d3259cbdc3a
# 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 as appropriate
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-05-13 20:59    [W:0.879 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site