Re: [PATCH] Revert "memory-hotplug: add 0x prefix to HEXblock_size_bytes"

From: AmÃrico Wang
Date: Thu Apr 08 2010 - 11:37:52 EST


On Thu, Apr 08, 2010 at 05:10:06PM +0200, Heiko Carstens wrote:
>From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
>
>Revert ba168fc37dea145deeb8fa9e7e71c748d2e00d74 "memory-hotplug: add 0x prefix
>to HEX block_size_bytes" since it changes the user space visible sysfs interface
>/sys/devices/system/memory/block_size_bytes.
>The change breaks existing user space applications which rely on the fact that
>the output does not contain the "0x" prefix.
>

Odd.

Which application relies on this? Isn't the application which should
be fixed?? It should use something like strtoul() which doesn't
rely on '0x' prefix.

Thanks.
--
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/