From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A229EB64DD for ; Tue, 27 Jun 2023 15:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231830AbjF0Pw4 (ORCPT ); Tue, 27 Jun 2023 11:52:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjF0Pwz (ORCPT ); Tue, 27 Jun 2023 11:52:55 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56199297D; Tue, 27 Jun 2023 08:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=F0YkNdNP4x/79Jg/HNWkUQMe3owuqwhhtLuSc41VQ5Y=; b=qoGyPe5VPadHN0hptR04XWwCM+ VpQ+9KpV91do6qeKZRjuFlELUhr25Kcv/oA5ru6SB18GxM4BIxx5VrB4f2N9hDjOEj2y4VaUHQ/XG r8P7bfLGbEGcK7mH8Xo1ynQBshg1xClg1EKFocDXNf5KiH9xCIuXEWA1aPMy932Tl+uZHX5Z6cvcS 8K983SPFd/e8hawOFSQq5K2boxKAhSF/8G6dN2616V16b7pfokpgNOBbq6e5mIsc1mF0AM1H03oGe y2CL94aOrZwN9kWf9mc9oqxLefbetxwb1ZZGfrsLQAUS4FdbeGZB2FAazn4cl2nYdZYqR5dA3CsPw nRErmeRA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qEAzq-00DZba-1O; Tue, 27 Jun 2023 15:52:50 +0000 Date: Tue, 27 Jun 2023 08:52:50 -0700 From: Christoph Hellwig To: Lu Hongfei Cc: Christoph Hellwig , "Darrick J. Wong" , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com Subject: Re: [PATCH] fs: iomap: Change the type of blocksize from 'int' to 'unsigned int' in iomap_file_buffered_write_punch_delalloc Message-ID: References: <20230627100325.51290-1-luhongfei@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230627100325.51290-1-luhongfei@vivo.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Jun 27, 2023 at 06:03:25PM +0800, Lu Hongfei wrote: > loff_t start_byte; > loff_t end_byte; > - int blocksize = i_blocksize(inode); > + unsigned int blocksize = i_blocksize(inode); Please keep the existing alignment of the variable names. With that the patch looks good: Reviewed-by: Christoph Hellwig