Skip to content

Commit b6a9ad7

Browse files
Al ViroLinus Torvalds
authored andcommitted
[PATCH] bogus iounmap() in emac
Dumb typo: iounmap(&local_pointer_variable). Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 1f57ff8 commit b6a9ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ibm_emac/ibm_emac_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ static int emac_init_tah(struct ocp_enet_private *fep)
12531253
TAH_MR_CVR | TAH_MR_ST_768 | TAH_MR_TFS_10KB | TAH_MR_DTFP |
12541254
TAH_MR_DIG);
12551255

1256-
iounmap(&tahp);
1256+
iounmap(tahp);
12571257

12581258
return 0;
12591259
}

0 commit comments

Comments
 (0)