diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-05-21 02:45:26 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-06-26 11:34:40 +0400 |
commit | d913ea0d6b6a48dd6eed8fc5e299b8b10e049186 (patch) | |
tree | baa603652c2428baa923dd5eef5773489c624ecf /crypto | |
parent | c7fc05992afcf1d63d6d5fb6142c8d39094dbca9 (diff) | |
download | linux-d913ea0d6b6a48dd6eed8fc5e299b8b10e049186.tar.xz |
[CRYPTO] api: Removed const from cra_name/cra_driver_name
We do need to change these names now and even more so in future with
instantiated algorithms. So let's stop lying to the compiler and get
rid of the const modifiers.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/api.c b/crypto/api.c index 8145310d7985..735fdedd8217 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -229,7 +229,7 @@ void crypto_free_tfm(struct crypto_tfm *tfm) static inline int crypto_set_driver_name(struct crypto_alg *alg) { static const char suffix[] = "-generic"; - char *driver_name = (char *)alg->cra_driver_name; + char *driver_name = alg->cra_driver_name; int len; if (*driver_name) |