mpt fusion: DMPT_DEBUG_FC conditional code doesn't compile
Subsystems (2)
PATCH 1/1 mpt fusion: DMPT_DEBUG_FC conditional code doesn't compile
mptfc.c doesn't compile when DMPT_DEBUG_FC is defined.
Signed-off-by Michael Reed <[email protected]>
---
drivers/message/fusion/mptfc.c +8 -2
@@ -432,7 +432,7 @@"mptfc_reg_dev.%d: %x, %llx / %llx, tid %d, " "rport tid %d, tmo %d\n" , ioc->name, - oc->sh->host_no, + ioc->sh->host_no, pg0->PortIdentifier, pg0->WWNN, pg0->WWPN,
@@ -562,14 +562,20 @@ vtarget->num_luns++; +#ifdef DMPT_DEBUG_FC + { +struct mptfc_rport_info *ri; + ri = *((struct mptfc_rport_info **)rport->dd_data);dfcprintk ((MYIOC_s_INFO_FMT"mptfc_slv_alloc.%d: num_luns %d, sdev.id %d, " "CurrentTargetID %d, %x %llx %llx\n" , - ioc->name, + hd->ioc->name, sdev->host->host_no, vtarget->num_luns, sdev->id, ri->pg0.CurrentTargetID, ri->pg0.PortIdentifier, ri->pg0.WWPN, ri->pg0.WWNN)); + } +#endif return 0 ; }