commit | 3050c20821d7e9f15566d105da9a0913de61e85c | [log] [tgz] |
---|---|---|
author | Jan Höppner <hoeppner@linux.vnet.ibm.com> | Tue May 09 14:07:37 2017 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Jun 12 16:25:56 2017 +0200 |
tree | f8c0db1d991ce445cad3d71b4f051ad27d027045 | |
parent | 9861dbd5b4a422ae03a8caa2fa6d2827912aa952 [diff] |
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>