From patchwork Thu Jan 8 18:51:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1348 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=1767898358; bh=bX3oij+PDRkE6gpxauhkf0ktslfRY923QmF02GWcfCs=; 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=TgZ2hb6L84uUs56JB1lwNP7fiYL2vzuRDURGPOPUjH+z0iu4AjruC4DPNxTWFtWoK eq1Qvk7NzRXskgntwKi9U69xAsz51Qgb+DIOcF4gwfFb9ozVI2IWsJJCFcW9tlv6IY w0u0ymFDd2M0ST7j1Q0wPksCHGwxKXRBiMOqjIHkxcUCiuOCO5EPDy1GdlKBTS4iI0 JrIHOpJQvz5WQB9xLbOyfBXJmwSc3EoqZwEC4yTDj6XgQLVDfHje4FIUJmSP2Nn//3 6FL9u7xNc4C5BaNxwz/VaE2WdJS+m8X4AAhYWcm2nDPtaHK+jFQewU7yiyE3/sOtrD xKTIuuron1+2Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AEA43691CE for ; Thu, 8 Jan 2026 11:52:38 -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 KYUOvxUyiEYe for ; Thu, 8 Jan 2026 11:52:38 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767898358; bh=bX3oij+PDRkE6gpxauhkf0ktslfRY923QmF02GWcfCs=; 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=TgZ2hb6L84uUs56JB1lwNP7fiYL2vzuRDURGPOPUjH+z0iu4AjruC4DPNxTWFtWoK eq1Qvk7NzRXskgntwKi9U69xAsz51Qgb+DIOcF4gwfFb9ozVI2IWsJJCFcW9tlv6IY w0u0ymFDd2M0ST7j1Q0wPksCHGwxKXRBiMOqjIHkxcUCiuOCO5EPDy1GdlKBTS4iI0 JrIHOpJQvz5WQB9xLbOyfBXJmwSc3EoqZwEC4yTDj6XgQLVDfHje4FIUJmSP2Nn//3 6FL9u7xNc4C5BaNxwz/VaE2WdJS+m8X4AAhYWcm2nDPtaHK+jFQewU7yiyE3/sOtrD xKTIuuron1+2Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9CC80691C8 for ; Thu, 8 Jan 2026 11:52:38 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767898356; bh=a2UGFJ3Jnfra3vkzOOhfTBTFa/xHGCaJ4ioATKXTU7U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sKul2adN+CyBypZWi3s4jvGmPFhdbeieES9dGdVkMHOy4TII98FOHMpvwkvJeFaoP OFm2WX2/ECa+/6MSMPi33og0Wa7Hme67SwJ1KUv+xPXSdV4ZVLrMY3sGjzTkEExqD1 h5uSB5y8BtJW4u6sZABNwfe3lw3dwhaI6wcFKZK7lfGr9Ezk0pmB8MaFF3C+D7zfOs 1EcZiNmREQ4p0MJ2yTD6Gci2m66HqDf2fE05Ro3wNTXq7oEhe8CGHHtqraSgZxa2EG Q2qeWlhXhDwGR7rN7CdgUNt7k0lena3pQsrSX/XkNQgW47AM/B1gAYRCK32f4qHxGX FOTTLfMEZ5gmQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 99AAC69057; Thu, 8 Jan 2026 11:52:36 -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 5Cu26MJb3DXS; Thu, 8 Jan 2026 11:52:36 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767898352; bh=jhq03zWxz018SnLTquknqwKDdq9U21QyEuZDcLqfWLI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J8QC+Demp91G6my7ZNlincB3E7pkqTr/zREBTFs4rl7w2BOL5kqUHX95Ahq0HpIj3 buPwOLnJLuQRUGSaJ7w0S8r99KzV1Dyvx9MmZYhPD67g/mw5fXeBD7EMPZklWO5aO3 QqMo5wljnGGxbmgMZkhxa2HtkySxV1gi5TGLHWfjAAW8qtWTJ+cYtTiwNOL95Zk4G5 xrh9r1Ze3AhZOyOiW5cYbNl6RDGCm0p7gT3glKnVpQ6vqDpOcS9PuWqYz4JQRDrBGW /aglKUK2a7wn0Zx+CDJBHI2PaSqxdxmFhUfW7BofHsr+hMidlO4/09aY42YGzZ/txT OY3z4YvFQ+fEg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 2F06869101; Thu, 8 Jan 2026 11:52:32 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Thu, 8 Jan 2026 11:51:22 -0700 Message-ID: <20260108185149.1995917-8-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260108185149.1995917-1-sjg@u-boot.org> References: <20260108185149.1995917-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: J7IJEVQZTY32TMXIR6X654NFDOWQD7MF X-Message-ID-Hash: J7IJEVQZTY32TMXIR6X654NFDOWQD7MF 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 07/21] ext4l: Correct type of invalidate_folio() 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 This function in struct address_space_operations should use size_t for its last two args, to match the ext4l code. Fix it. Signed-off-by: Simon Glass --- fs/ext4l/ext4_uboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 5676f76d4b4..21caecc2ada 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -1368,7 +1368,7 @@ struct address_space_operations { int (*read_folio)(struct file *, struct folio *); void (*readahead)(struct readahead_control *); sector_t (*bmap)(struct address_space *, sector_t); - void (*invalidate_folio)(struct folio *, unsigned long, unsigned long); + void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); int (*write_begin)(const struct kiocb *, struct address_space *, loff_t, unsigned, struct folio **, void **); int (*write_end)(const struct kiocb *, struct address_space *, loff_t, unsigned, unsigned, struct folio *, void *);