[PATCH] cmd: improve string matching for hex

Simon Glass sjg at google.com
Mon Jul 31 19:07:56 CEST 2023


On Mon, 31 Jul 2023 at 08:04, Dan Carpenter <dan.carpenter at linaro.org> wrote:
>
> Match the "=0x" instead of just "=0".
>
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
> We sometimes two character partial matching for commands so people can
> type "re" instead of "read".  But here reading two characters doesn't
> seem correct.
>
>  cmd/nvedit_efi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list