[PATCH 1/3] fastboot: print all variables only on getvar:all and not its prefixes
Sascha Hauer
s.hauer at pengutronix.de
Wed Aug 14 01:53:01 PDT 2024
On Fri, 09 Aug 2024 16:19:57 +0200, Ahmad Fatoum wrote:
> strcmp_l1 compares up to the length of the first arguments, i.e. it does
> a prefix check. For this, the prefix, which is usually a string literal,
> needs to be the first argument.
>
> The check for getvar:all doesn't follow this with the result that all of
>
> fastboot getvar 'all'
> fastboot getvar 'al'
> fastboot getvar 'a'
> fastboot getvar ''
>
> [...]
Applied, thanks!
[1/3] fastboot: print all variables only on getvar:all and not its prefixes
https://git.pengutronix.de/cgit/barebox/commit/?id=aff71a944811 (link may not be stable)
[2/3] fastboot: retire strcmp_l1 in favor of str_has_prefix
https://git.pengutronix.de/cgit/barebox/commit/?id=bec2074b771d (link may not be stable)
[3/3] fastboot: avoid console_countdown_abort for getvar request
https://git.pengutronix.de/cgit/barebox/commit/?id=23f330f1c8f3 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list