Message ID | 20250905212330.354827-6-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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=1757107433; bh=pkQ+8u+2VhudG/Kt8VB2zoNuAHMeX5TpKTuju/QB0VI=; 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=cOYtZF3kwHfaOR2lV0CHdIrjNeG7iCfo3Rc6+DwADQUjJH9QNnpkvFqCn9FgXqIVN gnHG8CQUg4hqlWkYA3u4V9gFDBK2nvpg24yeyNcWDgA9//i6r3wARan3jeUaVsRlst DRSxcXqEfxWh67RPNRN/+f+OnLhnkAUSVAP3QHUypcMPDWq5gMT3shdCon9+0rCTE6 wA6sK0UBSHP4JZobasPEc05e3QGhiFHkNPATXbfqgv7nZNM9IIY3lD/h0zLKGeDG5s O+sWoi4f1BNsWO7btGlOLnHIM5G/XDE66WJ7N6G+QCltddB2e1ObWo83CgyBItVng1 iVfhaA7qASZWA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2FF31679C1 for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 15:23:53 -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 S4PfcIsutMtw for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 15:23:53 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757107433; bh=pkQ+8u+2VhudG/Kt8VB2zoNuAHMeX5TpKTuju/QB0VI=; 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=cOYtZF3kwHfaOR2lV0CHdIrjNeG7iCfo3Rc6+DwADQUjJH9QNnpkvFqCn9FgXqIVN gnHG8CQUg4hqlWkYA3u4V9gFDBK2nvpg24yeyNcWDgA9//i6r3wARan3jeUaVsRlst DRSxcXqEfxWh67RPNRN/+f+OnLhnkAUSVAP3QHUypcMPDWq5gMT3shdCon9+0rCTE6 wA6sK0UBSHP4JZobasPEc05e3QGhiFHkNPATXbfqgv7nZNM9IIY3lD/h0zLKGeDG5s O+sWoi4f1BNsWO7btGlOLnHIM5G/XDE66WJ7N6G+QCltddB2e1ObWo83CgyBItVng1 iVfhaA7qASZWA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 117D86790F for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 15:23:53 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757107430; bh=OSOeVNW4nfmf4lp5tzElhWnZycec76/4OjNqOh2bxfg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zy3f4i+FyxCXxtVKn/OPvgUc+XTcA3We0DUzTi6zBDeFZh48L2Tx8tjfo9+cT3AUY 8MZkZoUCF6KrZua1l6nSrIsgoct0ouQq2mqOoxqZhhiegagfix9Yi+KXYphahS+TBl 1j3RHgtKShHuY10xsmE9Cz/Hdd2GeNx7/jBtnlbKTYtuVYMKfvctAs63tXMRRxqCiK PysdMDbMQRotFzxDZfmy9nU+pDDISKABaDfnqgu7q3QCskIZ8OfITynSbjjLmj5HOh XqVUJKQmdGHRFxhQOIOMTKy123bOpQ19Jkn3RiUBrlAJKyuRN2alGxiNjvJD4p5VIs L4WmWktPT3djQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id F38A1679BF; Fri, 5 Sep 2025 15:23:50 -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 6xaDzZfJnaQP; Fri, 5 Sep 2025 15:23:50 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757107428; bh=ItvM+z9kSeV3Ri7NP1LKS7SabqHu/EI9Ob1jVBY86NU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bhEN/BK/vhT2FdxxHf6NN5pejAvQJuaDifKM3wCIbdiHFwP8nKBZB/4+vLnr2Bkif 3hMYE9VUGk9mt1lzPzGygPxUU8hYC+wn8wzsgIGCPuOOMWvgHvj6DESLhSpMX5gU0b xrmQROxZTgNG/DrzZr/y/fQDQrSdAQRp+hjGPxXSr6tg47s8By8TzRIZW+rE4825Qt BDD869HLG5ZSS7Llcq37OqKRMqb2lqxRPpTQZWuMVWtHZ6F/+ivsA9o0OMSV86gSlp Dg/tZ++N9qPgwXnDLsoTlC0kj+21ZYjW5xvvXORRCjMnMLX5G5H/3y1ROda3Wix8+U nQIOsGiuxX8Gw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id E30F9678E7; Fri, 5 Sep 2025 15:23:47 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 5 Sep 2025 15:23:18 -0600 Message-ID: <20250905212330.354827-6-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250905212330.354827-1-sjg@u-boot.org> References: <20250905212330.354827-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: GEAWDBVRHDOQWASZPRPVPDZAEKKMO3KT X-Message-ID-Hash: GEAWDBVRHDOQWASZPRPVPDZAEKKMO3KT 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: Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 05/10] sandbox: Avoid use of ulong in os.h List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/GEAWDBVRHDOQWASZPRPVPDZAEKKMO3KT/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
ulib: Provide examples for building outside the tree
|
|
Commit Message
Simon Glass
Sept. 5, 2025, 9:23 p.m. UTC
From: Simon Glass <sjg@chromium.org> This header file is useful outside U-Boot, for the ulib examples. Also it is supposed to be a system-facing header. So using U-Boot types is not a good idea. Replace the sole use of 'ulong' with 'unsigned long'. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/os.h b/include/os.h index e5c524c57a4..dfd6e3c7692 100644 --- a/include/os.h +++ b/include/os.h @@ -291,7 +291,7 @@ struct os_dirent_node { /** * @size: size of file in bytes */ - ulong size; + unsigned long size; /** * @type: type of entry */