Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4215806yba; Wed, 17 Apr 2019 07:04:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaRLk8kLCqUoGjgR81vtvLRhmNTvuKSI+oymG0TWRspIbCQaZANGX1cWvtar8DWKqCLmav X-Received: by 2002:a17:902:d24:: with SMTP id 33mr91228080plu.246.1555509874557; Wed, 17 Apr 2019 07:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555509874; cv=none; d=google.com; s=arc-20160816; b=wIGSbjVTIe9wf3zO9NqY5aMM+b2oyzJKfzUHV/pWnAheAwJETA7i8LaR5Ejie6tdSO RqwIuVmecIsuwDchx+XI6z9kQAiY8Lnpf2UlsznjhNjWknaBJiOGBDMv9WSvvofNK3Er MRvp9pGAQC2W/47wsGsIWMSjmYmfZyCVfgirBqot9a3bIZi8qhn0UZ1tgLZtBi09qLxx edFqYrEEi6qeEIJohxQ7RK2AWjSqIbibThxpndWNbaaRgTccsdS31da/1JgYm6wIvnM9 jofl2MAXgpX/oaqwrOG2u2sd9zLV462a3/eeJoLLOUe6Z9rzp7bt2O1DanHI4AsP31SH R6PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PhPu8N1gMFCH9qeq3H+CSwfa53p8exuNeCspdB1p7GI=; b=NtXla4nfZZP6rMSAYUhgtAaakB9tt6dE/+3OL00FLP7zFWAPmoXrAPRt1Xy44fgYOI KUddV72ecRwUVmEaPAzuCiTPIwlU/ZMXPAaEKQBrWHo9tDamPgo+ADH2pW1SMtO9EZfW sNNQGMsfDuSQckgd4zSHFRMtcDEvQJKDC/luMbsKelYLIsuwPWP4wEdblaxueQkT8xK7 K1xdYSVyAfDdrgBERAPLPMnT/H7IajneUjV62RZ4SSvP62BKkJonvMtiINA1QAPznKC3 sRbeJj0MqcGuCg+yHblHCsNzF83GdONkd/zpTULZcoayRuqIwUn1dltxdFQgyNcG21Tn FVlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JsM+1of8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i70si54094672pfj.236.2019.04.17.07.04.19; Wed, 17 Apr 2019 07:04:34 -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; dkim=pass header.i=@kernel.org header.s=default header.b=JsM+1of8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732391AbfDQODI (ORCPT + 99 others); Wed, 17 Apr 2019 10:03:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:57216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731743AbfDQODI (ORCPT ); Wed, 17 Apr 2019 10:03:08 -0400 Received: from localhost (unknown [104.132.1.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 29431206BA; Wed, 17 Apr 2019 14:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555509787; bh=V0N8zy66D8CvKfkyqjl6fAwZr2CrioTeUkCMWmBOoWA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JsM+1of8Xzd9edYyyHmkECPLynW67kxYIQEzgaf2HzHd4+A2/W+C3KguUe82/m9Ow IJXxm7LPQlK6eCYtXXvVjS2zFVZknvp6uaLkJe/cyRfVTfft6spUSs59fmxhbvjDlN ikpR8pg2IghKsQwJO2Ta2GU3RWEMBrlROsJMRCzM= Date: Wed, 17 Apr 2019 07:03:05 -0700 From: Jaegeuk Kim To: Chao Yu Cc: Stephen Rothwell , Jens Axboe , Linux Next Mailing List , Linux Kernel Mailing List , Christoph Hellwig Subject: Re: linux-next: build warning after merge of the block tree Message-ID: <20190417140305.GB23731@jaegeuk-macbookpro.roam.corp.google.com> References: <20190417123125.3de22f73@canb.auug.org.au> <0879e11b-c84c-65b8-581f-bf7adcb5e231@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0879e11b-c84c-65b8-581f-bf7adcb5e231@huawei.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/17, Chao Yu wrote: > 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", We can just use "%lu"? > 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") > >