Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=03f5d8cedb31deb558cd97095730cbc8bc54b12a
Commit:     03f5d8cedb31deb558cd97095730cbc8bc54b12a
Parent:     dc87c3985e9b442c60994308a96f887579addc39
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 31 10:42:06 2006 +1100
Committer:  Herbert Xu <[EMAIL PROTECTED]>
CommitDate: Wed May 2 14:38:29 2007 +1000

    [CRYPTO] api: Proc functions should be marked as unused
    
    The proc functions were incorrectly marked as used rather than unused.
    They may be unused if proc is disabled.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
---
 crypto/blkcipher.c |    2 +-
 crypto/hash.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c
index b5befe8..bf45917 100644
--- a/crypto/blkcipher.c
+++ b/crypto/blkcipher.c
@@ -386,7 +386,7 @@ static int crypto_init_blkcipher_ops(struct crypto_tfm 
*tfm, u32 type, u32 mask)
 }
 
 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg)
-       __attribute_used__;
+       __attribute__ ((unused));
 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg)
 {
        seq_printf(m, "type         : blkcipher\n");
diff --git a/crypto/hash.c b/crypto/hash.c
index 12c4514..4ccd22d 100644
--- a/crypto/hash.c
+++ b/crypto/hash.c
@@ -41,7 +41,7 @@ static int crypto_init_hash_ops(struct crypto_tfm *tfm, u32 
type, u32 mask)
 }
 
 static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg)
-       __attribute_used__;
+       __attribute__ ((unused));
 static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg)
 {
        seq_printf(m, "type         : hash\n");
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to