diff options
author | Mark Rustad <mark.d.rustad@intel.com> | 2014-07-25 05:53:38 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-08-01 10:35:55 -0400 |
commit | 3e3dc25fe7d5e33026bdfca5e8fab08be6a8729c (patch) | |
tree | c6ee3c7f38cfbca84b292c128a1a0d2e5fbb170b /include/linux/crypto.h | |
parent | 4839ddcaba266bcf37dfb00757f339ab9de4710e (diff) |
crypto: Resolve shadow warnings
Change formal parameters to not clash with global names to
eliminate many W=2 warnings.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r-- | include/linux/crypto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index b92eadf92d72..d45e949699ea 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
@@ -710,9 +710,9 @@ static inline void ablkcipher_request_free(struct ablkcipher_request *req) | |||
710 | 710 | ||
711 | static inline void ablkcipher_request_set_callback( | 711 | static inline void ablkcipher_request_set_callback( |
712 | struct ablkcipher_request *req, | 712 | struct ablkcipher_request *req, |
713 | u32 flags, crypto_completion_t complete, void *data) | 713 | u32 flags, crypto_completion_t compl, void *data) |
714 | { | 714 | { |
715 | req->base.complete = complete; | 715 | req->base.complete = compl; |
716 | req->base.data = data; | 716 | req->base.data = data; |
717 | req->base.flags = flags; | 717 | req->base.flags = flags; |
718 | } | 718 | } |
@@ -841,10 +841,10 @@ static inline void aead_request_free(struct aead_request *req) | |||
841 | 841 | ||
842 | static inline void aead_request_set_callback(struct aead_request *req, | 842 | static inline void aead_request_set_callback(struct aead_request *req, |
843 | u32 flags, | 843 | u32 flags, |
844 | crypto_completion_t complete, | 844 | crypto_completion_t compl, |
845 | void *data) | 845 | void *data) |
846 | { | 846 | { |
847 | req->base.complete = complete; | 847 | req->base.complete = compl; |
848 | req->base.data = data; | 848 | req->base.data = data; |
849 | req->base.flags = flags; | 849 | req->base.flags = flags; |
850 | } | 850 | } |