Re: [PATCH v3.18] net: fec: introduce fec_ptp_stop and use in probe fail path

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

 



On Tue, Mar 06, 2018 at 03:23:23PM -0800, Guenter Roeck wrote:
> From: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> 
> [ upstream commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 ]
> 
> This function frees resources and cancels delayed work item that
> have been initialized in fec_ptp_init().
> 
> Use this to do proper error handling if something goes wrong in
> probe function after fec_ptp_init has been called.
> 
> Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> Acked-by: Fugang Duan <B38611@xxxxxxxxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> [groeck: backport: context changes in .../fec_main.c]
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> Not really sure if I should send this one to David or Greg, since v3.18 is no
> longer officially supported, so I am sending it to both. Sorry for the noise.
> 
> This patch fixes a crash seen when running sabrelite images in a version
> of qemu which fixes https://bugs.launchpad.net/qemu/+bug/1753309.

This works for me, now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]