Re: [PATCH next] crypto: fix oob Read in arc4_crypt

From: kernel test robot
Date: Sun Dec 24 2023 - 13:55:10 EST


Hi Edward,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20231222]

url: https://github.com/intel-lab-lkp/linux/commits/Edward-Adam-Davis/crypto-fix-oob-Read-in-arc4_crypt/20231222-172845
base: next-20231222
patch link: https://lore.kernel.org/r/tencent_656D589558EA3EED8ACF3C79166F202E010A%40qq.com
patch subject: [PATCH next] crypto: fix oob Read in arc4_crypt
config: i386-buildonly-randconfig-003-20231224 (https://download.01.org/0day-ci/archive/20231225/202312250259.yyBgM27K-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231225/202312250259.yyBgM27K-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312250259.yyBgM27K-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from drivers/crypto/padlock-aes.c:13:
>> include/crypto/internal/skcipher.h:27:33: warning: 'crypto_skcipher_type' defined but not used [-Wunused-const-variable=]
27 | static const struct crypto_type crypto_skcipher_type;
| ^~~~~~~~~~~~~~~~~~~~


vim +/crypto_skcipher_type +27 include/crypto/internal/skcipher.h

24
25 struct aead_request;
26 struct rtattr;
> 27 static const struct crypto_type crypto_skcipher_type;
28

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki