Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247822
b: refs/heads/master
c: 81bf52d
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter committed May 10, 2011
1 parent 895f48f commit 562e615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b75ca5ea8e439893121ad80406a3c04c4b7612ab
refs/heads/master: 81bf52d8622f05cfe89893fd5c1101efd85f855b
8 changes: 4 additions & 4 deletions trunk/drivers/firewire/sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ struct sbp2_orb {
struct kref kref;
dma_addr_t request_bus;
int rcode;
struct sbp2_pointer pointer;
void (*callback)(struct sbp2_orb * orb, struct sbp2_status * status);
struct list_head link;
};
Expand Down Expand Up @@ -490,10 +489,11 @@ static void sbp2_send_orb(struct sbp2_orb *orb, struct sbp2_logical_unit *lu,
int node_id, int generation, u64 offset)
{
struct fw_device *device = target_device(lu->tgt);
struct sbp2_pointer orb_pointer;
unsigned long flags;

orb->pointer.high = 0;
orb->pointer.low = cpu_to_be32(orb->request_bus);
orb_pointer.high = 0;
orb_pointer.low = cpu_to_be32(orb->request_bus);

spin_lock_irqsave(&device->card->lock, flags);
list_add_tail(&orb->link, &lu->orb_list);
Expand All @@ -504,7 +504,7 @@ static void sbp2_send_orb(struct sbp2_orb *orb, struct sbp2_logical_unit *lu,

fw_send_request(device->card, &orb->t, TCODE_WRITE_BLOCK_REQUEST,
node_id, generation, device->max_speed, offset,
&orb->pointer, 8, complete_transaction, orb);
&orb_pointer, 8, complete_transaction, orb);
}

static int sbp2_cancel_orbs(struct sbp2_logical_unit *lu)
Expand Down

0 comments on commit 562e615

Please sign in to comment.