Re: [PATCH v2 1/4] cli: run_commandf(): small fixups

2023-03-31 Thread Tom Rini
On Mon, Mar 20, 2023 at 11:23:11AM +0300, Evgeny Bachinin wrote: > * 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 w

Re: [PATCH v2 1/4] cli: run_commandf(): small fixups

2023-03-20 Thread Simon Glass
On Mon, 20 Mar 2023 at 21:23, Evgeny Bachinin wrote: > > * 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: >

[PATCH v2 1/4] cli: run_commandf(): small fixups

2023-03-20 Thread Evgeny Bachinin
* 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 incl