Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3075583ybx; Fri, 8 Nov 2019 13:40:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzDApDL33hGUwM8K4YXwN1hyNGxXLN8+j0GPrI/jLDMxqT0D3mi6eXtW/xzSImyJDzH3t6Q X-Received: by 2002:aa7:c303:: with SMTP id l3mr12555592edq.89.1573249215898; Fri, 08 Nov 2019 13:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573249215; cv=none; d=google.com; s=arc-20160816; b=KjyYka/wmefi+aHfuS3lwZydIhvjYDKuNIwSi/mR/NMmrfKs2sOetIcv/q1+ADaOGt pZB+onNZmAtjaGlFMsZbv8ff1wB2ChVvBjkJA5jYy3bGLAvZxlJ5o8f1407FrnMJlELv 6VGDVvokJ3deYzVh928brFjQc79sYuYUyO6lrn30+P8O5ylIvAsztSpktwfCCWO787Iv mdMgkYI6NoZYi/k1zs/ripAczDSxrOnWbyRb1RKG/AQgQnk7ZyyQhWBX20A0vZyE/Uf0 9hExiSDhPdPpUnzXr44HoSl+csu4/5Q+WN+WhBOjuoDbs1yUFIg2neuxSDjnNe1a1GTo fLaw== 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:mime-version :message-id:date:subject:cc:to:from; bh=KqXDc1QAP4bOU+ncCLA8kLq8yecEzYrSiYvrTUQT0Gc=; b=I3FLc57tEIxZBOZtW+jq/bMNSNJ2/7fyq7HPrjWQHH/2dTYWU4Go+ilVWv4KhQfzvQ hZEDyO09lQGl2jNrh5/LybJjLND4e5pTjW2zRCnZDZC6UvArID/AF3p1ilMXOoof1uTt +N4sd4ei6ZhGGqRenhxNoHeRcx+WpjEfcUfCey0mz1AeN+LMOTBRll9J3JY4QHngo4tm cA+2LGLqbVdWT9AWVHtmu5558q8JfcXVAusOs6mDnbA/dDJ65IBS5y7NoBemEox0XkA4 mijrPkYcFK9B2+X6lydgDb1gt9KuCr+etQzaojh+T88GPhiwwK1sLrDXZVB/xwLyaQ/r 8Zng== 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 z44si5748156edz.211.2019.11.08.13.39.53; Fri, 08 Nov 2019 13:40:15 -0800 (PST) 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 S1732145AbfKHVi5 (ORCPT + 99 others); Fri, 8 Nov 2019 16:38:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:45836 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727768AbfKHVi5 (ORCPT ); Fri, 8 Nov 2019 16:38:57 -0500 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=20F=C3=A4rber?= To: Qu Wenruo , David Sterba Cc: Johannes Thumshirn , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.16.4