Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181318
b: refs/heads/master
c: b2ed4f7
h: refs/heads/master
v: v3
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Feb 17, 2010
1 parent c49bb33 commit 760ff41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 82a72c0a12326a56a323093297e2bad29fe6c29d
refs/heads/master: b2ed4f79194e06766327ae581b063f8747d94ea9
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,7 @@ static void hpsa_scsi_remove_entry(struct ctlr_info *h, int hostno, int entry,
int i;
struct hpsa_scsi_dev_t *sd;

if (entry < 0 || entry >= HPSA_MAX_SCSI_DEVS_PER_HBA)
BUG();
BUG_ON(entry < 0 || entry >= HPSA_MAX_SCSI_DEVS_PER_HBA);

sd = h->dev[entry];
removed[*nremoved] = h->dev[entry];
Expand Down

0 comments on commit 760ff41

Please sign in to comment.