git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2561c5
)
Correct SPL use of ENV_WRITEABLE_LIST
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:39:50 +0000
(15:39 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000
(16:32 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_ENV_WRITEABLE_LIST defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/hashtable.c
patch
|
blob
|
history
diff --git
a/lib/hashtable.c
b/lib/hashtable.c
index
90c8465
..
f2d36bd
100644
(file)
--- a/
lib/hashtable.c
+++ b/
lib/hashtable.c
@@
-942,7
+942,7
@@
int himport_r(struct hsearch_data *htab,
e.data = value;
hsearch_r(e, ENV_ENTER, &rv, htab, flag);
-#if !
CONFIG_IS_ENABLED(
ENV_WRITEABLE_LIST)
+#if !
IS_ENABLED(CONFIG_
ENV_WRITEABLE_LIST)
if (rv == NULL) {
printf("himport_r: can't insert \"%s=%s\" into hash table\n",
name, value);