public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* h8300: bad test of memory_end in setup_arch()
@ 2009-08-27  7:37 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2009-08-27  7:37 UTC (permalink / raw)
  To: ysato, Andrew Morton, LKML

in arch/h8300/kernel/setup.c:116:
	if ((memory_end < CONFIG_BLKDEV_RESERVE_ADDRESS) && 
            (memory_end > CONFIG_BLKDEV_RESERVE_ADDRESS))
            /* overlap userarea */
            memory_end = CONFIG_BLKDEV_RESERVE_ADDRESS;

This will always evaluate to false. what is this supposed to do?
is this &&/|| confusion? Can we simply replace this with:

	memory_end = CONFIG_BLKDEV_RESERVE_ADDRESS;

Roel

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

only message in thread, other threads:[~2009-08-27  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27  7:37 h8300: bad test of memory_end in setup_arch() Roel Kluin

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