mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix "optimize  &&  ?"
@ 2004-03-19 20:45 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2004-03-19 20:45 UTC (permalink / raw)
  To: Linux Kernel List, Andrew Morton, Linus Torvalds

Hi,

This patch prevents the "optimize  &&  ?" message appearing when the
kernel configuration tool is run.  The message could be eliminated
from the tool, but I'd rather fix the needlessly over-complicated
expression:

--- orig/drivers/block/Kconfig	Fri Mar 19 11:55:32 2004
+++ linux/drivers/block/Kconfig	Fri Mar 19 20:39:25 2004
@@ -330,7 +330,7 @@ config BLK_DEV_RAM_SIZE
 
 config BLK_DEV_INITRD
 	bool "Initial RAM disk (initrd) support"
-	depends on BLK_DEV_RAM && BLK_DEV_RAM!=m
+	depends on BLK_DEV_RAM=y
 	help
 	  The initial RAM disk is a RAM disk that is loaded by the boot loader
 	  (loadlin or lilo) and that is mounted as root before the normal boot

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-19 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-19 20:45 [PATCH] fix "optimize && ?" Russell King

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

Powered by JetHome