summaryrefslogtreecommitdiff
path: root/drivers/s390/crypto/pkey_api.c
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.vnet.ibm.com>2017-05-09 15:07:37 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-06-12 17:25:56 +0300
commit3050c20821d7e9f15566d105da9a0913de61e85c (patch)
treef8c0db1d991ce445cad3d71b4f051ad27d027045 /drivers/s390/crypto/pkey_api.c
parent9861dbd5b4a422ae03a8caa2fa6d2827912aa952 (diff)
downloadlinux-3050c20821d7e9f15566d105da9a0913de61e85c.tar.xz
s390/dasd: Remove variable sized array
Dynamic stack allocations are considered bad. Get rid of this one occurrence and use kstrdup() instead. Also, set the return codes so that we have only one exit where we can call kfree(). Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/pkey_api.c')
0 files changed, 0 insertions, 0 deletions