Re: [PATCH] driver: Fix unregister device after device probe failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 08, 2016 at 12:33:32PM +0100, Juergen Borleis wrote:
> On Monday 08 February 2016 11:43:13 Sascha Hauer wrote:
> > When a device probe fails the device is removed from the active list.
> > If then the device is unregistered afterwards it is removed from the
> > active list again resulting in a crash. To fix this initialize the
> > devices active list entry when removing it from the active list.
> >
> > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> 
> Tested-by: Juergen Borleis <j.borleis@xxxxxxxxxxxxx>
                                                  x
rsc 
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux