Dirk Opfer 519854876c [PATCH] Fix dm9000 release_resource
dm9000_release_board calls release_resource with the platform resource
instead of the requested resource:

db->addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
db->addr_req = request_mem_region(db->addr_res->start, i, pdev->name);

dm9000_release_board:

if (db->addr_res != NULL) {
release_resource(db->addr_res);
kfree(db->addr_req);

With this behavior the kernel will crash on the second removal. The
attached patch fix this problem.

Signed-off-by: Dirk Opfer <Dirk@Opfer-Online.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-09-11 09:08:38 -04:00
..
2006-08-19 17:40:15 -04:00
2006-07-08 13:34:32 -07:00
2006-08-19 17:44:31 -04:00
2006-08-19 17:40:16 -04:00
2006-07-12 17:42:40 -04:00
2006-07-05 14:29:26 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-08-17 16:29:52 -07:00
2006-08-17 16:29:51 -07:00
2006-08-19 17:40:15 -04:00
2006-07-05 14:08:08 -04:00
2006-09-11 09:08:38 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:44:28 -04:00
2006-07-12 17:38:20 -04:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:40:16 -04:00
2006-07-08 13:34:32 -07:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:40:17 -04:00
2006-07-05 14:08:08 -04:00
2006-08-19 17:44:29 -04:00
2006-08-03 17:27:26 -04:00
2006-08-19 17:40:17 -04:00
2006-08-19 17:44:29 -04:00
2006-08-19 17:44:30 -04:00
2006-08-19 17:44:28 -04:00
2006-08-29 21:23:32 -07:00
2006-08-07 21:46:02 -07:00
2006-08-07 21:46:02 -07:00
2006-07-08 13:34:32 -07:00
2006-08-19 17:40:17 -04:00