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

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

 



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>

jb
-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

_______________________________________________
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