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

From: Kronos
Date: Mon Feb 02 2004 - 16:09:01 EST



dtc.c:182: warning: `dtc_setup' defined but not used

dtc_setup isn't used when the driver is modular.

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

#define NO_SIGNATURES (sizeof (signatures) / sizeof (struct signature))

+#ifndef MODULE
/**
* dtc_setup - option setup for dtc3x80
*
@@ -202,6 +203,7 @@
}

__setup("dtc=", dtc_setup);
+#endif

/**
* dtc_detect - detect DTC 3x80 controllers
--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
Alcuni pensano che io sia una persona orribile, ma non vero. Ho il
cuore di un ragazzino - in un vaso sulla scrivania.
-
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/