2003-06-24 17:37:50

by Adrian Bunk

[permalink] [raw]
Subject: [PATCH] NCR53C9x compile fix (fwd)

The patch forwarded below is still needed in 2.5.73.

Please apply
Adrian


----- Forwarded message from Geert Uytterhoeven <[email protected]> -----

Date: Sun, 15 Jun 2003 20:38:40 +0200
From: Geert Uytterhoeven <[email protected]>
To: Linus Torvalds <[email protected]>
Cc: Linux Kernel Development <[email protected]>,
Geert Uytterhoeven <[email protected]>
Subject: [PATCH] NCR53C9x compile fix

NCR53C9x SCSI: Fix compilation after breakage in 2.5.71

--- linux-2.5.x/drivers/scsi/NCR53C9x.c Sun Jun 15 10:04:26 2003
+++ linux-m68k-2.5.x/drivers/scsi/NCR53C9x.c Sun Jun 15 11:49:32 2003
@@ -893,7 +893,7 @@
int esp_proc_info(struct Scsi_Host *shost, char *buffer, char **start, off_t offset, int length,
int inout)
{
- struct NCR_ESP *esp = (struct NCR_ESP *) SCpnt->device->host->hostdata;
+ struct NCR_ESP *esp = (struct NCR_ESP *)shost->hostdata;

if(inout)
return -EINVAL; /* not yet */

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

----- End forwarded message -----