On Thu, 8 Nov 2012 12:52:13 +0100 Anatolij Gustschin <ag...@denx.de> wrote:
> commit 199adb601ff34bdbbd0667fac80dfe0a87bffc2b "common/misc: sparse > fixes" broke the help command trying to fix the sparse error > "command.c:44:38: error: bad constant expression". > > As Henrik points out, the fix was bad because the commit used > CONFIG_SYS_MAXARGS whereas the code intended to use the maximum > number of commands (not arguments to a command). > > Revert command.c changes to the original code as asked by Wolfgang. > > Reported-by: Henrik Nordström <hen...@henriknordstrom.net> > Signed-off-by: Anatolij Gustschin <ag...@denx.de> > --- > common/command.c | 9 +-------- > 1 files changed, 1 insertions(+), 8 deletions(-) Applied to u-boot-staging/ag...@denx.de-urgent. Anatolij _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot