From: Richard Knutsson <ricknu-0@student.ltu.se>
To: James.Bottomley@SteelEye.com
Cc: trivial@kernel.org, kernel-janitors@vger.kernel.org,
linux-scsi@vger.kernel.org,
Richard Knutsson <ricknu-0@student.ltu.se>
Subject: [PATCH 31/33][SCSI] sym53c416: Convert 'Scsi_Cmnd' to 'struct scsi_cmnd'
Date: Sun, 06 Jan 2008 03:05:28 +0000 [thread overview]
Message-ID: <20080106030528.30002.71404.sendpatchset@thinktank.campus.ltu.se> (raw)
In-Reply-To: <20080106030250.30002.96493.sendpatchset@thinktank.campus.ltu.se>
Convert the typedef'ed 'Scsi_Cmnd' to 'struct scsi_cmnd'.
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
Last item before 'drivers/scsi/scsi_typedefs.h' can be removed.
diff --git a/drivers/scsi/sym53c416.c b/drivers/scsi/sym53c416.c
index 90cee94..689408a 100644
--- a/drivers/scsi/sym53c416.c
+++ b/drivers/scsi/sym53c416.c
@@ -225,7 +225,7 @@ static host hosts[MAXHOSTS] = {
static int host_index = 0;
static char info[120];
-static Scsi_Cmnd *current_command = NULL;
+static struct scsi_cmnd *current_command = NULL;
static int fastpio = 1;
static int probeaddrs[] = {0x200, 0x220, 0x240, 0};
@@ -748,7 +748,7 @@ const char *sym53c416_info(struct Scsi_Host *SChost)
return info;
}
-int sym53c416_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *))
+int sym53c416_queuecommand(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
{
int base;
unsigned long flags = 0;
@@ -775,7 +775,7 @@ int sym53c416_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *))
return 0;
}
-static int sym53c416_host_reset(Scsi_Cmnd *SCpnt)
+static int sym53c416_host_reset(struct scsi_cmnd *SCpnt)
{
int base;
int scsi_id = -1;
diff --git a/drivers/scsi/sym53c416.h b/drivers/scsi/sym53c416.h
index 77860d0..a6a89fd 100644
--- a/drivers/scsi/sym53c416.h
+++ b/drivers/scsi/sym53c416.h
@@ -25,8 +25,8 @@
static int sym53c416_detect(struct scsi_host_template *);
static const char *sym53c416_info(struct Scsi_Host *);
static int sym53c416_release(struct Scsi_Host *);
-static int sym53c416_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-static int sym53c416_host_reset(Scsi_Cmnd *);
+static int sym53c416_queuecommand(struct scsi_cmnd *, void (*done)(struct scsi_cmnd *));
+static int sym53c416_host_reset(struct scsi_cmnd *);
static int sym53c416_bios_param(struct scsi_device *, struct block_device *,
sector_t, int *);
static void sym53c416_setup(char *str, int *ints);
WARNING: multiple messages have this Message-ID (diff)
From: Richard Knutsson <ricknu-0@student.ltu.se>
To: James.Bottomley@SteelEye.com
Cc: trivial@kernel.org, kernel-janitors@vger.kernel.org,
linux-scsi@vger.kernel.org,
Richard Knutsson <ricknu-0@student.ltu.se>
Subject: [PATCH 31/33][SCSI] sym53c416: Convert 'Scsi_Cmnd' to 'struct scsi_cmnd'
Date: Sun, 6 Jan 2008 04:05:28 +0100 (MET) [thread overview]
Message-ID: <20080106030528.30002.71404.sendpatchset@thinktank.campus.ltu.se> (raw)
In-Reply-To: <20080106030250.30002.96493.sendpatchset@thinktank.campus.ltu.se>
Convert the typedef'ed 'Scsi_Cmnd' to 'struct scsi_cmnd'.
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
Last item before 'drivers/scsi/scsi_typedefs.h' can be removed.
diff --git a/drivers/scsi/sym53c416.c b/drivers/scsi/sym53c416.c
index 90cee94..689408a 100644
--- a/drivers/scsi/sym53c416.c
+++ b/drivers/scsi/sym53c416.c
@@ -225,7 +225,7 @@ static host hosts[MAXHOSTS] = {
static int host_index = 0;
static char info[120];
-static Scsi_Cmnd *current_command = NULL;
+static struct scsi_cmnd *current_command = NULL;
static int fastpio = 1;
static int probeaddrs[] = {0x200, 0x220, 0x240, 0};
@@ -748,7 +748,7 @@ const char *sym53c416_info(struct Scsi_Host *SChost)
return info;
}
-int sym53c416_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *))
+int sym53c416_queuecommand(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
{
int base;
unsigned long flags = 0;
@@ -775,7 +775,7 @@ int sym53c416_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *))
return 0;
}
-static int sym53c416_host_reset(Scsi_Cmnd *SCpnt)
+static int sym53c416_host_reset(struct scsi_cmnd *SCpnt)
{
int base;
int scsi_id = -1;
diff --git a/drivers/scsi/sym53c416.h b/drivers/scsi/sym53c416.h
index 77860d0..a6a89fd 100644
--- a/drivers/scsi/sym53c416.h
+++ b/drivers/scsi/sym53c416.h
@@ -25,8 +25,8 @@
static int sym53c416_detect(struct scsi_host_template *);
static const char *sym53c416_info(struct Scsi_Host *);
static int sym53c416_release(struct Scsi_Host *);
-static int sym53c416_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-static int sym53c416_host_reset(Scsi_Cmnd *);
+static int sym53c416_queuecommand(struct scsi_cmnd *, void (*done)(struct scsi_cmnd *));
+static int sym53c416_host_reset(struct scsi_cmnd *);
static int sym53c416_bios_param(struct scsi_device *, struct block_device *,
sector_t, int *);
static void sym53c416_setup(char *str, int *ints);
next prev parent reply other threads:[~2008-01-06 3:05 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 3:02 [PATCH 0/33][SCSI] Arrange for removal of 'scsi_typedefs.h' Richard Knutsson
2008-01-06 3:02 ` Richard Knutsson
2008-01-06 3:02 ` [PATCH 1/33][SCSI] 3w-xxxx: Convert 'Scsi_Cmnd' to 'struct scsi_cmnd' Richard Knutsson
2008-01-06 3:02 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 2/33][SCSI] advansys: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 3/33][SCSI] aha152x: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 4/33][SCSI] aha1542: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 5/33][SCSI] aha1740: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 6/33][SCSI] atari_NCR5380: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 7/33][SCSI] atari_scsi: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 8/33][SCSI] blz1230: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 9/33][SCSI] blz2060: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 10/33][SCSI] cyberstorm: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 11/33][SCSI] cyberstormII: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 12/33][SCSI] dtc: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:03 ` [PATCH 13/33][SCSI] fastlane: " Richard Knutsson
2008-01-06 3:03 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 14/33][SCSI] fd_mcs: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 15/33][SCSI] gdth: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 16/33][SCSI] gdth_proc: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 17/33][SCSI] g_NCR5380: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 18/33][SCSI] ibmmca: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 19/33][SCSI] ibmvscsi: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 20/33][SCSI] in2000: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 21/33][SCSI] mac_esp: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 22/33][SCSI] mca_53c9x: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 23/33][SCSI] megaraid: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 24/33][SCSI] NCR5380: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:04 ` [PATCH 25/33][SCSI] NCR53c406a: " Richard Knutsson
2008-01-06 3:04 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 26/33][SCSI] NCR53C9x: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 27/33][SCSI] nsp32_debug: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 28/33][SCSI] oktagon_esp: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 29/33][SCSI] pas16: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 30/33][SCSI] sun3x_esp: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson [this message]
2008-01-06 3:05 ` [PATCH 31/33][SCSI] sym53c416: " Richard Knutsson
2008-01-06 3:05 ` [PATCH 32/33][SCSI] wd7000: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 33a/33] include/scsi/scsi_tcq.h: " Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 3:05 ` [PATCH 33b/33] include/scsi/scsi_tcq.h: Correct the parameter-name Richard Knutsson
2008-01-06 3:05 ` Richard Knutsson
2008-01-06 19:51 ` [PATCH 0/33][SCSI] Arrange for removal of 'scsi_typedefs.h' James Bottomley
2008-01-06 19:51 ` James Bottomley
2008-01-06 21:18 ` Richard Knutsson
2008-01-06 21:18 ` Richard Knutsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080106030528.30002.71404.sendpatchset@thinktank.campus.ltu.se \
--to=ricknu-0@student.ltu.se \
--cc=James.Bottomley@SteelEye.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.