[PATCH v3 09/13] env: Early return from env_get_f() on NULL name

Simon Glass sjg at chromium.org
Thu Oct 21 20:49:11 CEST 2021


From: Marek Behún <marek.behun at nic.cz>

Test non-NULL name immediately, not in env_match().

Signed-off-by: Marek Behún <marek.behun at nic.cz>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 cmd/nvedit.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list