Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3646485imm; Tue, 17 Jul 2018 08:07:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd1FrP5O7mQTqKFCZaApRMmpOdKNtbW8OJXEtN/NlMwfnf0F8/vOspEtvtWiJh+akhH8k68 X-Received: by 2002:a17:902:aa8f:: with SMTP id d15-v6mr2042322plr.64.1531840031720; Tue, 17 Jul 2018 08:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531840031; cv=none; d=google.com; s=arc-20160816; b=K7JtfBWL/C4WgFhUO6YSSDE1yC+6J3RT72KdpMlzu2XM69t2+5varM3C5ZABmJ81r4 0DxZk/DZYs63l6WSceMlxUbGqEiLBbiKBmn25p9EausbhcPf10zwPapchSkT/GxnQwTW iBq/CjMw0pu7Q+ClBzAvjsJF7tsBxllb+abNKsWhxvk0H/IyoLoMHy+RquMgWcEwzLkj 9PqOt9ozbaVVlxljIHYcjd+wOlr8MCwW+ngeLxeqnxDXATA/U+xmhllIdR/NGhWm0dS9 AuSZcZ9lPwDmAY/0Fno+p1iUzVr6ySKF6H48fDOSRqSax3OSTptunWNC+BJEqp8i9rJ3 ecFA== 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:mail-followup-to :reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=fizAT3VSnWfVvxcSxQ8vkSOSxLDNQzVlkGLm7cOuhyE=; b=GgHj7FEms+hDy8dSa5Z23mKlV4HrU7pwcEN652xlLYLNayY4jbe6dXMRgRKK359VnI JflOxu+6t4J9CP4XdsdKTvPlPDqM/SFaVKpYo6WcjKEFoST2N3Ac1KTDe1nhp54PG6OR R3r/Zr4Vmx4BoOmtNr8jWnkRZF8U/drzH6TPYbQ3vjMVn59+FAlFFhdqS+sZfU7+LU2V 0H09Sj9QTEVTOhh+54ONphYIrhNzUE5rzg/k0+LW1P1+h3hq5jYPgB7447l8r+pZzC3L ECB9L1BCEr8x87Pe5TwcbHS+v3P+NbdenXJDMmSOBjn81lMJUs5r+1KSb6nLpD0N73Pq UdKQ== 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 o32-v6si992940pld.440.2018.07.17.08.06.56; Tue, 17 Jul 2018 08:07:11 -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 S1731902AbeGQPhN (ORCPT + 99 others); Tue, 17 Jul 2018 11:37:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:54854 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731737AbeGQPhN (ORCPT ); Tue, 17 Jul 2018 11:37:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E87D1ACC3; Tue, 17 Jul 2018 15:04:07 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 546A7DAC97; Tue, 17 Jul 2018 17:04:00 +0200 (CEST) Date: Tue, 17 Jul 2018 17:04:00 +0200 From: David Sterba To: Arnd Bergmann Cc: Chris Mason , Josef Bacik , David Sterba , Qu Wenruo , Nikolay Borisov , Su Yue , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: fix size_t format string Message-ID: <20180717150400.GA3126@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180717135236.3673195-1-arnd@arndb.de> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.