aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r--drivers/scsi/hosts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 6660fa92ffa1..a2b1414da288 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -325,7 +325,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
325{ 325{
326 struct Scsi_Host *shost; 326 struct Scsi_Host *shost;
327 gfp_t gfp_mask = GFP_KERNEL; 327 gfp_t gfp_mask = GFP_KERNEL;
328 int rval;
329 328
330 if (sht->unchecked_isa_dma && privsize) 329 if (sht->unchecked_isa_dma && privsize)
331 gfp_mask |= __GFP_DMA; 330 gfp_mask |= __GFP_DMA;
@@ -420,7 +419,8 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
420 shost->ehandler = kthread_run(scsi_error_handler, shost, 419 shost->ehandler = kthread_run(scsi_error_handler, shost,
421 "scsi_eh_%d", shost->host_no); 420 "scsi_eh_%d", shost->host_no);
422 if (IS_ERR(shost->ehandler)) { 421 if (IS_ERR(shost->ehandler)) {
423 rval = PTR_ERR(shost->ehandler); 422 printk(KERN_WARNING "scsi%d: error handler thread failed to spawn, error = %ld\n",
423 shost->host_no, PTR_ERR(shost->ehandler));
424 goto fail_kfree; 424 goto fail_kfree;
425 } 425 }
426 426