Revision c9435f35ae64ee162555a82b6a3586b160093957 authored by Sudip Mukherjee on 18 December 2016, 22:26:36 UTC, committed by Thomas Gleixner on 19 December 2016, 10:19:57 UTC
If of_iomap() or any other subsequent function fails moxart_timer_init() exits without freeing memory and unmapping the timer base. Add proper cleanup points. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Link: http://lkml.kernel.org/r/1482099996-1524-1-git-send-email-sudipm.mukherjee@gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent b0b3a37
File | Mode | Size |
---|---|---|
int340x_thermal | ||
qcom | ||
samsung | ||
st | ||
tegra | ||
ti-soc-thermal | ||
Kconfig | -rw-r--r-- | 14.3 KB |
Makefile | -rw-r--r-- | 2.3 KB |
armada_thermal.c | -rw-r--r-- | 7.9 KB |
clock_cooling.c | -rw-r--r-- | 14.1 KB |
cpu_cooling.c | -rw-r--r-- | 32.5 KB |
db8500_cpufreq_cooling.c | -rw-r--r-- | 2.7 KB |
db8500_thermal.c | -rw-r--r-- | 13.9 KB |
devfreq_cooling.c | -rw-r--r-- | 14.8 KB |
dove_thermal.c | -rw-r--r-- | 5.0 KB |
fair_share.c | -rw-r--r-- | 4.0 KB |
gov_bang_bang.c | -rw-r--r-- | 3.9 KB |
hisi_thermal.c | -rw-r--r-- | 9.9 KB |
imx_thermal.c | -rw-r--r-- | 18.1 KB |
intel_bxt_pmic_thermal.c | -rw-r--r-- | 7.0 KB |
intel_pch_thermal.c | -rw-r--r-- | 10.5 KB |
intel_powerclamp.c | -rw-r--r-- | 20.9 KB |
intel_quark_dts_thermal.c | -rw-r--r-- | 12.2 KB |
intel_soc_dts_iosf.c | -rw-r--r-- | 11.6 KB |
intel_soc_dts_iosf.h | -rw-r--r-- | 1.8 KB |
intel_soc_dts_thermal.c | -rw-r--r-- | 2.8 KB |
kirkwood_thermal.c | -rw-r--r-- | 3.2 KB |
max77620_thermal.c | -rw-r--r-- | 4.6 KB |
mtk_thermal.c | -rw-r--r-- | 18.5 KB |
of-thermal.c | -rw-r--r-- | 27.1 KB |
power_allocator.c | -rw-r--r-- | 18.8 KB |
qcom-spmi-temp-alarm.c | -rw-r--r-- | 7.1 KB |
qoriq_thermal.c | -rw-r--r-- | 7.9 KB |
rcar_thermal.c | -rw-r--r-- | 13.4 KB |
rockchip_thermal.c | -rw-r--r-- | 32.4 KB |
spear_thermal.c | -rw-r--r-- | 5.1 KB |
step_wise.c | -rw-r--r-- | 6.7 KB |
tango_thermal.c | -rw-r--r-- | 3.1 KB |
thermal-generic-adc.c | -rw-r--r-- | 4.2 KB |
thermal_core.c | -rw-r--r-- | 40.3 KB |
thermal_core.h | -rw-r--r-- | 5.4 KB |
thermal_helpers.c | -rw-r--r-- | 5.7 KB |
thermal_hwmon.c | -rw-r--r-- | 7.5 KB |
thermal_hwmon.h | -rw-r--r-- | 1.6 KB |
thermal_sysfs.c | -rw-r--r-- | 19.2 KB |
user_space.c | -rw-r--r-- | 2.1 KB |
x86_pkg_temp_thermal.c | -rw-r--r-- | 14.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...