From: Tom Rini Date: Wed, 26 Feb 2025 20:31:09 +0000 (-0600) Subject: test: event: Correct usage of IS_ENABLED() macro in test/common/event.c X-Git-Tag: v2025.07-rc1~18^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2ad0799715e7c02aa98d946a04e526fc5802b0;p=pandora-u-boot.git test: event: Correct usage of IS_ENABLED() macro in test/common/event.c 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 --- diff --git a/test/common/event.c b/test/common/event.c index bfbbf019768..e77e020b00b 100644 --- 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;