summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
Diffstat (limited to 'include/test')
-rw-r--r--include/test/ut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/test/ut.h b/include/test/ut.h
index 85434d7..d176df5 100644
--- a/include/test/ut.h
+++ b/include/test/ut.h
@@ -104,7 +104,7 @@ void ut_failf(struct unit_test_state *uts, const char *fname, int line,
}
/* Assert that a pointer is not an error pointer */
-#define ut_assertok_ptr(expr) { \
+#define ut_assertok_ptr(expr) { \
const void *val = (expr); \
\
if (IS_ERR(val)) { \