aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r--drivers/scsi/megaraid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index c33857e7b33b..5d2cefb5e52d 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -1828,7 +1828,7 @@ mega_build_sglist(adapter_t *adapter, scb_t *scb, u32 *buf, u32 *len)
1828 1828
1829 scb->dma_type = MEGA_SGLIST; 1829 scb->dma_type = MEGA_SGLIST;
1830 1830
1831 if( sgcnt > adapter->sglen ) BUG(); 1831 BUG_ON(sgcnt > adapter->sglen);
1832 1832
1833 *len = 0; 1833 *len = 0;
1834 1834