diff options
| author | 2014-11-25 18:08:48 -0800 | |
|---|---|---|
| committer | 2014-11-26 12:03:56 -0500 | |
| commit | a566059d89139c3c3ce21b0c7cb37886b2549b78 (patch) | |
| tree | 214596307bff603745f011d812aed068240843d3 /scripts/objdiff | |
| parent | tg3: fix ring init when there are more TX than RX channels (diff) | |
net: dsa: bcm_sf2: fix unmapping registers in case of errors
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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
