Files
linux/drivers
Andrea Righi d91c088b39 [netdrvr] depca: handle platform_device_add() failure
The following patch fixes a kernel bug in depca_platform_probe().

We don't use a dynamic pointer for pldev->dev.platform_data, so it seems
that the correct way to proceed if platform_device_add(pldev) fails is
to explicitly set the pldev->dev.platform_data pointer to NULL, before
calling the platform_device_put(pldev), or it will be kfree'ed by
platform_device_release().

Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-24 12:40:57 -04:00
..
2007-04-19 19:20:52 -04:00
2007-03-14 15:27:49 -07:00
2007-04-24 08:23:08 -07:00
2007-04-17 16:36:28 -07:00
2007-03-09 21:06:40 -05:00
2007-04-21 15:29:17 -07:00
2007-04-11 10:44:15 -07:00