diff mbox series

[v5,21/29] test: Add hexdump.h to the unit test header

Message ID 20200408165737.v5.21.I67bf7678070abfc440b46c9440446b3089f94f5d@changeid
State Superseded
Headers show
Series dm: Add programmatic generation of ACPI tables (part A) | expand

Commit Message

Simon Glass April 8, 2020, 10:57 p.m. UTC
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>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
---

Changes in v5: None
Changes in v4: None
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(+)

Comments

Bin Meng April 16, 2020, 6:33 a.m. UTC | #1
On Thu, Apr 9, 2020 at 6:58 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> Changes in v5: None
> Changes in v4: None
> 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(+)
>

applied to u-boot-x86, thanks!
diff mbox series

Patch

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;