aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/mm/cache.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-12-18 22:26:36 +0000
committerThomas Gleixner <tglx@linutronix.de>2016-12-19 11:19:57 +0100
commitc9435f35ae64ee162555a82b6a3586b160093957 (patch)
treebf2e4cb2375b202d0affeead14cdcdbc03b7b9f2 /arch/arc/mm/cache.c
parentMerge tag 'rtc-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux (diff)
downloadlinux-dev-c9435f35ae64ee162555a82b6a3586b160093957.tar.xz
linux-dev-c9435f35ae64ee162555a82b6a3586b160093957.zip
clocksource/drivers/moxart: Plug memory and mapping leaks
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>
Diffstat (limited to 'arch/arc/mm/cache.c')
0 files changed, 0 insertions, 0 deletions