From: Christoph Hellwig <hch@lst.de>
To: g.liakhovetski@gmx.de, jejb@steeleye.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] merge scsiiom.c into tmscsim.c
Date: Sat, 9 Oct 2004 14:29:47 +0200 [thread overview]
Message-ID: <20041009122946.GA19272@lst.de> (raw)
In-Reply-To: <20041003134714.GA1623@lst.de>
On Sun, Oct 03, 2004 at 03:47:14PM +0200, Christoph Hellwig wrote:
> might be a good time to get rid of that clumsy include .c file into
> another one thing. (Also please bk rm scsiiom.c afterwards)
And here's a patch ontop that restores's Al's sparse fixes done in
scsiiom.c (the old patch still applies and works without this one,
but without it you get a few more sparse warnings):
--- linux/drivers/scsi/tmscsim.c~ 2004-10-09 14:29:45.772931256 +0200
+++ linux/drivers/scsi/tmscsim.c 2004-10-09 14:30:45.486905632 +0200
@@ -1624,7 +1624,7 @@
}
DC390_write8 (ScsiCmd, EN_SEL_RESEL);
pSRB = pDCB->pActiveSRB;
- pACB->pActiveDCB = 0;
+ pACB->pActiveDCB = NULL;
pSRB->ScsiPhase = SCSI_NOP0;
if( pSRB->SRBState & SRB_UNEXPECT_RESEL )
pSRB->SRBState = 0;
@@ -1641,7 +1641,7 @@
dc390_Free_insert (pACB, pSRB);
pSRB = psrb;
}
- pDCB->pGoingSRB = 0;
+ pDCB->pGoingSRB = NULL;
}
else
{
@@ -1655,7 +1655,7 @@
{
disc1:
dc390_freetag (pDCB, pSRB);
- pDCB->pActiveSRB = 0;
+ pDCB->pActiveSRB = NULL;
pSRB->SRBState = SRB_FREE;
dc390_SRBdone( pACB, pDCB, pSRB);
}
@@ -1967,7 +1967,7 @@
pACB->ACBFlag |= RESET_DETECT;
dc390_ResetDevParam( pACB );
- dc390_DoingSRB_Done( pACB, 0 );
+ dc390_DoingSRB_Done( pACB, NULL);
//dc390_RecoverSRB( pACB );
pACB->pActiveDCB = NULL;
pACB->ACBFlag = 0;
next prev parent reply other threads:[~2004-10-09 12:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-03 13:47 [PATCH] merge scsiiom.c into tmscsim.c Christoph Hellwig
2004-10-03 20:42 ` Guennadi Liakhovetski
2004-10-09 12:29 ` Christoph Hellwig [this message]
2004-10-09 13:02 ` James Bottomley
2004-10-09 19:18 ` Guennadi Liakhovetski
2007-06-17 15:09 ` Guennadi Liakhovetski
2007-06-17 16:25 ` Boaz Harrosh
2007-06-17 18:09 ` Guennadi Liakhovetski
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=20041009122946.GA19272@lst.de \
--to=hch@lst.de \
--cc=g.liakhovetski@gmx.de \
--cc=jejb@steeleye.com \
--cc=linux-scsi@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox