* [PATCH 070] NCR53C9x unused SCp.have_data_in
@ 2003-12-07 20:49 Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2003-12-07 20:49 UTC (permalink / raw)
To: Marcelo Tosatti
Cc: Linux Kernel Development, macro, Ralf Baechle, Geert Uytterhoeven
NCR53C9x: Remove unused initialization of SCp.have_data_in (from Maciej W.
Rozycki). This affects the following drivers:
- Amiga Oktagon SCSI
- DECstation SCSI
The change for DECstation SCSI sneaked in through a MIPS update.
--- linux-2.4.23/drivers/scsi/NCR53C9x.c Sat Aug 17 14:10:41 2002
+++ linux-m68k-2.4.23/drivers/scsi/NCR53C9x.c Wed Jan 22 12:07:13 2003
@@ -917,7 +917,7 @@
if (esp->dma_mmu_get_scsi_one)
esp->dma_mmu_get_scsi_one(esp, sp);
else
- sp->SCp.have_data_in = (int) sp->SCp.ptr =
+ sp->SCp.ptr =
(char *) virt_to_phys(sp->request_buffer);
} else {
sp->SCp.buffer = (struct scatterlist *) sp->buffer;
--- linux-2.4.23/drivers/scsi/oktagon_esp.c Mon Apr 1 13:02:02 2002
+++ linux-m68k-2.4.23/drivers/scsi/oktagon_esp.c Wed Jan 22 12:07:17 2003
@@ -548,7 +548,7 @@
void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
{
- sp->SCp.have_data_in = (int) sp->SCp.ptr =
+ sp->SCp.ptr =
sp->request_buffer;
}
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 070] NCR53C9x unused SCp.have_data_in
@ 2004-04-23 15:10 Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2004-04-23 15:10 UTC (permalink / raw)
To: Marcelo Tosatti
Cc: Linux Kernel Development, macro, Ralf Baechle, Geert Uytterhoeven
NCR53C9x: Remove unused initialization of SCp.have_data_in (from Maciej W.
Rozycki). This affects the following drivers:
- Amiga Oktagon SCSI
- DECstation SCSI
The change for DECstation SCSI sneaked in through a MIPS update.
--- linux-2.4.26-pre5/drivers/scsi/NCR53C9x.c Sat Aug 17 14:10:41 2002
+++ linux-m68k-2.4.26-pre5/drivers/scsi/NCR53C9x.c Wed Jan 22 12:07:13 2003
@@ -917,7 +917,7 @@
if (esp->dma_mmu_get_scsi_one)
esp->dma_mmu_get_scsi_one(esp, sp);
else
- sp->SCp.have_data_in = (int) sp->SCp.ptr =
+ sp->SCp.ptr =
(char *) virt_to_phys(sp->request_buffer);
} else {
sp->SCp.buffer = (struct scatterlist *) sp->buffer;
--- linux-2.4.26-pre5/drivers/scsi/oktagon_esp.c Mon Apr 1 13:02:02 2002
+++ linux-m68k-2.4.26-pre5/drivers/scsi/oktagon_esp.c Wed Jan 22 12:07:17 2003
@@ -548,7 +548,7 @@
void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
{
- sp->SCp.have_data_in = (int) sp->SCp.ptr =
+ sp->SCp.ptr =
sp->request_buffer;
}
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 070] NCR53C9x unused SCp.have_data_in
2004-03-23 15:35 ` Geert Uytterhoeven
@ 2004-03-23 17:18 ` Marcelo Tosatti
0 siblings, 0 replies; 6+ messages in thread
From: Marcelo Tosatti @ 2004-03-23 17:18 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Marcelo Tosatti, Linux Kernel Development, Maciej W. Rozycki,
Ralf Baechle
On Tue, 23 Mar 2004, Geert Uytterhoeven wrote:
> On Tue, 23 Mar 2004, Marcelo Tosatti wrote:
> > On Mon, 22 Mar 2004, Geert Uytterhoeven wrote:
> > > NCR53C9x: Remove unused initialization of SCp.have_data_in (from Maciej W.
> > > Rozycki). This affects the following drivers:
> > > - Amiga Oktagon SCSI
> > > - DECstation SCSI
> > >
> > > The change for DECstation SCSI sneaked in through a MIPS update.
> > >
> > > --- linux-2.4.26-pre5/drivers/scsi/NCR53C9x.c Sat Aug 17 14:10:41 2002
> > > +++ linux-m68k-2.4.26-pre5/drivers/scsi/NCR53C9x.c Wed Jan 22 12:07:13 2003
> > > @@ -917,7 +917,7 @@
> > > if (esp->dma_mmu_get_scsi_one)
> > > esp->dma_mmu_get_scsi_one(esp, sp);
> > > else
> > > - sp->SCp.have_data_in = (int) sp->SCp.ptr =
> > > + sp->SCp.ptr =
> > > (char *) virt_to_phys(sp->request_buffer);
> > > } else {
> > > sp->SCp.buffer = (struct scatterlist *) sp->buffer;
> > > --- linux-2.4.26-pre5/drivers/scsi/oktagon_esp.c Mon Apr 1 13:02:02 2002
> > > +++ linux-m68k-2.4.26-pre5/drivers/scsi/oktagon_esp.c Wed Jan 22 12:07:17 2003
> > > @@ -548,7 +548,7 @@
> > >
> > > void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
> > > {
> > > - sp->SCp.have_data_in = (int) sp->SCp.ptr =
> > > + sp->SCp.ptr =
> > > sp->request_buffer;
> > > }
> >
> > Can't we live with this?
>
> Yes.
>
> > Is removing it fixing any problem?
>
> No, it's just a cleanup.
>
> > Yes, I'm being picky.
>
> In that case, you can drop it.
>
> (BTW, picky for 2.4.26-rc*, or for 2.4 in general?)
Picky in general for 2.4. In this case specifically I feel the cleanup
can possibly, "remotely" cause some issues. Better to be off.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 070] NCR53C9x unused SCp.have_data_in
2004-03-23 15:13 ` Marcelo Tosatti
@ 2004-03-23 15:35 ` Geert Uytterhoeven
2004-03-23 17:18 ` Marcelo Tosatti
0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2004-03-23 15:35 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: Linux Kernel Development, Maciej W. Rozycki, Ralf Baechle
On Tue, 23 Mar 2004, Marcelo Tosatti wrote:
> On Mon, 22 Mar 2004, Geert Uytterhoeven wrote:
> > NCR53C9x: Remove unused initialization of SCp.have_data_in (from Maciej W.
> > Rozycki). This affects the following drivers:
> > - Amiga Oktagon SCSI
> > - DECstation SCSI
> >
> > The change for DECstation SCSI sneaked in through a MIPS update.
> >
> > --- linux-2.4.26-pre5/drivers/scsi/NCR53C9x.c Sat Aug 17 14:10:41 2002
> > +++ linux-m68k-2.4.26-pre5/drivers/scsi/NCR53C9x.c Wed Jan 22 12:07:13 2003
> > @@ -917,7 +917,7 @@
> > if (esp->dma_mmu_get_scsi_one)
> > esp->dma_mmu_get_scsi_one(esp, sp);
> > else
> > - sp->SCp.have_data_in = (int) sp->SCp.ptr =
> > + sp->SCp.ptr =
> > (char *) virt_to_phys(sp->request_buffer);
> > } else {
> > sp->SCp.buffer = (struct scatterlist *) sp->buffer;
> > --- linux-2.4.26-pre5/drivers/scsi/oktagon_esp.c Mon Apr 1 13:02:02 2002
> > +++ linux-m68k-2.4.26-pre5/drivers/scsi/oktagon_esp.c Wed Jan 22 12:07:17 2003
> > @@ -548,7 +548,7 @@
> >
> > void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
> > {
> > - sp->SCp.have_data_in = (int) sp->SCp.ptr =
> > + sp->SCp.ptr =
> > sp->request_buffer;
> > }
>
> Can't we live with this?
Yes.
> Is removing it fixing any problem?
No, it's just a cleanup.
> Yes, I'm being picky.
In that case, you can drop it.
(BTW, picky for 2.4.26-rc*, or for 2.4 in general?)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 070] NCR53C9x unused SCp.have_data_in
2004-03-22 10:00 Geert Uytterhoeven
@ 2004-03-23 15:13 ` Marcelo Tosatti
2004-03-23 15:35 ` Geert Uytterhoeven
0 siblings, 1 reply; 6+ messages in thread
From: Marcelo Tosatti @ 2004-03-23 15:13 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Marcelo Tosatti, Linux Kernel Development, macro, Ralf Baechle
On Mon, 22 Mar 2004, Geert Uytterhoeven wrote:
> NCR53C9x: Remove unused initialization of SCp.have_data_in (from Maciej W.
> Rozycki). This affects the following drivers:
> - Amiga Oktagon SCSI
> - DECstation SCSI
>
> The change for DECstation SCSI sneaked in through a MIPS update.
>
> --- linux-2.4.26-pre5/drivers/scsi/NCR53C9x.c Sat Aug 17 14:10:41 2002
> +++ linux-m68k-2.4.26-pre5/drivers/scsi/NCR53C9x.c Wed Jan 22 12:07:13 2003
> @@ -917,7 +917,7 @@
> if (esp->dma_mmu_get_scsi_one)
> esp->dma_mmu_get_scsi_one(esp, sp);
> else
> - sp->SCp.have_data_in = (int) sp->SCp.ptr =
> + sp->SCp.ptr =
> (char *) virt_to_phys(sp->request_buffer);
> } else {
> sp->SCp.buffer = (struct scatterlist *) sp->buffer;
> --- linux-2.4.26-pre5/drivers/scsi/oktagon_esp.c Mon Apr 1 13:02:02 2002
> +++ linux-m68k-2.4.26-pre5/drivers/scsi/oktagon_esp.c Wed Jan 22 12:07:17 2003
> @@ -548,7 +548,7 @@
>
> void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
> {
> - sp->SCp.have_data_in = (int) sp->SCp.ptr =
> + sp->SCp.ptr =
> sp->request_buffer;
> }
Can't we live with this?
Is removing it fixing any problem?
Yes, I'm being picky.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 070] NCR53C9x unused SCp.have_data_in
@ 2004-03-22 10:00 Geert Uytterhoeven
2004-03-23 15:13 ` Marcelo Tosatti
0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2004-03-22 10:00 UTC (permalink / raw)
To: Marcelo Tosatti
Cc: Linux Kernel Development, macro, Ralf Baechle, Geert Uytterhoeven
NCR53C9x: Remove unused initialization of SCp.have_data_in (from Maciej W.
Rozycki). This affects the following drivers:
- Amiga Oktagon SCSI
- DECstation SCSI
The change for DECstation SCSI sneaked in through a MIPS update.
--- linux-2.4.26-pre5/drivers/scsi/NCR53C9x.c Sat Aug 17 14:10:41 2002
+++ linux-m68k-2.4.26-pre5/drivers/scsi/NCR53C9x.c Wed Jan 22 12:07:13 2003
@@ -917,7 +917,7 @@
if (esp->dma_mmu_get_scsi_one)
esp->dma_mmu_get_scsi_one(esp, sp);
else
- sp->SCp.have_data_in = (int) sp->SCp.ptr =
+ sp->SCp.ptr =
(char *) virt_to_phys(sp->request_buffer);
} else {
sp->SCp.buffer = (struct scatterlist *) sp->buffer;
--- linux-2.4.26-pre5/drivers/scsi/oktagon_esp.c Mon Apr 1 13:02:02 2002
+++ linux-m68k-2.4.26-pre5/drivers/scsi/oktagon_esp.c Wed Jan 22 12:07:17 2003
@@ -548,7 +548,7 @@
void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
{
- sp->SCp.have_data_in = (int) sp->SCp.ptr =
+ sp->SCp.ptr =
sp->request_buffer;
}
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-23 15:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-07 20:49 [PATCH 070] NCR53C9x unused SCp.have_data_in Geert Uytterhoeven
2004-03-22 10:00 Geert Uytterhoeven
2004-03-23 15:13 ` Marcelo Tosatti
2004-03-23 15:35 ` Geert Uytterhoeven
2004-03-23 17:18 ` Marcelo Tosatti
2004-04-23 15:10 Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).