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:
7a765a3
)
test: event: Correct usage of IS_ENABLED() macro in test/common/event.c
author
Tom Rini
<trini@konsulko.com>
Wed, 26 Feb 2025 20:31:09 +0000
(14:31 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 13 Mar 2025 20:21:42 +0000
(14:21 -0600)
This file was using IS_ENABLED() to test for CONFIG flags but omitted
the CONFIG_ prefix and so did not work as expected.
Signed-off-by: Tom Rini <trini@konsulko.com>
test/common/event.c
patch
|
blob
|
history
diff --git
a/test/common/event.c
b/test/common/event.c
index
bfbbf01
..
e77e020
100644
(file)
--- a/
test/common/event.c
+++ b/
test/common/event.c
@@
-91,7
+91,7
@@
static int test_event_probe(struct unit_test_state *uts)
struct test_state state;
struct udevice *dev;
- if (!IS_ENABLED(SANDBOX))
+ if (!IS_ENABLED(
CONFIG_
SANDBOX))
return -EAGAIN;
state.val = 0;