From: Nithin Nayak Sujir Date: Mon, 25 Apr 2011 19:30:09 +0000 (-0700) Subject: [SCSI] bnx2fc: Do not use HBA_DBG macro when lport is not available X-Git-Tag: v3.0-rc1~383^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068bdce41297b69e75f72a029d42e70c282273f6;p=platform%2Fkernel%2Flinux-3.10.git [SCSI] bnx2fc: Do not use HBA_DBG macro when lport is not available Use MISC_DBG instead. Signed-off-by: Nithin Nayak Sujir Signed-off-by: Bhanu Prakash Gollapudi Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index b936aee..139955a 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -1130,7 +1130,7 @@ static void bnx2fc_interface_release(struct kref *kref) struct net_device *phys_dev; hba = container_of(kref, struct bnx2fc_hba, kref); - BNX2FC_HBA_DBG(hba->ctlr.lp, "Interface is being released\n"); + BNX2FC_MISC_DBG("Interface is being released\n"); netdev = hba->netdev; phys_dev = hba->phys_dev;