scsi: lpfc: Replace BUG() with BUG_ON()
authorShyam Saini <mayhs11saini@gmail.com>
Sat, 24 Dec 2016 10:51:07 +0000 (16:21 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Jan 2017 21:48:33 +0000 (16:48 -0500)
commite01ea5e2a3f2a127ace8b671a830a5c789f07510
treeb0481d77ba48f4135ee937c1e9b56e0c09f1de6f
parent2c0f83f328fcb48da03401e1ecb2b34492671a9a
scsi: lpfc: Replace BUG() with BUG_ON()

Replace BUG() with BUG_ON() using coccinelle.

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c