linux/drivers/s390
Andy Shevchenko 6252f47b78 s390/zcrypt: don't leak memory if dev_set_name() fails
When dev_set_name() fails, zcdn_create() doesn't free the newly
allocated resources. Do it.

Fixes: 00fab2350e ("s390/zcrypt: multiple zcrypt device nodes support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230831110000.24279-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2023-09-05 20:12:51 +02:00
..
block s390/dcssblk: fix lockdep warning 2023-08-30 11:03:27 +02:00
char s390/monreader: fix virtual vs physical address confusion 2023-08-30 11:03:26 +02:00
cio s390/airq: remove lsi_mask from airq_struct 2023-08-30 11:03:28 +02:00
crypto s390/zcrypt: don't leak memory if dev_set_name() fails 2023-09-05 20:12:51 +02:00
net s390/qeth: Don't call dev_close/dev_open (DOWN/UP) 2023-08-02 10:12:51 +01:00
scsi scsi: zfcp: Defer fc_rport blocking until after ADISC response 2023-07-25 21:54:05 -04:00
virtio s390/airq: remove lsi_mask from airq_struct 2023-08-30 11:03:28 +02:00
Makefile