From patchwork Wed Jan 14 22:56:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1507 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=1768431472; bh=1DzLU6Y7gW2Rx3p7z8e7aa2xGfz9avEuqP5Ijg15DW8=; 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=sWz+ZE0CUETLahSGE8V/bIxV74O22kOC5FhXSb+TQIxn22GUAHhZtNxS/IJqMLxDC xaQZtQcx8oeSE9oi3BEp5qwPsCwc4JAj6mN58RzkN6PDDcuxFW16Oij0mfLvwTujca hx2dIVSoDMUMMk0E5kf+GAnwNuC2dQnA6pjhCco0+v7pqnKSzqvjKa+203a/RJn5S/ eP6PPRvJuNehXoK3PVqRlgTVGd3CHbjS8p5D5+8AKKBYB+4kB7fRdDEz2E8ucR8mYh sbE7j7leUjnRADKlIwixpkD3QFxs4g9aSoYz7Flln2BETv8nSol0bnBrxbwxcyQA1e iGJv9DOTN4y+Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 93F206935F for ; Wed, 14 Jan 2026 15:57: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 NGPT9a0YJQzh for ; Wed, 14 Jan 2026 15:57:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768431472; bh=1DzLU6Y7gW2Rx3p7z8e7aa2xGfz9avEuqP5Ijg15DW8=; 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=sWz+ZE0CUETLahSGE8V/bIxV74O22kOC5FhXSb+TQIxn22GUAHhZtNxS/IJqMLxDC xaQZtQcx8oeSE9oi3BEp5qwPsCwc4JAj6mN58RzkN6PDDcuxFW16Oij0mfLvwTujca hx2dIVSoDMUMMk0E5kf+GAnwNuC2dQnA6pjhCco0+v7pqnKSzqvjKa+203a/RJn5S/ eP6PPRvJuNehXoK3PVqRlgTVGd3CHbjS8p5D5+8AKKBYB+4kB7fRdDEz2E8ucR8mYh sbE7j7leUjnRADKlIwixpkD3QFxs4g9aSoYz7Flln2BETv8nSol0bnBrxbwxcyQA1e iGJv9DOTN4y+Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7D1CB69342 for ; Wed, 14 Jan 2026 15:57:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768431470; bh=sSm3k49y/6MkpxYic8RWlsZAHVLo8cP8Wb2LvE9H7lA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UUATGuRC8n5vGwlve0Da2aIJgJ/MDeGhNzzOoOrJ7GN8X4IDSQ4wrgvvB5EnPI9cW sQxqsXLpIAOz3xcSM8p588c2QxPtKjicPDuVnaK0cPOazN3SM2I9yNizqHgAlExSLm 9WwhVid3e6TUpT7ARNUUXdTSQux500MPh3FNitCP9t9bVjTWV+lWnulQHgdsu8RwE2 feWT9/8uCFMBd1HKLDm87Qe6nRHQ0wE7TSzDm23SUoTdg3KLH+QolcyP01Zx8dfIob YFdxTfhyS7dgG9nw+VyF+5MdEhCMd43ZGCqMDIHS9qm0/cqQAqdGXCmdp1WI/FkvGi xOu9unovODxAw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9243B69342; Wed, 14 Jan 2026 15:57:50 -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 SsA7QPD8uMue; Wed, 14 Jan 2026 15:57:50 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768431464; bh=bH870bpLtHfTkcEQcIjJH4CXL+Y1uk9JzTXBdO+TkMU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RvT+3diRtAVv0gfwCQrsg0b/6c22dZ0Q0JZlFGCnAV/00wB9WHoh1ZmZ3pP7CrFPw VbIollaBwrED538qu8SRj5n8NA3RXJkbEl+Jm/QC2KKaAYChLRfb7S5fcEzyDsSs4H b4K3TTZdatHLH+19/hlNc/50SBFOegLfGSH4kUj6LusrBjagYGRMshW13Ga5Wt1SQZ sn05zZEKRYmUo7f6ZHKO22KkfEensSK+kD674h8j9xlqjSgC88T7WOuB0kyxu4dao3 wr2MGrVSELeih0L71bFrAcIcu9/RLY+X1XdoOAcx3hCpzaaGmKLvd/0WZP2CKO18f+ ZYn+bHlsWGAxQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 31E89692EF; Wed, 14 Jan 2026 15:57:44 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Wed, 14 Jan 2026 15:56:03 -0700 Message-ID: <20260114225635.3407989-14-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260114225635.3407989-1-sjg@u-boot.org> References: <20260114225635.3407989-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: Z7YOXETZDQEOLBFSD4GFAKG7ZT6TFMFN X-Message-ID-Hash: Z7YOXETZDQEOLBFSD4GFAKG7ZT6TFMFN 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 Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 13/34] ext4l: Remove redundant forward declarations 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 Remove the forward declarations for struct inode and struct address_space since linux/fs.h is already included earlier and provides these declarations. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- fs/ext4l/ext4_uboot.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 166768985b1..e09f5c31ebe 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -166,9 +166,7 @@ struct lock_class_key { int dummy; }; /* File flags */ #define O_SYNC 0 -/* Forward declarations for iomap_ops */ -struct inode; -struct address_space; +/* Forward declarations (struct inode, struct address_space) are in linux/fs.h */ /* Page types */ typedef unsigned long pgoff_t;