[PATCH v3 21/29] test: Add hexdump.h to the unit test header

Simon Glass sjg at chromium.org
Tue Mar 31 01:12:57 CEST 2020


Since ut_asserteq_mem() uses bin2hex() we should include this header in
ut.h to avoid errors. Add it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3:
- Add new patch to add hexdump.h to the unit test header

Changes in v2: None

 include/test/ut.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/test/ut.h b/include/test/ut.h
index 04df8ba3af3..39d15953ed3 100644
--- a/include/test/ut.h
+++ b/include/test/ut.h
@@ -8,6 +8,7 @@
 #ifndef __TEST_UT_H
 #define __TEST_UT_H
 
+#include <hexdump.h>
 #include <linux/err.h>
 
 struct unit_test_state;
-- 
2.26.0.rc2.310.g2932bb562d-goog



More information about the U-Boot mailing list