| void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...) |
| if (likely(!(bnx2fc_debug_level & LOG_IO))) |
| if (io_req && io_req->port && io_req->port->lport && |
| io_req->port->lport->host) |
| shost_printk(KERN_INFO, io_req->port->lport->host, |
| pr_info("NULL %pV", &vaf); |
| void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...) |
| if (likely(!(bnx2fc_debug_level & LOG_TGT))) |
| if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && |
| shost_printk(KERN_INFO, tgt->port->lport->host, |
| tgt->rport->port_id, &vaf); |
| pr_info("NULL %pV", &vaf); |
| void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) |
| if (likely(!(bnx2fc_debug_level & LOG_HBA))) |
| if (lport && lport->host) |
| shost_printk(KERN_INFO, lport->host, PFX "%pV", &vaf); |
| pr_info("NULL %pV", &vaf); |