[Compile Regression in 2.4.25-pre8][PATCH 17/42]

From: Kronos
Date: Mon Feb 02 2004 - 14:59:18 EST



g_NCR5380.c:212: warning: `do_NCR5380_setup' defined but not used
g_NCR5380.c:230: warning: `do_NCR53C400_setup' defined but not used
g_NCR5380.c:248: warning: `do_NCR53C400A_setup' defined but not used
g_NCR5380.c:266: warning: `do_DTC3181E_setup' defined but not used

These functions are used to handle boot params and are useless when the
driver is modular.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/g_NCR5380.c linux-2.4/drivers/scsi/g_NCR5380.c
--- linux-2.4-vanilla/drivers/scsi/g_NCR5380.c Tue Nov 11 17:51:39 2003
+++ linux-2.4/drivers/scsi/g_NCR5380.c Sat Jan 31 17:36:59 2004
@@ -146,6 +146,7 @@

#define NO_OVERRIDES (sizeof(overrides) / sizeof(struct override))

+#ifndef MODULE
/**
* internal_setup - handle lilo command string override
* @board: BOARD_* identifier for the board
@@ -270,6 +271,7 @@
internal_setup(BOARD_DTC3181E, str, ints);
return 1;
}
+#endif

/**
* generic_NCR5380_detect - look for NCR5380 controllers

--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
"Su cio` di cui non si puo` parlare e` bene tacere".
Ludwig Wittgenstein
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/