aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/api.c')
-rw-r--r--crypto/api.c2
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)
229static inline int crypto_set_driver_name(struct crypto_alg *alg) 229static inline int crypto_set_driver_name(struct crypto_alg *alg)
230{ 230{
231 static const char suffix[] = "-generic"; 231 static const char suffix[] = "-generic";
232 char *driver_name = (char *)alg->cra_driver_name; 232 char *driver_name = alg->cra_driver_name;
233 int len; 233 int len;
234 234
235 if (*driver_name) 235 if (*driver_name)