From patchwork Fri Nov 8 21:38:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11235647 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5588416B1 for ; Fri, 8 Nov 2019 21:39:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 27A8220650 for ; Fri, 8 Nov 2019 21:39:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NHg1GdIT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27A8220650 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WJl+BMMfJYxmKl7IADauSYvhjua/J1ru/rW5TzT5UKw=; b=NHg1GdITkvXYvN kh4QzJS1p14bmIlOj4FpZXCT5IPvbKZ4iEPvvP2kNJcs6uv2zfyLiI3iqG5TMqAVEb7d7ffAbW7E/ y+Q7oazbUHB532sbK/2CbBR6Ow/TAEmmRLWC/jh4YOrFrulgCFoKuuzQSI8TtPvj4c05HgYGr1rC5 IP65MWPZP+2iW6qjA9JFXtgfbokJ4jUHVDAezxgubxFtGGwtkXTx2fB18eRKeJoRa5a3lkAGF6TbQ /TnN0Y+TGxdcgkL9ILmjgBbmFzxgfAd79GVwaWnbmBmOYWDUWQwtn1LMsXudVJRuUXImYQyu3ARqM UyIfIFskR0HLdDzLlmyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTByG-0001Vg-LV; Fri, 08 Nov 2019 21:39:08 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTBy5-0001Lv-R8 for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2019 21:38:59 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AE87AAF7E; Fri, 8 Nov 2019 21:38:55 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: Qu Wenruo , David Sterba Subject: [PATCH next 0/2] btrfs: Fix build warnings for arm Date: Fri, 8 Nov 2019 22:38:51 +0100 Message-Id: <20191108213853.16635-1-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191108_133858_033765_F5620E6B X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Josef Bacik , Chris Mason , linux-btrfs@vger.kernel.org, Johannes Thumshirn , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hello Wenruo and Dave, This mini-series fixes two build warnings found while cross-compiling for arm, using openSUSE's cross-arm-binutils and cross-arm-none-gcc9 packages. Replacing BUG_ON() with btrfs_crit() error handling is noble work, but please be careful not to hardcode format specifiers for x86_64's size_t. https://www.kernel.org/doc/Documentation/printk-formats.txt In one case it could've been noticed during review, in another it was hidden through a macro and would've only been found through compile-testing. Probably a 32-bit i386 build would do; otherwise ARCH=arm multi_v7_defconfig plus CONFIG_BTRFS_FS should reproduce. It's around for maybe three weeks, so I wonder why kbuild bot didn't catch it. Cheers, Andreas Andreas Färber (2): btrfs: tree-checker: Fix error format string btrfs: extent-tree: Fix error format string fs/btrfs/extent-tree.c | 2 +- fs/btrfs/tree-checker.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)