diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-09-24 10:26:15 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-10-05 10:16:56 +0800 |
commit | 3512dcb4e6c64733871202c01f0ec6b5d84d32ac (patch) | |
tree | f562a47dcd6dc0d4755d12317a63866788096daf /include/linux/hw_random.h | |
parent | crypto: x86/aes-ni - remove special handling of AES in PCBC mode (diff) | |
download | linux-dev-3512dcb4e6c64733871202c01f0ec6b5d84d32ac.tar.xz linux-dev-3512dcb4e6c64733871202c01f0ec6b5d84d32ac.zip |
crypto: ccp - Remove forward declaration
Clang emits a warning about this construct:
drivers/crypto/ccp/sp-platform.c:36:36: warning: tentative array
definition assumed to have one element
static const struct acpi_device_id sp_acpi_match[];
^
1 warning generated.
Just remove the forward declarations and move the initializations up
so that they can be used in sp_get_of_version and sp_get_acpi_version.
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/hw_random.h')
0 files changed, 0 insertions, 0 deletions