diff options
author | 2020-04-02 23:22:18 +0200 | |
---|---|---|
committer | 2020-04-28 13:49:47 +0200 | |
commit | edbf3b2a87db6357fba54520c1baf605e08557b3 (patch) | |
tree | ac19efde2f8ddc00ae690d58d0efe74996f07539 /drivers/s390/cio/qdio.h | |
parent | s390/qdio: consolidate thinint init/exit (diff) | |
download | linux-edbf3b2a87db6357fba54520c1baf605e08557b3.tar.gz linux-edbf3b2a87db6357fba54520c1baf605e08557b3.tar.bz2 linux-edbf3b2a87db6357fba54520c1baf605e08557b3.zip |
s390/qdio: do more fine-grained allocation roll-back
Instead of having a catch-all qdio_release_memory() helper, free the
individual allocations from the respective error path.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio.h')
-rw-r--r-- | drivers/s390/cio/qdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h index 291b63ccdaf7..effab60c1b98 100644 --- a/drivers/s390/cio/qdio.h +++ b/drivers/s390/cio/qdio.h @@ -388,7 +388,7 @@ int qdio_setup_get_ssqd(struct qdio_irq *irq_ptr, int qdio_setup_irq(struct qdio_irq *irq_ptr, struct qdio_initialize *init_data); void qdio_shutdown_irq(struct qdio_irq *irq); void qdio_print_subchannel_info(struct qdio_irq *irq_ptr); -void qdio_release_memory(struct qdio_irq *irq_ptr); +void qdio_free_queues(struct qdio_irq *irq_ptr); int qdio_setup_init(void); void qdio_setup_exit(void); int qdio_enable_async_operation(struct qdio_output_q *q); |