]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - crypto/ablkcipher.c
KVM: VMX: Expose SSBD properly to guests.
[mirror_ubuntu-artful-kernel.git] / crypto / ablkcipher.c
index d676fc59521a0bceb1064ff1bdab0acdc7ccd6f6..d880a489715976fef528cfc7544956d1ce761b52 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/slab.h>
 #include <linux/seq_file.h>
 #include <linux/cryptouser.h>
+#include <linux/compiler.h>
 #include <net/netlink.h>
 
 #include <crypto/scatterwalk.h>
@@ -394,7 +395,7 @@ static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg)
 #endif
 
 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg)
-       __attribute__ ((unused));
+       __maybe_unused;
 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg)
 {
        struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher;
@@ -468,7 +469,7 @@ static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg)
 #endif
 
 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg)
-       __attribute__ ((unused));
+       __maybe_unused;
 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg)
 {
        struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher;