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 |
---|---|---|
hisilicon | ||
sti | ||
tegra | ||
Kconfig | -rw-r--r-- | 2.6 KB |
Makefile | -rw-r--r-- | 648 bytes |
core.c | -rw-r--r-- | 10.7 KB |
reset-ath79.c | -rw-r--r-- | 4.0 KB |
reset-berlin.c | -rw-r--r-- | 2.5 KB |
reset-lpc18xx.c | -rw-r--r-- | 5.9 KB |
reset-meson.c | -rw-r--r-- | 4.6 KB |
reset-oxnas.c | -rw-r--r-- | 3.3 KB |
reset-pistachio.c | -rw-r--r-- | 3.6 KB |
reset-socfpga.c | -rw-r--r-- | 3.9 KB |
reset-stm32.c | -rw-r--r-- | 2.6 KB |
reset-sunxi.c | -rw-r--r-- | 4.1 KB |
reset-ti-syscon.c | -rw-r--r-- | 7.1 KB |
reset-uniphier.c | -rw-r--r-- | 11.8 KB |
reset-zynq.c | -rw-r--r-- | 3.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...