[SCSI] bfa: replace bfa_assert with WARN_ON

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
Jing Huang
2010-12-26 21:46:35 -08:00
committed by James Bottomley
parent aa5cbf8a70
commit d4b671c58e
16 changed files with 125 additions and 135 deletions

View File

@@ -532,7 +532,7 @@ bfad_hal_mem_release(struct bfad_s *bfad)
(dma_addr_t) meminfo_elem->dma);
break;
default:
bfa_assert(0);
WARN_ON(1);
break;
}
}