aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/a100u2w.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c
index 1e8bdd457834..f5051f4301d7 100644
--- a/drivers/scsi/a100u2w.c
+++ b/drivers/scsi/a100u2w.c
@@ -866,6 +866,7 @@ static void inia100_build_scb(struct orc_host * host, struct orc_scb * scb, stru
866 866
867 count_sg = scsi_dma_map(cmd); 867 count_sg = scsi_dma_map(cmd);
868 BUG_ON(count_sg < 0); 868 BUG_ON(count_sg < 0);
869 BUG_ON(count_sg > TOTAL_SG_ENTRY);
869 870
870 /* Build the scatter gather lists */ 871 /* Build the scatter gather lists */
871 if (count_sg) { 872 if (count_sg) {