All of lore.kernel.org
 help / color / mirror / Atom feed
* [dhowells-fs:crypto-krb5 33/35] net/rxrpc/rxgk_common.h:149:13: warning: variable 'ret' set but not used
@ 2020-11-13  4:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-13  4:00 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2679 bytes --]

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/commit/?id=478dc697e3d6b3a032964927e6716b5799b2d848
        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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66148 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-13  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13  4:00 [dhowells-fs:crypto-krb5 33/35] net/rxrpc/rxgk_common.h:149:13: warning: variable 'ret' set but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.