Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6a9ad73 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] bogus iounmap() in emac



Dumb typo: iounmap(&local_pointer_variable).

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1f57ff89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1253,7 +1253,7 @@ static int emac_init_tah(struct ocp_enet_private *fep)
		 TAH_MR_CVR | TAH_MR_ST_768 | TAH_MR_TFS_10KB | TAH_MR_DTFP |
		 TAH_MR_DIG);

	iounmap(&tahp);
	iounmap(tahp);

	return 0;
}