All of lore.kernel.org
 help / color / mirror / Atom feed
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 13/33][SCSI] fastlane: Convert 'Scsi_Cmnd' to 'struct scsi_cmnd'
Date: Sun, 06 Jan 2008 03:03:56 +0000	[thread overview]
Message-ID: <20080106030356.30002.7308.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/fastlane.c b/drivers/scsi/fastlane.c
index 4266a21..c16df66 100644
--- a/drivers/scsi/fastlane.c
+++ b/drivers/scsi/fastlane.c
@@ -84,7 +84,7 @@ struct fastlane_dma_registers {
 #define FASTLANE_DMA_ESI   0x01	/* Enable SCSI IRQ */
 
 static int  dma_bytes_sent(struct NCR_ESP *esp, int fifo_count);
-static int  dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp);
+static int  dma_can_transfer(struct NCR_ESP *esp, struct scsi_cmnd *sp);
 static void dma_dump_state(struct NCR_ESP *esp);
 static void dma_init_read(struct NCR_ESP *esp, __u32 addr, int length);
 static void dma_init_write(struct NCR_ESP *esp, __u32 vaddr, int length);
@@ -254,7 +254,7 @@ static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count)
 	return fifo_count;
 }
 
-static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp)
+static int dma_can_transfer(struct NCR_ESP *esp, struct scsi_cmnd *sp)
 {
 	unsigned long sz = sp->SCp.this_residual;
 	if(sz > 0xfffc)

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 13/33][SCSI] fastlane: Convert 'Scsi_Cmnd' to 'struct scsi_cmnd'
Date: Sun, 6 Jan 2008 04:03:56 +0100 (MET)	[thread overview]
Message-ID: <20080106030356.30002.7308.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/fastlane.c b/drivers/scsi/fastlane.c
index 4266a21..c16df66 100644
--- a/drivers/scsi/fastlane.c
+++ b/drivers/scsi/fastlane.c
@@ -84,7 +84,7 @@ struct fastlane_dma_registers {
 #define FASTLANE_DMA_ESI   0x01	/* Enable SCSI IRQ */
 
 static int  dma_bytes_sent(struct NCR_ESP *esp, int fifo_count);
-static int  dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp);
+static int  dma_can_transfer(struct NCR_ESP *esp, struct scsi_cmnd *sp);
 static void dma_dump_state(struct NCR_ESP *esp);
 static void dma_init_read(struct NCR_ESP *esp, __u32 addr, int length);
 static void dma_init_write(struct NCR_ESP *esp, __u32 vaddr, int length);
@@ -254,7 +254,7 @@ static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count)
 	return fifo_count;
 }
 
-static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp)
+static int dma_can_transfer(struct NCR_ESP *esp, struct scsi_cmnd *sp)
 {
 	unsigned long sz = sp->SCp.this_residual;
 	if(sz > 0xfffc)

  parent reply	other threads:[~2008-01-06  3:03 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 ` Richard Knutsson [this message]
2008-01-06  3:03   ` [PATCH 13/33][SCSI] fastlane: " 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 ` [PATCH 31/33][SCSI] sym53c416: " Richard Knutsson
2008-01-06  3:05   ` 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=20080106030356.30002.7308.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.