diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2022-11-10 18:42:04 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-11-18 16:59:34 +0800 |
commit | 824db5cd1ec9b95c254fc317c3999f6b53e98b12 (patch) | |
tree | da8a657ee64cf0ea475b7d90502609a477cd33ab /crypto | |
parent | 4f1c596df706c9aca662b6c214fad84047ae2a97 (diff) |
crypto: arm64 - Fix unused variable compilation warnings of cpu_feature
The cpu feature defined by MODULE_DEVICE_TABLE is only referenced when
compiling as a module, and the warning of unused variable will be
encountered when compiling with intree. The warning can be removed by
adding the __maybe_unused flag.
Fixes: 03c9a333fef1 ("crypto: arm64/ghash - add NEON accelerated fallback for 64-bit PMULL")
Fixes: ae1b83c7d572 ("crypto: arm64/sm4 - add CE implementation for GCM mode")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions