public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* zcache - trivial tweak to build-time error message wording
@ 2011-08-31 20:23 Valdis.Kletnieks
  2011-09-01 14:41 ` Dan Magenheimer
  0 siblings, 1 reply; 2+ messages in thread
From: Valdis.Kletnieks @ 2011-08-31 20:23 UTC (permalink / raw)
  To: Dan Magenheimer; +Cc: linux-kernel

Clarify that the requirement is "at least one of" - the error message could
potentially be read as both being required.

Yes, the line is over 80 chars.  You can't get 79 chars of text and a #error
into 80 chars :)

Patch against linux-next-20110831

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>

--- linux-next/drivers/staging/zcache/zcache-main.c.dist	2011-08-31 13:31:27.054696837 -0400
+++ linux-next/drivers/staging/zcache/zcache-main.c	2011-08-31 16:16:46.055659964 -0400
@@ -34,7 +34,7 @@
 #include "../zram/xvmalloc.h" /* if built in drivers/staging */
 
 #if (!defined(CONFIG_CLEANCACHE) && !defined(CONFIG_FRONTSWAP))
-#error "zcache is useless without CONFIG_CLEANCACHE or CONFIG_FRONTSWAP"
+#error "zcache is useless without at least one of CONFIG_CLEANCACHE or CONFIG_FRONTSWAP"
 #endif
 #ifdef CONFIG_CLEANCACHE
 #include <linux/cleancache.h>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-01 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 20:23 zcache - trivial tweak to build-time error message wording Valdis.Kletnieks
2011-09-01 14:41 ` Dan Magenheimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox