mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]>
This commit is contained in:
parent
c7fc05992a
commit
d913ea0d6b
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue