Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6704445imm; Tue, 24 Jul 2018 01:21:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfFRBLJZezg5OE0G3XZo3F1xwumFkUqHJgzr7cgeKjD3TymKeft1jEZaSaEuhlR/A5Osrmr X-Received: by 2002:a63:e0b:: with SMTP id d11-v6mr15487552pgl.134.1532420464891; Tue, 24 Jul 2018 01:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532420464; cv=none; d=google.com; s=arc-20160816; b=yKsiDFBq/XduaJEGKbYuR3IbiL6cDuriMfJxA93a1L5IGHhnfyTIJcFhGjUd2b9SeI oqiwpiIhABBDrE0J+5iY4E+Xz6q2NWqleBANm+naSVwpWcQ2+ZLriPEzsPQXp5L0Sp4c Av4TMMT+V3bnD2MkKLcoWYr+Ptte6mfrPvFh2aRBAtheszbj4Da+GT0ycgdHwo+hp7nh SL52P9MxDZz9nST9NOVFpTIPD0T61YZUGknJXOPZtdmxMeXFycDd8QLQoxV8oPxWS3Ba Z0VGW1HQdAFo6QypCNECOnrcs33NQk/P5RkkRmB10oidILDbJTLYLqohtcAhCd2T1ce4 5jQA== 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=v4yN3yODiQL8gBI9/8RTLuO27sc5Bt1K0BscACAao3Y=; b=t2FvLjfjPVP4QeAQiQGajsvRNQMgwKLfCvl7K5lNMSXKkCeLaL4e83WB5m8cRctZHQ /1/uAO6xuc6erCYUMV0bQpK0rIZ+JAWkSOocYZh+f7Z02edXmwhntpEg0itlYBo3CzYR mhTnvDKcRFQmVsRcbIwWfAvI5ASHSSz/7PyuL3IgJqxrOcSvFvbBXzfrRY6glVKvh+gH lWc+tXN6s3dg03GxUd4dGCXSNtQ5UQXODpVWSrXtiTewGk5s5d48pMOLAPK2agV4Upvb v83cVNqlQhBC+kqwNLSEazl0dJsdB1G00s38miDhvI6ImaL3O+NcnN2hDb2BwW+EsvUX ovlw== 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 g4-v6si9364515pgl.139.2018.07.24.01.20.49; Tue, 24 Jul 2018 01:21:04 -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 S2388858AbeGXJYb (ORCPT + 99 others); Tue, 24 Jul 2018 05:24:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:44464 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388461AbeGXJYa (ORCPT ); Tue, 24 Jul 2018 05:24:30 -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 76697AD5E; Tue, 24 Jul 2018 08:19:12 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 333A4DACF7; Tue, 24 Jul 2018 10:19:04 +0200 (CEST) Date: Tue, 24 Jul 2018 10:19:04 +0200 From: David Sterba To: Randy Dunlap Cc: 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 Subject: Re: [PATCH] btrfs: fix size_t format string Message-ID: <20180724081903.GR26141@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Randy Dunlap , 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> <544184a7-25ae-55a6-3e81-0e1fa1e5cd1d@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <544184a7-25ae-55a6-3e81-0e1fa1e5cd1d@infradead.org> 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 Mon, Jul 23, 2018 at 10:07:42AM -0700, Randy Dunlap wrote: > 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. It's still in a local branch, I haven't pushed for-next for a few days but will do today.