From patchwork Tue Dec 30 20:51:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1120 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=1767127972; bh=hIDrgfXIpx7M3SdDjOBCRVG7RsBsLwBO3ORr9AvXR/k=; 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=h/0ULPH9Tu1y+jX0lkUtD7ZxFNVIJ6vYsr+uIU+EbuUtYizZwynS9FlQkSSS/njTs h1AX9B+cSPZ6azF3cqdkzLXjWHIf8mdyB62JGHc7e1CZGEtJNwsMhxd9knXoXcYCLf SBGDYFytrIB/DcRwFyWwa7Pi68NT4Da9J4FaC6q6XBBzDK1cWnfVvb2rxe8XAMpUdg ncQle67KHXa7wnXXU2r5rv3UTuE12wcfy0Rbj6BOAMndEAR9Agaznjwa7yPwsBHx7i bv0pM7WiYzTHuxA0muCgYeKiwUSJHTiGRqRNokRdbZ6WSCsNiyVpkb6vzqEuNJN68s 9tku1iTgt+O9g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 705AB68F91 for ; Tue, 30 Dec 2025 13:52:52 -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 WAV-0PEzwMzg for ; Tue, 30 Dec 2025 13:52:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767127972; bh=hIDrgfXIpx7M3SdDjOBCRVG7RsBsLwBO3ORr9AvXR/k=; 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=h/0ULPH9Tu1y+jX0lkUtD7ZxFNVIJ6vYsr+uIU+EbuUtYizZwynS9FlQkSSS/njTs h1AX9B+cSPZ6azF3cqdkzLXjWHIf8mdyB62JGHc7e1CZGEtJNwsMhxd9knXoXcYCLf SBGDYFytrIB/DcRwFyWwa7Pi68NT4Da9J4FaC6q6XBBzDK1cWnfVvb2rxe8XAMpUdg ncQle67KHXa7wnXXU2r5rv3UTuE12wcfy0Rbj6BOAMndEAR9Agaznjwa7yPwsBHx7i bv0pM7WiYzTHuxA0muCgYeKiwUSJHTiGRqRNokRdbZ6WSCsNiyVpkb6vzqEuNJN68s 9tku1iTgt+O9g== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5FFF168C06 for ; Tue, 30 Dec 2025 13:52:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767127969; bh=rn/Liv0Lb9fkQgXfQInp97bYqLSIbhMvIqs1z76QnwY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JjxE6Qff7pc/5BlAjN5bd0MoyWjhBZMW3MImQJfZlQVAn/2p/SYLS2Omy3wi894Od ZlyV8kx/NPO7RKZbiqkEmcQaIScwrQrsaEbGwoq95ZiEXipwwJIUgtieWv9PggKVbG //dmTHMFTWYf1MwlmlbkZjYTEgSbLELg1BU8tAaD6lOJf9EDZjNcAh0TZY8eE2qBPR fenvAUkHl4lK1PH1ua4jvNlQO9dLoMTj+irBAdF2hweSpdPUXr3x6IjMwfXqKlwKSD g7SLFAavuVkPhY3w9KsYxEFyV9+j9NvYHpN2TP2n6cYTSWEGPQQ8+LjS82n/FNaWbF fw2Xfnc/iVczA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2C9D168C06; Tue, 30 Dec 2025 13:52:49 -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 rRdH-mD6ohp7; Tue, 30 Dec 2025 13:52:49 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767127968; bh=ywpJC4maZM5ExH1D8BWDsOmGKaydBrMKL9catILbT74=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p27/EqTfbMiK8LjbdQTpTyHnmxz++FYnG28FQcuc9yTooNRI1beqrd131nAtpZhQt u4T5DkIMrtSka4hTMd1Xtv7p1JxXHu0eQfIzDF+XeKz1ukHmwFyALwU3GxJ8O5Y3d3 MI7a9FTOiKCR53w7AMbiOAA3YDkZkjQKKiN0D1dtk+uuTGGi8MPyhWUq0PD8ep/Y73 tzcyHhDcVnRIsCDvfQ4w+CMT1jedC5dHoHe9RqmGlLTAFQo0/pBZ/q/Zjg0dHIIcCQ 9IxvfRNEg6RV+GhCD8tlwG1YHwhCTs4H66SBJINb3gxYV4DPhNgBaY8Y+XHGIeRhqu HqukhnKRp3oLg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9821A64C8A; Tue, 30 Dec 2025 13:52:48 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Tue, 30 Dec 2025 13:51:48 -0700 Message-ID: <20251230205157.3383926-12-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251230205157.3383926-1-sjg@u-boot.org> References: <20251230205157.3383926-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: GXORKN5IARZYDREY72AECOGM3OFC7TW2 X-Message-ID-Hash: GXORKN5IARZYDREY72AECOGM3OFC7TW2 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 , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 11/14] linux: ext4l: Mark ext4_groupinfo_slab_names unused 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 Add __maybe_unused to ext4_groupinfo_slab_names since U-Boot's kmem_cache_create macro ignores the name parameter, making the array appear unused to the compiler. Co-developed-by: Claude Signed-off-by: Simon Glass --- fs/ext4l/mballoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4l/mballoc.c b/fs/ext4l/mballoc.c index 6b0926a597b..1d44d9b5cb6 100644 --- a/fs/ext4l/mballoc.c +++ b/fs/ext4l/mballoc.c @@ -409,7 +409,7 @@ static struct kmem_cache *ext4_free_data_cachep; #define NR_GRPINFO_CACHES 8 static struct kmem_cache *ext4_groupinfo_caches[NR_GRPINFO_CACHES]; -static const char * const ext4_groupinfo_slab_names[NR_GRPINFO_CACHES] = { +static const char * const ext4_groupinfo_slab_names[NR_GRPINFO_CACHES] __maybe_unused = { "ext4_groupinfo_1k", "ext4_groupinfo_2k", "ext4_groupinfo_4k", "ext4_groupinfo_8k", "ext4_groupinfo_16k", "ext4_groupinfo_32k", "ext4_groupinfo_64k", "ext4_groupinfo_128k"