Akinobu Mita 9d4df9e0fa [PATCH] tokenring: fix module_init error handling
- Call platform_driver_unregister() before return when no cards found.
  (fixes data corruption when no cards found)

- Check platform_device_register_simple() return value

Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Mike Phillips <mikep@linuxtr.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

 drivers/net/tokenring/proteon.c |    9 +++++++--
 drivers/net/tokenring/skisa.c   |    9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31 20:22:05 -05:00
..
2006-10-11 11:14:25 -07:00
2006-10-28 22:30:17 +01:00
2006-10-24 22:01:11 -07:00
2006-10-08 12:32:35 -07:00
2006-10-03 22:31:37 +02:00
2006-10-31 08:13:19 -08:00
2006-10-30 12:08:40 -08:00
2006-10-17 08:18:42 -07:00
2006-10-31 12:53:28 +09:00
2006-10-17 08:18:44 -07:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00