|
From: | Alex Bennée |
Subject: | Re: [PATCH v2 6/9] gdbstub: Only call cmd_parse_params() with non-NULL command schema |
Date: | Thu, 06 May 2021 20:21:21 +0100 |
User-agent: | mu4e 1.5.13; emacs 28.0.50 |
Philippe Mathieu-Daudé <philmd@redhat.com> writes: > Move the NULL check on command schema buffer from the callee > cmd_parse_params() to the single caller, process_string_cmd(). > > This simplifies the process_string_cmd() logic. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |