]> git.dujemihanovic.xyz Git - u-boot.git/commit
log: check argument of 'log level' command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 31 May 2020 13:44:51 +0000 (13:44 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Jun 2020 02:52:11 +0000 (20:52 -0600)
commit77007f9543a0fac8c4f60800de6ddccfacd9af5d
tree52f181c78e09280f564814d9a644d47bac61348e
parent7b6c34cb15270c3dbd463faaceb2bfbdd0b8f1a8
log: check argument of 'log level' command

Check that the argument provided to the 'log level' command is in the range
between zero and CONFIG_LOG_MAX_LEVEL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/log.c