Thread (7 messages) flat view 7 messages, 4 authors, 2012-11-05
STALE5072d

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current

Re: [PATCH net-next 2/2] cpsw: fix leaking IO mappings

From: Richard Cochran <richardcochran@gmail.com>
Date: 2012-11-04 15:16:20
Also in: linux-arm-kernel

On Sun, Nov 04, 2012 at 02:23:58PM +0100, Cyril Chemparathy wrote:
On 11/03/2012 09:25 AM, Richard Cochran wrote:
quoted
The CPSW driver remaps two different IO regions, but fails to unmap them
both. This patch fixes the issue by calling iounmap in the appropriate
places.
Any thoughts on using devres helpers to keep the bail out path simpler?
I wasn't aware of devres before, but I just read through the doc. It
looks interesting, and if I were writting a new driver, then I might
use it.

But for this driver, it really isn't very complex. It only looks that
way, but I think this just accidental. I guess that the code was
adapted from the davinci emac driver.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help