[PATCH] Sun-3 SCSI warning

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sat Jul 26 2003 - 09:51:53 EST


Sun-3 SCSI: Kill a warning about a nonmatching prototype after recent SCSI
proc_info() changes.

--- linux-2.6.x/drivers/scsi/sun3_NCR5380.c Sun Jun 15 09:38:41 2003
+++ linux-m68k-2.6.x/drivers/scsi/sun3_NCR5380.c Mon Jun 23 13:04:29 2003
@@ -754,8 +754,8 @@
 static
 char *lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length);
 
-static int NCR5380_proc_info (struct Scsi_Host *instance, char *buffer, char **start, off_t offset,
- int length, int inout)
+int NCR5380_proc_info (struct Scsi_Host *instance, char *buffer, char **start,
+ off_t offset, int length, int inout)
 {
     char *pos = buffer;
     struct NCR5380_hostdata *hostdata;

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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:29 EST