[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <262CB373A6D1F14F9B81E82F74F77D5A4717C763@avmb2.qlogic.org>
Date: Tue, 30 Dec 2014 08:45:36 +0000
From: Shahed Shaikh <shahed.shaikh@...gic.com>
To: "xuyongjiande@....com" <xuyongjiande@....com>,
Dept-GE Linux NIC Dev <Dept-GELinuxNICDev@...gic.com>
CC: netdev <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Yongjian Xu <xuyongjiande@...il.com>
Subject: RE: [PATCH] qlcnic: Fix return value in qlcnic_probe()
> -----Original Message-----
> From: xuyongjiande@....com [mailto:xuyongjiande@....com]
> Sent: Tuesday, December 30, 2014 1:34 PM
> To: Shahed Shaikh; Dept-GE Linux NIC Dev
> Cc: netdev; linux-kernel; Yongjian Xu
> Subject: [PATCH] qlcnic: Fix return value in qlcnic_probe()
>
> From: Yongjian Xu <xuyongjiande@...il.com>
>
> If the check of adapter fails and goes into the 'else' branch, the return value
> 'err' should not still be zero.
>
> Signed-off-by: Yongjian Xu <xuyongjiande@...il.com>
> ---
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Shahed Shaikh <shahed.shaikh@...gic.com>
Thanks,
Shahed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists