]> git.baikalelectronics.ru Git - uboot.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)
commit9b8fb33b07f7c942ae9b8784a35083d34482f778
tree52f181c78e09280f564814d9a644d47bac61348e
parentce7306d771e8e707643a4e05a9f87bb8e3fb5a78
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