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 |
---|---|---|
Kconfig | -rw-r--r-- | 3.4 KB |
Makefile | -rw-r--r-- | 825 bytes |
da8xx_remoteproc.c | -rw-r--r-- | 7.7 KB |
omap_remoteproc.c | -rw-r--r-- | 6.3 KB |
omap_remoteproc.h | -rw-r--r-- | 2.8 KB |
qcom_adsp_pil.c | -rw-r--r-- | 9.2 KB |
qcom_mdt_loader.c | -rw-r--r-- | 4.4 KB |
qcom_mdt_loader.h | -rw-r--r-- | 486 bytes |
qcom_q6v5_pil.c | -rw-r--r-- | 21.6 KB |
qcom_wcnss.c | -rw-r--r-- | 15.5 KB |
qcom_wcnss.h | -rw-r--r-- | 465 bytes |
qcom_wcnss_iris.c | -rw-r--r-- | 4.5 KB |
remoteproc_core.c | -rw-r--r-- | 42.3 KB |
remoteproc_debugfs.c | -rw-r--r-- | 6.1 KB |
remoteproc_elf_loader.c | -rw-r--r-- | 9.3 KB |
remoteproc_internal.h | -rw-r--r-- | 3.8 KB |
remoteproc_sysfs.c | -rw-r--r-- | 3.5 KB |
remoteproc_virtio.c | -rw-r--r-- | 9.0 KB |
st_remoteproc.c | -rw-r--r-- | 6.6 KB |
st_slim_rproc.c | -rw-r--r-- | 9.0 KB |
wkup_m3_rproc.c | -rw-r--r-- | 6.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...