Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294120
b: refs/heads/master
c: 7404456
h: refs/heads/master
v: v3
  • Loading branch information
Chris Boot authored and Stefan Richter committed Feb 22, 2012
1 parent 490001b commit 6433193
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ff6a75744dfc0ea19a03c0ac5a438ef8d825342
refs/heads/master: 74044563a2318f2c56fa53af64f7800f49fb479d
4 changes: 4 additions & 0 deletions trunk/drivers/firewire/sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,10 @@ static int sbp2_probe(struct device *dev)
struct Scsi_Host *shost;
u32 model, firmware_revision;

/* cannot (or should not) handle targets on the local node */
if (device->is_local)
return -ENODEV;

if (dma_get_max_seg_size(device->card->device) > SBP2_MAX_SEG_SIZE)
BUG_ON(dma_set_max_seg_size(device->card->device,
SBP2_MAX_SEG_SIZE));
Expand Down

0 comments on commit 6433193

Please sign in to comment.