Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89716
b: refs/heads/master
c: 36b8dd1
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and James Bottomley committed Apr 7, 2008
1 parent 6d5bf18 commit d2af878
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 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: 507e49693a074e878f20718fb97a5da01ccd9cbd
refs/heads/master: 36b8dd1bf787512e33efa7ce88eff437404ab22d
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/aacraid/commsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ void aac_consumer_free(struct aac_dev * dev, struct aac_queue *q, u32 qid)
if (le32_to_cpu(*q->headers.consumer) >= q->entries)
*q->headers.consumer = cpu_to_le32(1);
else
*q->headers.consumer = cpu_to_le32(le32_to_cpu(*q->headers.consumer)+1);
le32_add_cpu(q->headers.consumer, 1);

if (wasfull) {
switch (qid) {
Expand Down
8 changes: 2 additions & 6 deletions trunk/drivers/scsi/ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -3664,9 +3664,7 @@ ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb)
scb->cmd.basic_io.sg_count = scb->sg_len;

if (scb->cmd.basic_io.lba)
scb->cmd.basic_io.lba =
cpu_to_le32(le32_to_cpu
(scb->cmd.basic_io.lba) +
le32_add_cpu(&scb->cmd.basic_io.lba,
le16_to_cpu(scb->cmd.basic_io.
sector_count));
else
Expand Down Expand Up @@ -3712,9 +3710,7 @@ ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb)
scb->cmd.basic_io.sg_count = scb->sg_len;

if (scb->cmd.basic_io.lba)
scb->cmd.basic_io.lba =
cpu_to_le32(le32_to_cpu
(scb->cmd.basic_io.lba) +
le32_add_cpu(&scb->cmd.basic_io.lba,
le16_to_cpu(scb->cmd.basic_io.
sector_count));
else
Expand Down

0 comments on commit d2af878

Please sign in to comment.