Re: [PATCH] p54usb: fix leaks at failure path in p54u_probe()

2014-03-08 Thread Krishna Chaitanya
On Sun, Mar 9, 2014 at 4:38 AM, Christian Lamparter wrote: > On Sunday, March 09, 2014 04:14:32 AM Krishna Chaitanya wrote: >> On Sat, Mar 8, 2014 at 2:41 AM, Alexey Khoroshilov >> wrote: >> > If p54u_load_firmware() fails, p54u_probe() does not deallocate >> > already allocated resources. The pa

Re: [PATCH] p54usb: fix leaks at failure path in p54u_probe()

2014-03-08 Thread Christian Lamparter
On Sunday, March 09, 2014 04:14:32 AM Krishna Chaitanya wrote: > On Sat, Mar 8, 2014 at 2:41 AM, Alexey Khoroshilov > wrote: > > If p54u_load_firmware() fails, p54u_probe() does not deallocate > > already allocated resources. The patch adds proper failure handling. > > > > Found by Linux Driver Ve

Re: [PATCH] p54usb: fix leaks at failure path in p54u_probe()

2014-03-08 Thread Alexey Khoroshilov
On 09.03.2014 02:44, Krishna Chaitanya wrote: > On Sat, Mar 8, 2014 at 2:41 AM, Alexey Khoroshilov > wrote: >> If p54u_load_firmware() fails, p54u_probe() does not deallocate >> already allocated resources. The patch adds proper failure handling. >> >> Found by Linux Driver Verification project (l

Re: [PATCH] p54usb: fix leaks at failure path in p54u_probe()

2014-03-08 Thread Krishna Chaitanya
On Sat, Mar 8, 2014 at 2:41 AM, Alexey Khoroshilov wrote: > If p54u_load_firmware() fails, p54u_probe() does not deallocate > already allocated resources. The patch adds proper failure handling. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilo

Re: [PATCH] p54usb: fix leaks at failure path in p54u_probe()

2014-03-07 Thread Christian Lamparter
On Saturday, March 08, 2014 01:11:49 AM Alexey Khoroshilov wrote: > If p54u_load_firmware() fails, p54u_probe() does not deallocate > already allocated resources. The patch adds proper failure handling. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey K

[PATCH] p54usb: fix leaks at failure path in p54u_probe()

2014-03-07 Thread Alexey Khoroshilov
If p54u_load_firmware() fails, p54u_probe() does not deallocate already allocated resources. The patch adds proper failure handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/wireless/p54/p54usb.c | 4 1 file changed, 4