Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3632107imu; Mon, 28 Jan 2019 08:09:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN7HEkTmgSPGZCuZTnkVGzqzDl/jWFnR+gxu+WMzwuQD5eljVRD1ap4aA9tO/r4yzGeFpLlO X-Received: by 2002:a63:4665:: with SMTP id v37mr20718300pgk.425.1548691744869; Mon, 28 Jan 2019 08:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691744; cv=none; d=google.com; s=arc-20160816; b=WZCje4gjz2ocnCBTcpqA8L/0Adrsn0lgXIM9bXSiEauHN0ZwEttAaYdowVWC9hDCO0 NO8YS7YXLXNW1zQJN8HXmUEZ9t6aBR48k2N3l3+oIAtQcSVxPpiX2tefQmht6Fj1wD0u YE34G08wkutjNyWvj04C7C9Db8RA42LqbJJiP9EfzA2dEHEruU/d+zma4O/2k6x5KXph aBTnwTBkR4aFHYhY2M0atUUtm5lvnB2m6txxQmpd/99Yn29/yco6f3LtShOuiZTlkCDd 2qKsPicoedDdLq0m91jL6yibWXytg+7PxLP1HwqZ/A5oQeQts3rRfiRk4iwKo0I4Grnt l4aw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f+V4LTwEcpraCEwSsDPgznX1v8ELY9e0PNiUgqX2uw8=; b=J/F3gxHcl1ztmCrhs/pGEuY+0tOLMn/dxeul/iKnSo7u/16CEVDTwYp659rpAg0L27 nAOEWcditDcX9oy6jlf7TSahR/JrRr4M+uX/0UyYNhs3+dSeEmwzIu/cbvRHIsY/bRK7 FqODuB4R80app1YchaioT59MYvIJc/IiPCul8mYsOg2o3Qdq4ukGx/0ggVAsRlcxunGb EkfM3d/kR1P3pzhZA6Ug8tLAqL3rrSzArUIWAecqllIlttAddxTT3m1MHkZDrtrqGaua AgeSTUXs17bJsznW1SU/8nRAhAYSHWdGYxCEBEoh35wiEIL1RiCbGZbezjfrYz3GyMAz wubA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vhPS5SoF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si31658461pgm.79.2019.01.28.08.08.49; Mon, 28 Jan 2019 08:09:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=vhPS5SoF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731902AbfA1QHv (ORCPT + 99 others); Mon, 28 Jan 2019 11:07:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:58906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730554AbfA1QHt (ORCPT ); Mon, 28 Jan 2019 11:07:49 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EF01D2147A; Mon, 28 Jan 2019 16:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691668; bh=L+U/Qe452Ci/2mkt+G6OhIBUTcJEZiJV1S+n8kYn2kQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vhPS5SoFUShBf1JUvdoS/2OUrdjLl/X6MTAEsc7sH4E+CMmBSOeK+j/OQePp0v7rh yRmS/CbbrFkWVx8iMRd3dOaQwVxeGo0KKWcZrhC8A09q8AfdCxwac4dWvYp5f8bsAE SPU8A07my9O9GTXoWW7WVpUNc5A0DEBNJhnWU7QE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnaldo Carvalho de Melo , Adrian Hunter , Jiri Olsa , Namhyung Kim , Thomas Richter , Sasha Levin Subject: [PATCH AUTOSEL 4.19 179/258] perf tools: Cast off_t to s64 to avoid warning on bionic libc Date: Mon, 28 Jan 2019 10:58:05 -0500 Message-Id: <20190128155924.51521-179-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo [ Upstream commit 866053bb644f754d1a93aaa9db9998fecf7a8978 ] To avoid this warning: CC /tmp/build/perf/util/s390-cpumsf.o util/s390-cpumsf.c: In function 's390_cpumsf_samples': util/s390-cpumsf.c:508:3: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' [-Wformat=] pr_err("[%#08" PRIx64 "] Invalid AUX trailer entry TOD clock base\n", ^ Now the various Android cross toolchains used in the perf tools container test builds are all clean and we can remove this: export EXTRA_MAKE_ARGS="WERROR=0" Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Richter Link: https://lkml.kernel.org/n/tip-5rav4ccyb0sjciysz2i4p3sx@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/util/s390-cpumsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/s390-cpumsf.c b/tools/perf/util/s390-cpumsf.c index d2c78ffd9fee..aa7f8c11fbb7 100644 --- a/tools/perf/util/s390-cpumsf.c +++ b/tools/perf/util/s390-cpumsf.c @@ -499,7 +499,7 @@ static int s390_cpumsf_samples(struct s390_cpumsf_queue *sfq, u64 *ts) aux_ts = get_trailer_time(buf); if (!aux_ts) { pr_err("[%#08" PRIx64 "] Invalid AUX trailer entry TOD clock base\n", - sfq->buffer->data_offset); + (s64)sfq->buffer->data_offset); aux_ts = ~0ULL; goto out; } -- 2.19.1