h8300: bad test of memory_end in setup_arch()
From: Roel Kluin
Date: Thu Aug 27 2009 - 03:32:20 EST
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
--
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/