aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/imx
diff options
context:
space:
mode:
authorEvgeny Bachinin <EABachinin@sberdevices.ru>2023-03-20 11:23:11 +0300
committerTom Rini <trini@konsulko.com>2023-03-30 15:09:59 -0400
commit26f923c7cff1a46d465efcd3b8f2240523c7ab08 (patch)
tree6aacca0c72fc94e6c47b8b7c8fc3e18d8346791e /drivers/ddr/imx
parent0798a1ce0f6439dfb80d310e11bc8993e09baf08 (diff)
cli: run_commandf(): small fixups
* vsnprintf() can truncate cmd, hence it makes no sense to launch such command (it's broken). Moreover, it's better to signalize to the caller about such case (for facilitating debugging or bug hunting). * Fix kernel-doc warnings: include/command.h:264: info: Scanning doc for run_commandf include/command.h:268: warning: contents before sections include/command.h:271: warning: No description found for return value of 'run_commandf' * Add printf-like format attribute to validate at compile-time the format string against parameters's type. * Fix compilation error in case of -Wall, -Werror, -Wextra: error: variable ā€˜i’ set but not used [-Werror=unused-but-set-variable] * Drop extra ret variable. Signed-off-by: Evgeny Bachinin <EABachinin@sberdevices.ru> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx')
0 files changed, 0 insertions, 0 deletions