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-- | 5.3 KB |
Makefile | -rw-r--r-- | 790 bytes |
README.dino | -rw-r--r-- | 1.0 KB |
asp.c | -rw-r--r-- | 3.5 KB |
ccio-dma.c | -rw-r--r-- | 47.4 KB |
ccio-rm-dma.c | -rw-r--r-- | 5.1 KB |
dino.c | -rw-r--r-- | 30.3 KB |
eisa.c | -rw-r--r-- | 11.5 KB |
eisa_eeprom.c | -rw-r--r-- | 2.7 KB |
eisa_enumerator.c | -rw-r--r-- | 11.5 KB |
gsc.c | -rw-r--r-- | 5.6 KB |
gsc.h | -rw-r--r-- | 1.5 KB |
hppb.c | -rw-r--r-- | 2.7 KB |
iommu-helpers.h | -rw-r--r-- | 4.7 KB |
iosapic.c | -rw-r--r-- | 29.0 KB |
iosapic_private.h | -rw-r--r-- | 5.7 KB |
lasi.c | -rw-r--r-- | 6.2 KB |
lba_pci.c | -rw-r--r-- | 47.8 KB |
led.c | -rw-r--r-- | 19.9 KB |
pdc_stable.c | -rw-r--r-- | 30.3 KB |
power.c | -rw-r--r-- | 7.3 KB |
sba_iommu.c | -rw-r--r-- | 58.1 KB |
superio.c | -rw-r--r-- | 13.8 KB |
wax.c | -rw-r--r-- | 3.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...