Messages in this thread | | | From | Shahed Shaikh <> | Subject | RE: [PATCH] qlcnic: Fix return value in qlcnic_probe() | Date | Tue, 30 Dec 2014 08:45:36 +0000 |
| |
> -----Original Message----- > From: xuyongjiande@163.com [mailto:xuyongjiande@163.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@gmail.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@gmail.com> > --- > drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 1 + > 1 file changed, 1 insertion(+)
Acked-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Thanks, Shahed
| |