[SCSI] bnx2fc: Do not use HBA_DBG macro when lport is not available
Use MISC_DBG instead. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
35dd71ae82
commit
068bdce412
@@ -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;
|
||||
|
Reference in New Issue
Block a user