
14 Oct
2011
14 Oct
'11
11:38 p.m.
On Fri, Oct 14, 2011 at 4:32 PM, Wolfgang Denk wd@denx.de wrote:
These changes silently change the behaviour of the command. So far, an argument line "24" would be parsed as hex number (i. e. result in decimal value 36); with this change it suddenly becomes devcimal 24, which is quite unexpected.
Support for numbers larger than 9 is new, so very few people would be affected.
There are very few exceptions wher eU-Boot uses and expects decimal numbers, and I strongly recommend not to add any new such inconsistencies.
I understand, except that in this case, it's counter-intuitive. No one is going to think to do this:
mac ports b
to set the number of ports to 11, but that's what you have to do.
--
Timur Tabi
Linux kernel developer at Freescale