From patchwork Thu Jun 1 06:18:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 687688 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp172438wru; Wed, 31 May 2023 23:19:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6L5VNMvX+PrgI04Xp246SHWUeZLzELT5AmD8KiUwE/BQP/D2/V2gMgafXQ37HZaLLyoaeU X-Received: by 2002:a17:902:c411:b0:1a6:7b71:e64b with SMTP id k17-20020a170902c41100b001a67b71e64bmr1247599plk.15.1685600341459; Wed, 31 May 2023 23:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685600341; cv=none; d=google.com; s=arc-20160816; b=Y7p00aqqVz1FIYE2fTd8jpIMUJiBsCtojyRepwBYttDX4ItxcQUxOb8S//tpU85qUM wVPdCz18mlqjwNMdPRwYRhbWpujK9g2Rdy74BQZY+XjQsK4C2EQD3TU2mpCClk8660zK ZKRciSPUgciYLn6h8QK/8Cw2EPbgMoicU2WGsFSZDk0Q97sSlLNVbYimZf2TPshtfx5/ 07f/lhbdxar34V77xxhhA5N87TUzi/4GPd/FzW1HXPtFm4qp7Vl2O/lT0U4g2wt7a93S mV2RGj7fTIsRl5QAJtwEUNaA/473hAP6UF6nCnOFHboRCZ8X6fEYfnJSUSsZteTwWmEm qWpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=y1s5Kxzrwkk7jCNH1fD7GgXedRLi71hRyGPwncxWYNE=; b=L4ikASIcy6XL+VdcLzkGuQ9RwCP23E1t+wX7A3m00gK7W2K1IMAPKLYXniO8oz3fBu 386A/6MOY+EM5iL7qarfFRqTlKkz51VAdOCSDY1xrEkr0kfe78VWsPBgBTqFSK1Y7Tfs jufQez5UfRNU+AwPlRiqVLpfpVBlL8xdQwSU9t8xElJwy2iD7p0t3kZqaSVaJVvu6rtX w6NNIl+/1lBEiICI4EX+YOfdClksdJsQcl5Z8ALRYLYv3yDVVs+wyywPN8699oT9OYr+ dmUwsvYeOPwUwUOz4ZtcuunHZdXsdhPJEl8yB2cUrY1AIad1UJw2RuXTsT5flzJ3/Hrx zZSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJ7ASAj9; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id o15-20020a170902d4cf00b001a974fc86casi2345202plg.592.2023.05.31.23.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 23:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJ7ASAj9; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 30D5986234; Thu, 1 Jun 2023 08:18:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="gJ7ASAj9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5431E86267; Thu, 1 Jun 2023 08:18:53 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 DB1F886178 for ; Thu, 1 Jun 2023 08:18:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-30ae4ec1ac7so406050f8f.2 for ; Wed, 31 May 2023 23:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685600330; x=1688192330; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=y1s5Kxzrwkk7jCNH1fD7GgXedRLi71hRyGPwncxWYNE=; b=gJ7ASAj9faQ/K+dm0/1T7LfI43sMd/kcMSwmSlxcyONbuAgUL5vt9PO+ufGRmtsIuP q55KzFCczHzAX40EZQlPax6SufomZifbBS63rkTpBJ8fR2DQarmXwWRII2lZ+ks9Whu4 b4Nfvv6kXed48o5u4QeqdkGcJO+28SkKPNt0DRm2nYnIaeqiqG69DOGKFDP/2NGS82qY 6QNeCHCcItfoo833gLXZvTrWlqIn0el23vcTxPgcrVGIhI5DyOPn4ViVGUge8xTHTt67 8MAjEHDz8MnY4hbbb3OYdn3R8oIdWI58Xvv+lROfhvhZtlKFujayw9m0Q+UtaAlb20bd 12cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685600330; x=1688192330; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y1s5Kxzrwkk7jCNH1fD7GgXedRLi71hRyGPwncxWYNE=; b=i+XvNLJTj9ydIQS+ETRmFzv62n8pMvIAqjjRmzHf7BXJ5foHB7I8LImq+HQ8itB7nS y0X/7gWpWLgD01mAHTY6l0WezuiNHrS0Fz/S+J6qWJBf3xLWWxv1OFsi9wqgVY5Ds1kq Icx6PfAt/yvBCrQW3HXi91Pa6Jgt3meKFEtmL3HQypinHdfu+Tw/LY3MgXaczMghsaSk y02E62Y43yVXCy474GMtSg6Gq6xpv97OBtrr40t+x34I8NhrRJt701Q5CTkmyyqACgv6 gBT3FAvnh3X5AsI2lUIsayx9VIpVgzvF8YO8vsaPeuqPN7sQdiWESq40CXnoSbi2G6f7 9H7w== X-Gm-Message-State: AC+VfDz4xxa55sYrvWNkCRAgqTqI+3c5o4E+ff4zY7JPWjjr9B+mkpwc 3MCH8MI3rV6LyoCP5Rd2d/JwDB8bFP1sjuHenBY= X-Received: by 2002:a5d:51cf:0:b0:309:3df3:8e0f with SMTP id n15-20020a5d51cf000000b003093df38e0fmr1049509wrv.51.1685600330376; Wed, 31 May 2023 23:18:50 -0700 (PDT) Received: from localhost.localdomain (ppp089210114029.access.hol.gr. [89.210.114.29]) by smtp.gmail.com with ESMTPSA id h9-20020adffa89000000b002f6176cc6desm8926247wrr.110.2023.05.31.23.18.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 23:18:50 -0700 (PDT) From: Ilias Apalodimas To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Simon Glass Subject: [PATCH] test: fix comment indentation on tpm tests Date: Thu, 1 Jun 2023 09:18:44 +0300 Message-Id: <20230601061844.492923-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean One out comments is off by one, adjust it Signed-off-by: Ilias Apalodimas Reviewed-by: Simon Glass --- test/dm/tpm.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/dm/tpm.c b/test/dm/tpm.c index 3defb3c3da1f..cde933ab2848 100644 --- a/test/dm/tpm.c +++ b/test/dm/tpm.c @@ -98,10 +98,11 @@ static int test_tpm_autostart(struct unit_test_state *uts, if (reinit) ut_assertok(tpm_init(dev)); - /* - * tpm_auto_start will rerun tpm_init() if reinit, but handles the - * -EBUSY return code internally. - */ + + /* + * tpm_auto_start will rerun tpm_init() if reinit, but handles the + * -EBUSY return code internally. + */ ut_assertok(tpm_auto_start(dev)); return 0;