tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git crypto-krb5
head: 355656a6fe584cb0b68ebc1ca2e56be073b706d0
commit: 478dc697e3d6b3a032964927e6716b5799b2d848 [33/35] rxrpc: rxgk: Implement the
yfs-rxgk security class (GSSAPI)
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.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/dhowells/linux-fs.git/com...
git remote add dhowells-fs
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs crypto-krb5
git checkout 478dc697e3d6b3a032964927e6716b5799b2d848
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from net/rxrpc/rxgk.c:15:
net/rxrpc/rxgk_common.h: In function 'rxgk_verify_mic_skb':
> net/rxrpc/rxgk_common.h:149:13: warning: variable 'ret'
set but not used [-Wunused-but-set-variable]
149 | int nr_sg, ret;
| ^~~
net/rxrpc/rxgk.c: In function 'rxgk_construct_response':
> net/rxrpc/rxgk.c:649:8: warning: variable 'p' set but not
used [-Wunused-but-set-variable]
649 | void *p;
| ^
--
In file included from net/rxrpc/rxgk_app.c:15:
net/rxrpc/rxgk_common.h: In function 'rxgk_verify_mic_skb':
> net/rxrpc/rxgk_common.h:149:13: warning: variable 'ret'
set but not used [-Wunused-but-set-variable]
149 | int nr_sg, ret;
| ^~~
vim +/ret +149 net/rxrpc/rxgk_common.h
134
135 /*
136 * Check the MIC on a region of an skbuff. The offset and length are updated
137 * to reflect the actual content of the secure region.
138 */
139 static inline
140 int rxgk_verify_mic_skb(const struct krb5_enctype *krb5,
141 struct crypto_shash *shash,
142 const struct krb5_buffer *metadata,
143 struct sk_buff *skb,
144 unsigned int *_offset, unsigned int *_len,
145 u32 *_error_code)
146 {
147 struct scatterlist sg[16];
148 size_t offset = 0, len = *_len;
149 int nr_sg, ret;
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org