From patchwork Tue Oct 3 12:45:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 820877 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3y5zKV5nnjz9s83 for ; Tue, 3 Oct 2017 23:45:50 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 9284EC21F4F; Tue, 3 Oct 2017 12:45:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7D485C21C51; Tue, 3 Oct 2017 12:45:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0DBA9C21C93; Tue, 3 Oct 2017 12:45:41 +0000 (UTC) Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by lists.denx.de (Postfix) with ESMTPS id 72058C21C46 for ; Tue, 3 Oct 2017 12:45:41 +0000 (UTC) Received: by mail-qt0-f195.google.com with SMTP id 32so1768386qtp.4 for ; Tue, 03 Oct 2017 05:45:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=Zw4RJbyWrJH+M9stAt8GJlgSVbxN93uIIy2FoqePLhw=; b=Orxgn7vn5GZOL9iqVnI1bgn/XN9j4n6M2ZScdKfcJTZiKUuYaAxaWQhK5/RYMPNEk7 KTW1nab8Fb9qKENwirlvvksv7i1pI2Ln9EfuBElMV5MYRtzUH3P0J1kyPgUYauypiIr7 pO46wsCe6yisrO3S4Rak0Rq7BfSVIfKfpG8dsWeRgnRD7dFOkosqZP8mIUts+lDr9UtC 9zHS94PCIBZJxzoRkqTOSY2/V+jULy+0ctxjJLzJugxubGhKb0zdYoRIS3Vmrt6GLkDT cEPmWEZExyxVc8zt6VXcRgGCmiLowfhdmh+4CTfRadO6zY1LF39PJd+ytQuDpA6/6CCG Snnw== X-Gm-Message-State: AMCzsaWtXHQ+hhpDnPDGo0PJbJsLNo31o2VbdeYxyENpFXrHK9On4p+S 46hw7DjFlzxWpnUJ0ONuirH2 X-Google-Smtp-Source: AOwi7QBs5IBmvd0u9Z4B6HlikTZI/pwhKRGMmx1FJ0iw1WduCMbyA8Lt31APlBKjDPKLhMlev0bkTw== X-Received: by 10.37.90.198 with SMTP id o189mr1192274ybb.417.1507034739708; Tue, 03 Oct 2017 05:45:39 -0700 (PDT) Received: from localhost.localdomain ([2606:a000:1401:811b:cc53:5bbf:ba3c:c35]) by smtp.gmail.com with ESMTPSA id u123sm1655460ywg.102.2017.10.03.05.45.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Oct 2017 05:45:38 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Tue, 3 Oct 2017 08:45:34 -0400 Message-Id: <1507034735-8519-1-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH 1/2] fs/btrfs: Fix warning in btrfs_check_super() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" We specifically say that the last arg is u32, so use %lu. Signed-off-by: Tom Rini --- fs/btrfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 706286ee2d85..2529c2b3b6a6 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -147,7 +147,7 @@ static int btrfs_check_super(struct btrfs_super_block *sb) if (sb->sys_chunk_array_size < sizeof(struct btrfs_key) + sizeof(struct btrfs_chunk)) { - printf("%s: system chunk array too small %u < %u\n", __func__, + printf("%s: system chunk array too small %u < %lu\n", __func__, sb->sys_chunk_array_size, (u32) sizeof(struct btrfs_key) + sizeof(struct btrfs_chunk)); ret = -1;