git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
scsi
/
wd33c93.c
diff --git
a/drivers/scsi/wd33c93.c
b/drivers/scsi/wd33c93.c
index
6bb37d3
..
d8a7260
100644
(file)
--- a/
drivers/scsi/wd33c93.c
+++ b/
drivers/scsi/wd33c93.c
@@
-77,10
+77,9
@@
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/delay.h>
-#include <linux/version.h>
#include <linux/init.h>
#include <linux/init.h>
+#include <linux/interrupt.h>
#include <linux/blkdev.h>
#include <linux/blkdev.h>
-#include <asm/irq.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
@@
-154,7
+153,7
@@
MODULE_LICENSE("GPL");
static char *setup_args[] = { "", "", "", "", "", "", "", "", "" };
static char *setup_strings;
static char *setup_args[] = { "", "", "", "", "", "", "", "", "" };
static char *setup_strings;
-
MODULE_PARM(setup_strings, "s"
);
+
module_param(setup_strings, charp, 0
);
static void wd33c93_execute(struct Scsi_Host *instance);
static void wd33c93_execute(struct Scsi_Host *instance);
@@
-466,7
+465,7
@@
wd33c93_execute(struct Scsi_Host *instance)
*/
cmd = (struct scsi_cmnd *) hostdata->input_Q;
*/
cmd = (struct scsi_cmnd *) hostdata->input_Q;
- prev =
0
;
+ prev =
NULL
;
while (cmd) {
if (!(hostdata->busy[cmd->device->id] & (1 << cmd->device->lun)))
break;
while (cmd) {
if (!(hostdata->busy[cmd->device->id] & (1 << cmd->device->lun)))
break;
@@
-1570,7
+1569,7
@@
wd33c93_abort(struct scsi_cmnd * cmd)
*/
tmp = (struct scsi_cmnd *) hostdata->input_Q;
*/
tmp = (struct scsi_cmnd *) hostdata->input_Q;
- prev =
0
;
+ prev =
NULL
;
while (tmp) {
if (tmp == cmd) {
if (prev)
while (tmp) {
if (tmp == cmd) {
if (prev)