Commit 30821e53 authored by Doug Ledford's avatar Doug Ledford

Merge ssh://linux-scsi.bkbits.net/scsi-misc-2.5

into flossy.devel.redhat.com:/usr/local/home/dledford/bk/linus-2.5
parents eba2f969 c8571205
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/blk.h> #include <linux/blk.h>
#include <asm/hardirq.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/completion.h> #include <linux/completion.h>
......
...@@ -16,14 +16,13 @@ ...@@ -16,14 +16,13 @@
* Michael A. Griffith <grif@acm.org> * Michael A. Griffith <grif@acm.org>
*/ */
#include <linux/config.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/stat.h>
#include <linux/blk.h> #include <linux/blk.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -1872,7 +1872,7 @@ int scsi_add_single_device(uint host, uint channel, uint id, uint lun) ...@@ -1872,7 +1872,7 @@ int scsi_add_single_device(uint host, uint channel, uint id, uint lun)
if (!shost) if (!shost)
return -ENODEV; return -ENODEV;
sdev = scsi_find_device(shost, channel, id, lun); sdev = scsi_find_device(shost, channel, id, lun);
if (!sdev) if (sdev)
goto out; goto out;
error = -ENOMEM; error = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment