OpenCloudOS-Kernel/drivers/crypto/aspeed
Neal Liu b2ca29501c crypto: aspeed - fix uninitialized symbol 'idx' warning
'idx' is not initialized if it's not EXP_MODE nor MOD_MODE.
Use "else" instead to fix it.

Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/202302261052.CVFRyq6F-lkp@intel.com/
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-03-14 17:06:45 +08:00
..
Kconfig crypto: aspeed - Add ACRY RSA driver 2023-01-13 12:11:18 +08:00
Makefile crypto: aspeed - Fix modular aspeed-acry 2023-02-14 13:39:33 +08:00
aspeed-acry.c crypto: aspeed - fix uninitialized symbol 'idx' warning 2023-03-14 17:06:45 +08:00
aspeed-hace-crypto.c crypto: aspeed - Fix sparse warnings 2022-09-07 14:11:04 +08:00
aspeed-hace-hash.c crypto: aspeed - Fix sparse warnings 2022-09-07 14:11:04 +08:00
aspeed-hace.c crypto: aspeed - Use devm_platform_get_and_ioremap_resource() 2023-01-27 18:58:09 +08:00
aspeed-hace.h crypto: aspeed - Replace zero-length array with flexible-array member 2023-01-20 18:29:31 +08:00