]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Early return from env_get_f() on NULL name
authorMarek Behún <marek.behun@nic.cz>
Sun, 17 Oct 2021 15:36:34 +0000 (17:36 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Oct 2021 18:50:48 +0000 (12:50 -0600)
commit6b6e3eeba9f96b5d908a9b46b7bb25e76109a0c7
treec4a188ba145a74ceadb21148557972db113eae89
parent6ba4473fb757e7606a4224d87774294c9d60d2cd
env: Early return from env_get_f() on NULL name

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

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/nvedit.c