kernel-fxtec-pro1x/drivers/uio
Suman Anna 0d83539092 uio: fix incorrect memory leak cleanup
Commit 75f0aef622 ("uio: fix memory leak") has fixed up some
memory leaks during the failure paths of the addition of uio
attributes, but still is not correct entirely. A kobject_uevent()
failure still needs a kobject_put() and the kobject container
structure allocation failure before the kobject_init() doesn't
need a kobject_put(). Fix this properly.

Fixes: 75f0aef622 ("uio: fix memory leak")
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-16 23:06:41 +02:00
..
Kconfig uio-hv-generic: new userspace i/o driver for VMBus 2016-12-06 11:52:49 +01:00
Makefile uio-hv-generic: new userspace i/o driver for VMBus 2016-12-06 11:52:49 +01:00
uio.c uio: fix incorrect memory leak cleanup 2017-05-16 23:06:41 +02:00
uio_aec.c
uio_cif.c
uio_dmem_genirq.c
uio_fsl_elbc_gpcm.c
uio_hv_generic.c vmbus: add direct isr callback mode 2017-02-14 10:20:35 -08:00
uio_mf624.c uio_mf624: Align memory regions to page size and set correct offsets 2017-04-08 18:13:28 +02:00
uio_netx.c
uio_pci_generic.c
uio_pdrv_genirq.c
uio_pruss.c uio: pruss: add clk_disable() 2016-11-29 20:43:12 +01:00
uio_sercos3.c