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 7456BC7EE23 for ; Thu, 1 Jun 2023 16:24:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E34228634C; Thu, 1 Jun 2023 18:24:35 +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="KLsbsxhG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 437D68634C; Thu, 1 Jun 2023 18:24:31 +0200 (CEST) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 80DAB86327 for ; Thu, 1 Jun 2023 18:24:28 +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-x133.google.com with SMTP id e9e14a558f8ab-33bbb78248fso4223505ab.0 for ; Thu, 01 Jun 2023 09:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1685636667; x=1688228667; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DiVKdFbb/CoQkot5ygItHS0JyBO9jOlB6sNF8u1JZMs=; b=KLsbsxhG7fDUOtptYMO9DsMiOTvIl7N8n1WQ5yR+IAfn2F32wAE1OJhuAj4ljglyfU STVeDHtfdxxedqelGNpq8k+Nalozt3fRo3LzCL29jT5XIvADvzaWYkY1KhGQc46KHCpi dlp9rC3+HA5CzbKnc71w1FLXsW9jVZIXN0utw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685636667; x=1688228667; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DiVKdFbb/CoQkot5ygItHS0JyBO9jOlB6sNF8u1JZMs=; b=HNp4b8hanZcXfxG+y+ifczFgJ+iXi2awZZumqSqzXDG1DGkRskzhqK2f8s/hzeaOUO AiKN26V7JqD4einWH4ixn+YDZvZPowb9FAERbQ4EsKEdqUWg0vHLdB0AjyZchlgChtgH to/V6AFQtBQMUsmlbExY25rYdoOQLOkGCvzmUa5k07zIJLgHWiFKACj8a4t1qU775ymL z+/CkS2XY5BOH9vYt7xlIPXb+0HdcybSTSsH+wyV0mq6WSp9RYZjszImIHm/Nns1GPj+ sT7vaBeLQXpnKNGeeVBdaRfupLKqkOmLXULXdNmDnoqt8RMsuW06KqMDi5Jp7d3eBmry 3lLQ== X-Gm-Message-State: AC+VfDzZHe2d6B53TkBC6FvKckJkPVt6xCgFt1gfmPtV9Nrran51n4fN kMOm7LkUoloYDlgeDhiAibksmIPIePMqZxBjgNg= X-Google-Smtp-Source: ACHHUZ57Q13I1UkHnPKAuVTsPKNLK5/vGS12OFieAJCaQUS/gbUjMdeRObE/oPVfHfHfnIPknEbwWg== X-Received: by 2002:a92:d410:0:b0:33b:c0d8:26af with SMTP id q16-20020a92d410000000b0033bc0d826afmr6540032ilm.7.1685636667049; Thu, 01 Jun 2023 09:24:27 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id l1-20020a922901000000b0033a6e7ee4e3sm3862098ilg.1.2023.06.01.09.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 09:24:26 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass Subject: [PATCH 02/40] expo: Correct some header-file comments Date: Thu, 1 Jun 2023 10:22:26 -0600 Message-ID: <20230601162404.220488-3-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.rc0.172.g3f132b7071-goog In-Reply-To: <20230601162404.220488-1-sjg@chromium.org> References: <20230601162404.220488-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.8 at phobos.denx.de X-Virus-Status: Clean The use of Returns instead of @return still confuses me. Fix some problems that have crept in. Signed-off-by: Simon Glass --- boot/scene_internal.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/boot/scene_internal.h b/boot/scene_internal.h index e8fd765811e1..9f173dd749f0 100644 --- a/boot/scene_internal.h +++ b/boot/scene_internal.h @@ -23,7 +23,7 @@ struct scene *expo_lookup_scene_id(struct expo *exp, uint scene_id); * * @exp: Expo to use * @id: ID to use, or 0 to auto-allocate one - * @return: Either @id, or the auto-allocated ID + * Returns: Either @id, or the auto-allocated ID */ uint resolve_id(struct expo *exp, uint id); @@ -36,6 +36,7 @@ uint resolve_id(struct expo *exp, uint id); * @scn: Scene to search * @id: ID of object to find * @type: Type of the object, or SCENEOBJT_NONE to match any type + * Returns: Object found, or NULL if not found */ void *scene_obj_find(struct scene *scn, uint id, enum scene_obj_t type); @@ -62,6 +63,7 @@ int scene_obj_add(struct scene *scn, const char *name, uint id, * * @scn: Scene to update * @menu: Menu to process + * Returns: 0 if OK, -ve on error */ int scene_menu_arrange(struct scene *scn, struct scene_obj_menu *menu); @@ -72,7 +74,7 @@ int scene_menu_arrange(struct scene *scn, struct scene_obj_menu *menu); * @menu: Menu to use * @key: Key code to send (KEY_...) * @event: Place to put any event which is generated by the key - * @return 0 if OK, -ENOTTY if there is no current menu item, other -ve on other + * Returns: 0 if OK, -ENOTTY if there is no current menu item, other -ve on other * error */ int scene_menu_send_key(struct scene *scn, struct scene_obj_menu *menu, int key, @@ -89,7 +91,7 @@ void scene_menu_destroy(struct scene_obj_menu *menu); * scene_menu_display() - Display a menu as text * * @menu: Menu to display - * @return 0 if OK, -ENOENT if @id is invalid + * Returns: 0 if OK, -ENOENT if @id is invalid */ int scene_menu_display(struct scene_obj_menu *menu); -- 2.41.0.rc0.172.g3f132b7071-goog