aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/sbp2.c')
-rw-r--r--drivers/firewire/sbp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c
index 12ec0e6fd09e..cbf969abe311 100644
--- a/drivers/firewire/sbp2.c
+++ b/drivers/firewire/sbp2.c
@@ -1144,8 +1144,8 @@ static int sbp2_probe(struct device *dev)
1144 return -ENODEV; 1144 return -ENODEV;
1145 1145
1146 if (dma_get_max_seg_size(device->card->device) > SBP2_MAX_SEG_SIZE) 1146 if (dma_get_max_seg_size(device->card->device) > SBP2_MAX_SEG_SIZE)
1147 BUG_ON(dma_set_max_seg_size(device->card->device, 1147 WARN_ON(dma_set_max_seg_size(device->card->device,
1148 SBP2_MAX_SEG_SIZE)); 1148 SBP2_MAX_SEG_SIZE));
1149 1149
1150 shost = scsi_host_alloc(&scsi_driver_template, sizeof(*tgt)); 1150 shost = scsi_host_alloc(&scsi_driver_template, sizeof(*tgt));
1151 if (shost == NULL) 1151 if (shost == NULL)