linux_dsm_epyc7002/drivers/misc/genwqe
Christian Engelmayer d913c7439a misc: genwqe: Fix potential memory leak when pinning memory
Fix a memory leak in the genwqe_pin_mem() error path as called by
ioctl GENWQE_PIN_MEM. In case there is an error encountered when
mapping memory, the already allocated dma_mapping struct needs to
be freed correctly.

Detected by Coverity: CID 1162606.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 15:24:31 -08:00
..
card_base.c
card_base.h GenWQE: Fix compile problems for Alpha 2014-01-08 15:22:15 -08:00
card_ddcb.c GenWQE: Fix compile problems for Alpha 2014-01-08 15:22:15 -08:00
card_ddcb.h
card_debugfs.c GenWQE Debugfs interfaces 2013-12-18 16:51:15 -08:00
card_dev.c misc: genwqe: Fix potential memory leak when pinning memory 2014-02-07 15:24:31 -08:00
card_sysfs.c GenWQE Sysfs interfaces 2013-12-18 16:51:15 -08:00
card_utils.c GenWQE: Accidently casting to u32 where u64 is required 2013-12-20 11:34:29 -08:00
genwqe_driver.h GenWQE: Replace dynamic_hex_dump with print_hex_dump_debug 2013-12-20 08:47:29 -08:00
Kconfig GenWQE Enable driver 2013-12-18 16:51:15 -08:00
Makefile GenWQE Enable driver 2013-12-18 16:51:15 -08:00