Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4031020yba; Wed, 17 Apr 2019 03:07:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4X9a0LhxNBVMXplqmE2cL5cXDKA/NuapAXr7o9AultP62bMjcWnWhN5row0rSSeWb2fai X-Received: by 2002:aa7:8b4c:: with SMTP id i12mr82271964pfd.189.1555495656616; Wed, 17 Apr 2019 03:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555495656; cv=none; d=google.com; s=arc-20160816; b=fQPwPMgKVE9jwneMFjDTf3VC+a3xqEaEoiW4BEfJX9youN/WZsey34/ioKP7n5Nddp oJnhvZWXxoUqSKR1Z29bhhn6A7wrH2Zcgj7JvDjnPW+KGb4jQSy715cLA/ZgCHwDeeo7 OQ8RBoO2+7KfUhhOCsx4RKmPknVaKWO1+78aOCuSQI6LVGVGpzY/vXHH3Y3YjmHUeG4d PDDPXnlbcWtR3arE83DWx/RWIT65P3oFRSHspyp352+GXfFRaZn1sxS98viti8Jy55Gk DOKExczCXKlKtXINFK6b/Eekt5P8CRbZLFZ4qYHktcjfA4vMHHvY2PfVGiYgSantyM7C GJ2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=kRaBSL56uDRraeMouj4RNZp2Zp7jaXj2wUCWDyax4Xg=; b=hDlklOOgazYczOe2KDqZEdMV/qjUJp+IjJU9/MqQyAwYTZmibIonmTv4nuKRZwyQos jw+tQXsA8690LBTY0iJb7vZcjOgsPqMZgb98g36vAaXFraJUu3eFmj1Juh4LL26kgouT fwGK5KJ+3/EZwpX1Tl/3GXdfC3XhqPSYnLTkGWhvTCqjR/OZwAFXfvRwwetwNop2khfa yk8j6GEABiSr4aTspfcQIfOKGUJPV4srX/PCYZHaaP945F3dNRSw7cSAUnOtuGVuppdG jJLjt3tt4Wy7auKESX0FkAC0izg1ssBNOvYrnskLODI807Yg49f6eroEqkKevAoVobmP Ezag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si1166043pgs.37.2019.04.17.03.07.21; Wed, 17 Apr 2019 03:07:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731762AbfDQKFe (ORCPT + 99 others); Wed, 17 Apr 2019 06:05:34 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:45662 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729039AbfDQKFd (ORCPT ); Wed, 17 Apr 2019 06:05:33 -0400 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id 4A6F8C364437082983B6; Wed, 17 Apr 2019 18:05:31 +0800 (CST) Received: from dggeme763-chm.china.huawei.com (10.3.19.109) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 17 Apr 2019 18:05:30 +0800 Received: from [10.134.22.195] (10.134.22.195) by dggeme763-chm.china.huawei.com (10.3.19.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 17 Apr 2019 18:05:30 +0800 Subject: Re: linux-next: build warning after merge of the block tree To: Stephen Rothwell , Jens Axboe , Jaegeuk Kim CC: Linux Next Mailing List , "Linux Kernel Mailing List" , Christoph Hellwig References: <20190417123125.3de22f73@canb.auug.org.au> From: Chao Yu Message-ID: <0879e11b-c84c-65b8-581f-bf7adcb5e231@huawei.com> Date: Wed, 17 Apr 2019 18:05:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190417123125.3de22f73@canb.auug.org.au> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-ClientProxiedBy: dggeme716-chm.china.huawei.com (10.1.199.112) To dggeme763-chm.china.huawei.com (10.3.19.109) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jaegeuk, On 2019/4/17 10:31, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > fs/f2fs/node.c: In function 'f2fs_remove_inode_page': > fs/f2fs/node.c:1193:47: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'blkcnt_t' {aka 'long long unsigned int'} [-Wformat=] > "Inconsistent i_blocks, ino:%lu, iblocks:%zu", > ~~^ > %llu > inode->i_ino, inode->i_blocks); > ~~~~~~~~~~~~~~~ Could you please help to fix that as below in your dev branch directly? "Inconsistent i_blocks, ino:%lu, iblocks:%llu", inode->i_ino, (unsigned long long)inode->i_blocks) It looks that we need to fix below commits as well: f2fs: fix to avoid panic in dec_valid_block_count() f2fs: fix to avoid panic in dec_valid_node_count() Thanks, > > Introduced by commit > > 90ae238d9dac ("f2fs: fix to avoid panic in f2fs_remove_inode_page()") > > from the f2fs tree interacting with commit > > 72deb455b5ec ("block: remove CONFIG_LBDAF") >