]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[SCSI] bnx2fc: Do not use HBA_DBG macro when lport is not available
authorNithin Nayak Sujir <nsujir@broadcom.com>
Mon, 25 Apr 2011 19:30:09 +0000 (12:30 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 16:52:57 +0000 (11:52 -0500)
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>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c

index b936aee86db39239d36fe4fe1b83e8335f849535..139955a6ba7f7e09a6a25a58afd82b06dab88280 100644 (file)
@@ -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;