https://github.com/torvalds/linux
Revision a566059d89139c3c3ce21b0c7cb37886b2549b78 authored by Florian Fainelli on 26 November 2014, 02:08:48 UTC, committed by David S. Miller on 26 November 2014, 17:03:56 UTC
In case we fail to ioremap() one of our registers, we would be leaking
existing mappings, unwind those accordingly on errors.

Fixes: 246d7f773c13 ("net: dsa: add Broadcom SF2 switch driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a620a6b
History
Tip revision: a566059d89139c3c3ce21b0c7cb37886b2549b78 authored by Florian Fainelli on 26 November 2014, 02:08:48 UTC
net: dsa: bcm_sf2: fix unmapping registers in case of errors
Tip revision: a566059
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 285.3 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top