Skip to contentSkip to conversation

NCR53C9x compile fix (fwd)

PATCH New Adrian Bunk 1 participant 1 message Jun 24, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

drivers/scsi/NCR53C9x.c +1 -1
@@ -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 -----