Skip to content
Commit 22b6fcb5 authored by Anatolij Gustschin's avatar Anatolij Gustschin
Browse files

common/command.c: revert changes from commit 199adb60

commit 199adb60

 "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: default avatarHenrik Nordström <henrik@henriknordstrom.net>
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 1cc619be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment