From patchwork Mon Sep 15 12:28:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 328 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939408; bh=MJBcukqQTnA9txhJDvmKupgWFBJxBWHXEdDwcFR6M/8=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=SC1H1MQ5XXfqE7oi8WGKrTeVcqsT9BBjjjQOQpbgI+EM8NR91Z67SO8tpbz/PK7rO mHlw6Nc5CcmidzK4Ujx6dGtM+WuHhuCcqp5OQ0/Kn5C9uaJn2gp0BV27SH3mmckFBm CAIyDY18Hb+OVaqY6O9gbiiAGfidqZMY5W7w/kz1TEwANO+jZV6rMmmV4RTCoNL8/n WIhEPLz1ChRNnKcPt7JohPZFnSyO2Rl3ud5bB9+KQEiHjIAlmCKPlkm+a8F1dM2Yah uzSvm+LJCr1hZTZG83Th/MulOgTD/aiN91LpWoFVx5q8MXoCin/cYAwFjD/SEuezCY 6xTvs31WuIh4g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0BA5867BCB for ; Mon, 15 Sep 2025 06:30:08 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id N_wQGFxNI-pU for ; Mon, 15 Sep 2025 06:30:07 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939407; bh=MJBcukqQTnA9txhJDvmKupgWFBJxBWHXEdDwcFR6M/8=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=iq9sFS5Kiy9p+l8w9uF1QDNxa1qOWoYoTWD85U8tqufAFLCviex+r8zVh4mQiGniM sPM8P1Lqzctm98ycQal6STqR/AYPIk204/aYGQq5j98uMSMqVqswALxL8S8zpva7u+ 3v8lU1SrvfPk6qYphjIppLgULe5YyXM6uUIlwBIAOzGCqQRyhrtKgNQVmWN5N/f5bl mpU8r4HDujMf5pOVA6dipmej6lED7D6p1E1GQKWTGKp7Q3fKjja9qDc7dBghpub3Do FWbMjFpWjMPz/xx8FI7brS3X6mNZB6SxFBPIuGkO75QWCzmea5WMJUmHS4QF3B85G0 1Q4r75xEqgWzQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E7BB367BC8 for ; Mon, 15 Sep 2025 06:30:07 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939406; bh=sRqC6vGMQrQ1DA0Gzby67B9wPELkdhOUj5c4g8ogE5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ExiOaElueALinIg/DufF/4X7eYRU/Ke3oMDsTkQdjqKeyraQQ+WjPdGVJOukiYxzN vP5PfNaSB3Tv0tQ3r3Fxeog9zHdlBgbbp/ROfbegDl7ldoWfNaWmfiVzaaC+pIKOoC prjeE83HebPf/S3p23MkiIf8/I4BXpCVpW8iG6IP1jVmx8mGszzFRlLP8ai2NwaY+p YFbIMRzMrZaE8CdidB22sz5TDyglLsepmkRd7eTJcQ1qNqgINI453za6LQwvLVulo9 YmZ8VZYKkD8Jzi638qcVB0AMSRWZRvQ9aKMvzqzmLe9OpCtnvthqP4obj+K1ZBQHqZ x20p7UzH0jWAw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0C33467BAC; Mon, 15 Sep 2025 06:30:06 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 1mLKgun9IL_b; Mon, 15 Sep 2025 06:30:05 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939404; bh=g0FJC9c9YTYMtFB/qOaTzCQY96pbIGAgj/QalfIg53o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E+AHcsBZp4c9C/kIGC3AelRXr/s1SBGld8vwQx3c5hPLa/YuzvEpQmCEMsLt9+wMU qHZ842D3cQP5GeHJADXdES8XlvwEic1PkWmI7SWs9aY8jael9CpusASIn56shmxKva 2o8ajTtcEdsRHwBMVp1kC+UNiSyS0QTIWvxpdN74UEQ6zLOXiLdrMQbNB5q3qcRZDv qNE/Vf8Y2WFENGfAv6dHZOqUR41Or17Ts/RK5z+VXPPLbGRTmGbd29Hv6izyW5ngc2 FXGXhsrDIB/P5Vkig81JO40tbKDmuKNIXfWTHO+DeQUiLv5WLWRmaLtKbaEfJkhefv SI30WYWevDCPA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4097567B3C; Mon, 15 Sep 2025 06:30:04 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Mon, 15 Sep 2025 06:28:46 -0600 Message-ID: <20250915122905.1217249-14-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250915122905.1217249-1-sjg@u-boot.org> References: <20250915122905.1217249-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: P3SWJY7AOD47KYN3C2LYIEG76SRIKKVJ X-Message-ID-Hash: P3SWJY7AOD47KYN3C2LYIEG76SRIKKVJ X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 13/23] expo: Tidy up comments for enum expoact_type List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Some of the comments in this enum and the struct which uses it are out-of-date. Fix this up. Signed-off-by: Simon Glass --- include/expo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/expo.h b/include/expo.h index f49a6fc5dce..571ba513fa6 100644 --- a/include/expo.h +++ b/include/expo.h @@ -41,8 +41,8 @@ enum expo_id_t { * enum expoact_type - types of actions reported by the expo * * @EXPOACT_NONE: no action - * @EXPOACT_POINT_OBJ: object was highlighted (@id indicates which) - * @EXPOACT_POINT_ITEM: menu item was highlighted (@id indicates which) + * @EXPOACT_POINT_OBJ: object was highlighted (@id indicates which object) + * @EXPOACT_POINT_ITEM: menu item was highlighted (@id indicates which item) * @EXPOACT_SELECT: menu item was selected (@id indicates which) * @EXPOACT_OPEN: menu was opened, so an item can be selected (@id indicates * which menu object) @@ -63,8 +63,8 @@ enum expoact_type { * struct expo_action - an action report by the expo * * @type: Action type (EXPOACT_NONE if there is no action) - * @select: Used for EXPOACT_POINT_ITEM and EXPOACT_SELECT - * @select.id: ID number of the object affected. + * @select: Used for all actions except EXPOACT_NONE and EXPOACT_QUIT + * @select.id: ID number of the object affected * @select.changed: true if the selection has changed since last time (only * valid for EXPOACT_POINT_ITEM) */