> -----Original Message----- > From: [email protected] [mailto:[email protected]] > 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 <[email protected]> > > 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 <[email protected]> > --- > drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 1 + > 1 file changed, 1 insertion(+)
Acked-by: Shahed Shaikh <[email protected]> Thanks, Shahed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

