Re: [PATCH] tokenring: fix module_init error handling

From: Jeff Garzik
Date: Tue Oct 31 2006 - 20:21:09 EST


Akinobu Mita wrote:
- 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@xxxxxxxxx>
Cc: Mike Phillips <mikep@xxxxxxxxxxx>
Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>

applied


-
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/