lkml.org 
[lkml]   [2013]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] stmmac: don't return zero on failure path in stmmac_pci_probe()
From
From: Alexey Khoroshilov <khoroshilov@ispras.ru>
Date: Sat, 2 Feb 2013 02:09:19 +0400

> If stmmac_dvr_probe() fails in stmmac_pci_probe(), it breaks off initialization,
> deallocates all resources, but returns zero.
> The patch adds -ENODEV as return value in this case.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>

Applied to net-next, thanks.


\
 
 \ /
  Last update: 2013-02-03 23:01    [W:0.036 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site