WSL2-Linux-Kernel/drivers/pwm
Christian Engelmayer 0b7d25c347 pwm: lp3943: Fix potential memory leak during request
Fix a memory leak in the lp3943_pwm_request_map() error handling path.
Make sure already allocated pwm map memory is freed correctly.
Detected by Coverity: CID 1162829.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2014-02-26 15:45:12 +01:00
..
Kconfig pwm: Changes for v3.14-rc1 2014-01-27 08:15:51 -08:00
Makefile pwm: Changes for v3.14-rc1 2014-01-27 08:15:51 -08:00
core.c pwm: use seq_puts() instead of seq_printf() 2013-12-20 10:53:41 +01:00
pwm-ab8500.c pwm: ab8500: Add .owner to struct pwm_ops 2013-04-02 11:29:11 +02:00
pwm-atmel-tcb.c pwm: atmel-tcb: fix max time computation for slow clk source 2013-09-19 14:04:32 +02:00
pwm-atmel.c pwm: atmel-pwm: Do not unprepare clock after successful registration 2013-12-20 10:48:43 +01:00
pwm-bfin.c pwm: Fill in missing .owner fields 2013-06-12 13:18:29 +02:00
pwm-ep93xx.c pwm: ep93xx: split module author names 2013-12-20 10:53:50 +01:00
pwm-imx.c pwm: imx: Remove redundant of_match_ptr 2013-10-08 15:49:38 +02:00
pwm-jz4740.c pwm: jz4740: Use devm_clk_get() 2013-12-12 13:23:23 +01:00
pwm-lp3943.c pwm: lp3943: Fix potential memory leak during request 2014-02-26 15:45:12 +01:00
pwm-lpc32xx.c pwm: lpc32xx: Remove redundant of_match_ptr 2013-10-08 15:49:19 +02:00
pwm-mxs.c pwm: mxs: Remove redundant of_match_ptr 2013-10-08 15:49:10 +02:00
pwm-pca9685.c pwm: pca9685: Fix wrong argument to set MODE1_SLEEP bit 2013-06-26 23:23:54 +02:00
pwm-puv3.c pwm: Fill in missing .owner fields 2013-06-12 13:18:29 +02:00
pwm-pxa.c pwm: pxa: remove unnecessary space before tabs 2013-12-20 10:53:55 +01:00
pwm-renesas-tpu.c pwm: simplify use of devm_ioremap_resource 2013-09-03 13:09:16 +02:00
pwm-samsung.c pwm: samsung: Fix kernel warning while unexporting a channel 2013-11-01 11:17:57 +01:00
pwm-spear.c pwm: simplify use of devm_ioremap_resource 2013-09-03 13:09:16 +02:00
pwm-tegra.c pwm: Fill in missing .owner fields 2013-06-12 13:18:29 +02:00
pwm-tiecap.c pwm: tiecap: Remove duplicate put_sync call 2014-01-23 15:19:18 +01:00
pwm-tiehrpwm.c pwm: tiehrpwm: use dev_err() instead of pr_err() 2013-12-20 11:03:17 +01:00
pwm-tipwmss.c drivers/pwm: don't check resource with devm_ioremap_resource 2013-05-18 11:55:58 +02:00
pwm-tipwmss.h pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices 2013-03-22 11:35:20 +01:00
pwm-twl-led.c pwm: twl-led: Include linux/of.h header 2013-10-08 15:45:44 +02:00
pwm-twl.c pwm: twl: Include linux/of.h header 2013-10-08 15:45:44 +02:00
pwm-vt8500.c drivers/pwm: don't check resource with devm_ioremap_resource 2013-05-18 11:55:58 +02:00
sysfs.c pwm: sysfs: Convert to use ATTRIBUTE_GROUPS macro 2013-12-04 11:35:28 +01:00