Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6030532imm; Mon, 23 Jul 2018 10:09:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf+AZJMmWl9w7jlhdPFEiEHiPjNbk6MinS+00+qOxBltXiA+iu/RgRtwES5u0EZ8UIUFlfQ X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr13693010pli.219.1532365784713; Mon, 23 Jul 2018 10:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532365784; cv=none; d=google.com; s=arc-20160816; b=MH8MSquI22LY7FPhUbh2su/atD/dZeor+/Vx9MLs4sqGyOCtbR5cFohG1fNj+Fq/PP ndGnD30dcX1K4VkIthDuU3T10GLNZnpBzt74bKg77rVMa85+ecU8V6Yx9Nl/lUt+sQkM yXXo9za2F/aEacdtOvnQsxxDyatGB+cdjLa9SZIVfVFQzTNDHLQzGoVrly5jNerqcniu 44WQmUFEfq0Ef4+8tI29JRwHnJbIlzo1W3bth0DP93n/OKwawo0RxD4Im7TUNCx2yke4 IKoMQy0FAVdqsAZ2jvAW1q22gIr8Qsn+RcX6dtf/kdP4uqx0gZtrI1qF01qzs78rhFML Qidw== 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:to:subject:dkim-signature :arc-authentication-results; bh=T3WvCznmAx9tET1JqyrE3eU50YVuYPxWbVmmaX4VHow=; b=uCw0QrtD5z5SXC0pLzSyDlUSHMLBc4oCer3UI3FQoSA1TstHRelBvBl7cpWURqEin+ n80DMACNDWWEYnC2yuTR8RkafIcVWvFAmp/o8m6T+GDBW4S7drxORaPI8Vf0KdKY1mvA EB0MQdg5Pa0+Nfzg8LpRZKUYDY6ykgtYv6i0KfX0FEx0R2kMXMT3ukY+172Hs8S/spNw VWl+NqDkKk+q+1pWh1WXRgksL6J+xojiYSUGDkRfhRMXPyIUZ+hUTWN0ugLUiK/ueWZy DbrfZme3FKuXZnHzs2tD1z9HUVIY4T/BWkJ+058t1m5SQESOjO4Xe9ucJuHMqZUohC2g 5+vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BTU0rhef; 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 x3-v6si8436933plb.478.2018.07.23.10.09.29; Mon, 23 Jul 2018 10:09:44 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BTU0rhef; 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 S2388891AbeGWSJy (ORCPT + 99 others); Mon, 23 Jul 2018 14:09:54 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:54484 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388200AbeGWSJx (ORCPT ); Mon, 23 Jul 2018 14:09:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=T3WvCznmAx9tET1JqyrE3eU50YVuYPxWbVmmaX4VHow=; b=BTU0rhefCndHdmKT7Ohs+WOeD bRkQpswCVaOYl/be+sarh6HJGeVdxBxhLx26n63fQje/pQXZo+VpI7oiXgVRAklHp2o1utg7lJcU/ ZcBnafiuJz/vmnON4B+vgV+1ll8Nyiz5O0BzMZ2fJjgtc0oSkIUNSVxVT3VENnorI1JmS1VvJAbRF Dwdn08tmVHMWaJ+7ib0/G0hfU1ne70EINKzGhZ4WXKcKMmx5NvXgvvzapmXVvP9C0WYP0DpfWbiUT K97wH7PuhlAoYfQia/we/sLgyubG/CfbxWVcpVWEoSxwNm+BdWaeyDyjH9SA4PS7EyFY+wqOSziBP WSwUzcgxg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fheJD-0004O0-Pl; Mon, 23 Jul 2018 17:07:43 +0000 Subject: Re: [PATCH] btrfs: fix size_t format string To: dsterba@suse.cz, Arnd Bergmann , Chris Mason , Josef Bacik , David Sterba , Qu Wenruo , Nikolay Borisov , Su Yue , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180717135236.3673195-1-arnd@arndb.de> <20180717150400.GA3126@twin.jikos.cz> From: Randy Dunlap Message-ID: <544184a7-25ae-55a6-3e81-0e1fa1e5cd1d@infradead.org> Date: Mon, 23 Jul 2018 10:07:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180717150400.GA3126@twin.jikos.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/17/2018 08:04 AM, David Sterba wrote: > On Tue, Jul 17, 2018 at 03:52:27PM +0200, Arnd Bergmann wrote: >> The newly added check_block_group_item() function causes a build warning >> on 32-bit architectures: >> >> fs/btrfs/tree-checker.c: In function 'check_block_group_item': >> fs/btrfs/tree-checker.c:404:41: error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Werror=format=] >> >> The type of a sizeof() expression is size_t, which is correctly printed >> using the %zu format string. >> >> Fixes: 9dc16aad5660 ("btrfs: tree-checker: Verify block_group_item") > > Folded to the commit, thanks. > Hi David, Where did this patch end up? linux-next-20180723 is still showing this format warning. thanks, -- ~Randy