diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-20 14:14:05 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-24 21:36:06 +0100 |
commit | f30cfacad1ee948c821a82e63b28958b92bf8c6c (patch) | |
tree | 42843c37e05730c2b6377ab401e0b824a0429fd4 /drivers/crypto/padlock-aes.c | |
parent | d51ba9c6663d7171681be357f672503f4e2ccdc1 (diff) | |
download | lwn-f30cfacad1ee948c821a82e63b28958b92bf8c6c.tar.gz lwn-f30cfacad1ee948c821a82e63b28958b92bf8c6c.zip |
crypto: Convert to new CPU match macros
The new macro set has a consistent namespace and uses C99 initializers
instead of the grufty C89 ones.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lkml.kernel.org/r/20200320131510.700250889@linutronix.de
Diffstat (limited to 'drivers/crypto/padlock-aes.c')
-rw-r--r-- | drivers/crypto/padlock-aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/padlock-aes.c b/drivers/crypto/padlock-aes.c index 594d6b1695d5..62c6fe88b212 100644 --- a/drivers/crypto/padlock-aes.c +++ b/drivers/crypto/padlock-aes.c @@ -474,7 +474,7 @@ static struct skcipher_alg cbc_aes_alg = { }; static const struct x86_cpu_id padlock_cpu_id[] = { - X86_FEATURE_MATCH(X86_FEATURE_XCRYPT), + X86_MATCH_FEATURE(X86_FEATURE_XCRYPT, NULL), {} }; MODULE_DEVICE_TABLE(x86cpu, padlock_cpu_id); |