* [dhowells-fs:rxrpc-rxgk 8/8] net/rxrpc/rxgk-kdf.c:876:5: warning: no previous prototype for 'rxgk_set_up_token_cipher'
@ 2020-09-14 15:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-14 15:57 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3092 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rxgk
head: 4a2514097a3f7a76bce42c636d4cf8b5a9cd4787
commit: 4a2514097a3f7a76bce42c636d4cf8b5a9cd4787 [8/8] rxrpc: Implement the yfs-rxgk transport class (security index 6)
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
git checkout 4a2514097a3f7a76bce42c636d4cf8b5a9cd4787
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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/rxgk-kdf.c:364:5: warning: no previous prototype for 'rxgk_calc_DK' [-Wmissing-prototypes]
364 | int rxgk_calc_DK(const struct rxgk_krb5_enctype *gk5e,
| ^~~~~~~~~~~~
>> net/rxrpc/rxgk-kdf.c:876:5: warning: no previous prototype for 'rxgk_set_up_token_cipher' [-Wmissing-prototypes]
876 | int rxgk_set_up_token_cipher(const struct rxgk_buffer *server_key,
| ^~~~~~~~~~~~~~~~~~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=4a2514097a3f7a76bce42c636d4cf8b5a9cd4787
git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs rxrpc-rxgk
git checkout 4a2514097a3f7a76bce42c636d4cf8b5a9cd4787
vim +/rxgk_set_up_token_cipher +876 net/rxrpc/rxgk-kdf.c
871
872 /*
873 * Use the server secret key to set up the ciphers that will be used to extract
874 * the token from a response packet.
875 */
> 876 int rxgk_set_up_token_cipher(const struct rxgk_buffer *server_key,
877 struct rxgk_enc_keys *token_key,
878 unsigned int enctype,
879 gfp_t gfp)
880 {
881 const struct rxgk_krb5_enctype *gk5e;
882 struct rxgk_buffer key;
883 int ret;
884 u8 *buffer;
885
886 gk5e = rxgk_find_enctype(enctype);
887 if (!gk5e)
888 return -ENOPKG;
889
890 buffer = kzalloc(gk5e->keybytes, gfp);
891 if (!buffer)
892 return -ENOMEM;
893
894 key.len = gk5e->keybytes;
895 key.data = buffer;
896
897 DERIVE_SKCIPHER(server_key, rxgk_const_token_Ke, &token_key->Ke);
898 DERIVE_HMAC (server_key, rxgk_const_token_Ki, &token_key->Ki);
899
900 kfree(buffer);
901 return 0;
902
903 out:
904 kfree(buffer);
905 if (token_key->Ke)
906 crypto_free_sync_skcipher(token_key->Ke);
907 if (token_key->Ki)
908 crypto_free_shash(token_key->Ki);
909 token_key->Ke = NULL;
910 token_key->Ki = NULL;
911 return ret;
912 }
913
---
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: 52755 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-14 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14 15:57 [dhowells-fs:rxrpc-rxgk 8/8] net/rxrpc/rxgk-kdf.c:876:5: warning: no previous prototype for 'rxgk_set_up_token_cipher' 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.