[PATCH] bogus iounmap() in emac

From: Al Viro
Date: Thu Aug 25 2005 - 16:57:12 EST


Dumb typo: iounmap(&local_pointer_variable).

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
----
diff -urN RC13-rc7-m68k-adb.patch/drivers/net/ibm_emac/ibm_emac_core.c RC13-rc7-emac-iounmap/drivers/net/ibm_emac/ibm_emac_core.c
--- RC13-rc7-m68k-adb.patch/drivers/net/ibm_emac/ibm_emac_core.c 2005-08-24 01:58:29.000000000 -0400
+++ RC13-rc7-emac-iounmap/drivers/net/ibm_emac/ibm_emac_core.c 2005-08-25 00:54:21.000000000 -0400
@@ -1253,7 +1253,7 @@
TAH_MR_CVR | TAH_MR_ST_768 | TAH_MR_TFS_10KB | TAH_MR_DTFP |
TAH_MR_DIG);

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

return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/