From patchwork Mon Mar 30 23:12:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1264385 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=mcwNzocS; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48rpKj39Vdz9sPJ for ; Tue, 31 Mar 2020 10:18:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6E961818FC; Tue, 31 Mar 2020 01:15:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="mcwNzocS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F1CC8191C; Tue, 31 Mar 2020 01:14:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 57AD9813B5 for ; Tue, 31 Mar 2020 01:14:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x142.google.com with SMTP id g15so17612144ilj.10 for ; Mon, 30 Mar 2020 16:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JGKHajfJkHpe1vQ4voN/Hw06To6Qq1e9BUlCc+t6MBQ=; b=mcwNzocS5xY6Y4oqq6t4RpKQKG/nC9nfp/JrTaDNC/ESiB44uOGuVTGWfmdfzYSt7K 9Ng91w05lA22J/tbvHmdhqWE+RDV2ZQtnYlaXFHhhap0oxoicj1S9KsZkKzzSeI/kFvE 8E74uhmrgbDTb47Rb6BBSE6kvYeEUKVv3fYh0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JGKHajfJkHpe1vQ4voN/Hw06To6Qq1e9BUlCc+t6MBQ=; b=l+qNPjF27+yr4lYNFaELoRXAcwOPLduxdu8Cn+Umjc7kVOnh1oI0Yy+PNA/3SI2Fow bG4bMuQv8bo0aPksSo6Eq0P3uZGqs1/mphF4ujlRLWXlL5YO4CdMEz5RLdjwh1UXcW7O LaefyPvZ1ZyCTgVZPZSGJmnUIBB6XDc7Xl+Zwu01xMGSSPx08Bf1h+ZNdpsnVy6ZsXe4 GkTF3cVSF+PVld9DLG8xCzRXoCKUMV/7AXiTUtEvIkO82jwa9tizeUTzVwpQ/4Vc9Eby 4xQRYNQN4pTvyyoKdZ/6LNn32wjiQsnARxRI5PwRM1rIhjYl30QDUg6WE1fjcVpXwLA5 ffzg== X-Gm-Message-State: ANhLgQ0XDATgomds/ktj+2h2n8gk7Yn++l3IstzcUHt96CzAsDERYeK+ FIoEcpRWmrKdFc7veyD9HkUfUR/eEC9PaA== X-Google-Smtp-Source: ADFU+vvTD6cNihyOdgUmlbR+1K5/LQnwlbXVQ9y2a6hmagVk7UWvq8ybMMCH0viZy4k106vkGpMTRg== X-Received: by 2002:a92:849b:: with SMTP id y27mr13020790ilk.215.1585610076990; Mon, 30 Mar 2020 16:14:36 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id c28sm5357898ilf.26.2020.03.30.16.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 16:14:36 -0700 (PDT) From: Simon Glass To: u-boot@lists.denx.de Cc: Andy Shevchenko , Wolfgang Wallner , Leif Lindholm , Simon Glass , Bin Meng Subject: [PATCH v3 21/29] test: Add hexdump.h to the unit test header Date: Mon, 30 Mar 2020 17:12:57 -0600 Message-Id: <20200330231305.130488-3-sjg@chromium.org> X-Mailer: git-send-email 2.26.0.rc2.310.g2932bb562d-goog In-Reply-To: <20200330231305.130488-1-sjg@chromium.org> References: <20200330231305.130488-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Since ut_asserteq_mem() uses bin2hex() we should include this header in ut.h to avoid errors. Add it. Signed-off-by: Simon Glass Reviewed-by: Wolfgang Wallner --- 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 #include struct unit_test_state;