Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72B49C19F28 for ; Sat, 30 Jul 2022 21:57:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D529084580; Sat, 30 Jul 2022 23:54:06 +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="bRh65CmS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ED427844DE; Sat, 30 Jul 2022 23:53:46 +0200 (CEST) Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com [IPv6:2001:4860:4864:20::2e]) (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 AD7C7844AC for ; Sat, 30 Jul 2022 23:53: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=sjg@chromium.org Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-f2a4c51c45so9566168fac.9 for ; Sat, 30 Jul 2022 14:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=n+nfkNtP89xYX0IyNIqD5USvmaeP2aJmUuoRn4tWMik=; b=bRh65CmSdkiG8JAR/EbEXXGGyXvogJ5m9JhHgL3ZlJUt/4TwfHpSk5BGVpaHp30H43 xMCBqSJyiXWijKHEeN3+31HLNA4OIhxLb1gdngqyAiWvFomSgUnXz5kac3NsRygT5RUu WzyFZOS867evPVzJBkmekVQ32L+0WFgu0bfI0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=n+nfkNtP89xYX0IyNIqD5USvmaeP2aJmUuoRn4tWMik=; b=pgG95rDng0H4tlmIYFb2mIreVkpvEQ6ky+p7YkdeZzX7h/eveBT+35mTX5Tn5QiqMD TmVy9O4SnxHDIKQU9V49uaBSRiBPvvBkd9bywAIv3H1uQD265oE43pXtW38rIznuCHR4 5/++JXq11frk7NsDaD6Hc8jzLPc/yGUaQZ2l22+SzkwgfoZaHsyeQiF8WIBIaM7aRMK9 NKGFacT5w8rAQaiQfhKhnAduzLjKq2mx4LVcWJ1D1IscW4ekBFrStiNy4wnjwIUrH6Ui jsGAg6205PHOF06g2pg+uOv2S4buRCd57cNVdwy/PMKXprDKSnteTWm3+9VQ5QUPxej4 Us0g== X-Gm-Message-State: AJIora8B/tquRST2OXJwX7uQAO5T3OaqhzTOWcU/rKAx4G4gUfCyCClo LESYSD+45fG5ULtqiS96FiJJGA01DmeNOxdj X-Google-Smtp-Source: AGRyM1uBJoLJMQIpcuxRtdaI8t5O9otaDgHXkLR+FNmtOoyLd//7TneKXm+P9CWvLpSgxxR6PHSitA== X-Received: by 2002:a05:6870:b254:b0:ec:6ca4:c89f with SMTP id b20-20020a056870b25400b000ec6ca4c89fmr4986413oam.272.1659218008185; Sat, 30 Jul 2022 14:53:28 -0700 (PDT) Received: from sjg1.lan (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id 19-20020a544193000000b0032f75714af1sm1699656oiy.18.2022.07.30.14.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jul 2022 14:53:27 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Bin Meng , Simon Glass Subject: [PATCH v2 22/35] bootstd: Tidy comments in bootflow_scan_bootdev() Date: Sat, 30 Jul 2022 15:52:24 -0600 Message-Id: <20220730215237.818368-18-sjg@chromium.org> X-Mailer: git-send-email 2.37.1.455.g008518b4e5-goog In-Reply-To: <20220730215237.818368-1-sjg@chromium.org> References: <20220730215237.818368-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Fix a few nits in this function comment. Signed-off-by: Simon Glass --- (no changes since v1) include/bootflow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bootflow.h b/include/bootflow.h index c30ba042a48..4fa482a6784 100644 --- a/include/bootflow.h +++ b/include/bootflow.h @@ -169,9 +169,9 @@ int bootflow_iter_drop_bootmeth(struct bootflow_iter *iter, * If @flags includes BOOTFLOWF_ALL then bootflows with errors are returned too * * @dev: Boot device to scan, NULL to work through all of them until it - * finds one that * can supply a bootflow + * finds one that can supply a bootflow * @iter: Place to store private info (inited by this call) - * @flags: Flags for bootdev (enum bootflow_flags_t) + * @flags: Flags for iterator (enum bootflow_flags_t) * @bflow: Place to put the bootflow if found * Return: 0 if found, -ENODEV if no device, other -ve on other error * (iteration can continue) -- 2.37.1.455.g008518b4e5-goog