WSL2-Linux-Kernel/drivers/serial/jsm
Breno Leitao abf4f6a514 jsm: Remove the uart port on errors
If kzmalloc fails, the uart port is not removed causing a leak.
This patch just add another label that removes the uart when the
kzmalloc fails.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:20:10 -07:00
..
Makefile
jsm.h jsm: removing the field jsm_board->intr_count 2009-12-11 15:18:03 -08:00
jsm_driver.c jsm: Remove the uart port on errors 2010-10-22 10:20:10 -07:00
jsm_neo.c jsm: removing the field jsm_board->intr_count 2009-12-11 15:18:03 -08:00
jsm_tty.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00