| Message ID | 20260119214846.3087611-15-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=1768859408; bh=71ZVKpHzBtO5U+M7L1tXXf3vaZIuCJkrTEMikGYYvkg=; 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=MFrbrtYfdbA2b9veEZ1nfde+2OoSIADKsrtOlGAhxz8w7jXgTMyIIbfr0zTgyYbWP RMHovC0cwqNyICFGt0KHlfju53r0rYm/BhzgZQ8PoY1R0awlzYZXg7ZsRH2bquDw5C jaRsmHGFMMBmqyp9ZCtR9Bx7Gry8QQgX+HSThFS37lT+60iSDtmmcj/YkTVuL3kn7A 9xImFAzoHkA+H/ZTPSVAuI5yzywDrZc0T+GJiIDBo4dKlaPFR9E1df0uh42oHQ4QoT nLOoNmNw2HHZUqq8QDeBcdo4MwgjlWTXMbLDLGh49ylMB8waU7MBg8HcusaBGrw5/B eXcnX4wWv/Pzg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4E81D6913F for <u-boot-concept@u-boot.org>; Mon, 19 Jan 2026 14:50:08 -0700 (MST) 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 fhiQmxIlC-3B for <u-boot-concept@u-boot.org>; Mon, 19 Jan 2026 14:50:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768859408; bh=71ZVKpHzBtO5U+M7L1tXXf3vaZIuCJkrTEMikGYYvkg=; 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=MFrbrtYfdbA2b9veEZ1nfde+2OoSIADKsrtOlGAhxz8w7jXgTMyIIbfr0zTgyYbWP RMHovC0cwqNyICFGt0KHlfju53r0rYm/BhzgZQ8PoY1R0awlzYZXg7ZsRH2bquDw5C jaRsmHGFMMBmqyp9ZCtR9Bx7Gry8QQgX+HSThFS37lT+60iSDtmmcj/YkTVuL3kn7A 9xImFAzoHkA+H/ZTPSVAuI5yzywDrZc0T+GJiIDBo4dKlaPFR9E1df0uh42oHQ4QoT nLOoNmNw2HHZUqq8QDeBcdo4MwgjlWTXMbLDLGh49ylMB8waU7MBg8HcusaBGrw5/B eXcnX4wWv/Pzg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1BCF669520 for <u-boot-concept@u-boot.org>; Mon, 19 Jan 2026 14:50:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768859404; bh=RqKm/7OMNWiLyMu+4/fFSHSe9aM1v3C2EbDEseY6lXM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eb/6BhJSJjyARmGiSMj29MLpergYNUrTKQPl2dASH9Nq3IJyXlj+vvHamHVK4fsBL nszlxTA2N0qjA9Hsq+d8jGhDhoIVLwMWXvgIR60HL3AhrioqGJTbHkLUvWiEdYP3vH 4fvPSR07nVcLO0oXIuPQp4TegzdjTkliA2Qbv72RvjszHfZL4sbXOLkCIG4jaNnUJM hmMZCv/7vu3ESy6c67V3E48tGmOzoHtrL6/6wDSPBKwxq/2dIvatIL0P2wVToNSoPe PQIFP81fkyRwak6IeVHw4GZ40/dPAdNXOpp41c4Utv8p74qIYvpF2ixWhrl+i4ydd8 ip736lwHjbQ8w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id EB65F69520; Mon, 19 Jan 2026 14:50:04 -0700 (MST) 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 zaVO_bcqxVaC; Mon, 19 Jan 2026 14:50:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768859400; bh=NWyz4dZQ0gENk8IeymMHGG8yxSaJ9p9p/eLg//wxJKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DlXPaMRKoUHuz5Msi/SDIvVDNZPTwYqproIUB6u73V/abKtfgcFVqotdhOv5EIpvV MxH25ZXd1UKXgAtX7Sj1Q8GAqiurWAAQiNyU4Q31GodAlgoNAHy408wQNOjYf38+mb ny5gOW9/yUz4JKt/hk+WNbMob5vtfThP8x7oE7hUDmUUzAVJC67gFpr8MDmbMhsu6D lx+Sq29NLOWo8mMwSKCAg3yizPvxaDkU4VgqbiyGnI29ixjd2MEkdlrg3spYVDa8gZ aPtdNhDkWdeuemzFGGgoHJExhVR4v/1peHgDGD+PCbPaiMMoDBomxhDGL/M0nhey6X 3Vmh+ePiRIl4Q== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id C8E426913F; Mon, 19 Jan 2026 14:49:59 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 19 Jan 2026 14:48:39 -0700 Message-ID: <20260119214846.3087611-15-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260119214846.3087611-1-sjg@u-boot.org> References: <20260119214846.3087611-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: AB2LLYVKNAEX545KQRNPRCB6AVXVB4PD X-Message-ID-Hash: AB2LLYVKNAEX545KQRNPRCB6AVXVB4PD 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 <simon.glass@canonical.com>, "Claude Opus 4 . 5" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 14/16] ext4l: Use existing linux/nospec.h for array_index_nospec 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/AB2LLYVKNAEX545KQRNPRCB6AVXVB4PD/> 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 |
ext4l: Move definitions to standard Linux headers
|
|
Commit Message
Simon Glass
Jan. 19, 2026, 9:48 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Remove the duplicate array_index_nospec definition and include the existing linux/nospec.h header instead. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- fs/ext4l/ext4_uboot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 484bd70222f..e617fc41e30 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -1334,8 +1334,8 @@ static inline unsigned long ext4_find_next_bit_le(const void *addr, /* folio_get - now implemented in support.c */ -/* array_index_nospec - bounds checking without speculation (no-op in U-Boot) */ -#define array_index_nospec(index, size) (index) +/* array_index_nospec is in linux/nospec.h */ +#include <linux/nospec.h> /* atomic_inc_return and atomic_add_return are now in asm-generic/atomic.h */