Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2653368imj; Mon, 11 Feb 2019 06:31:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IYrZ+GQgxt3bQT6AiW3QgEshoNlAruXEXMKe6XfryX2RoIiBzOGpkDzEULOxE4fNugMjNya X-Received: by 2002:a63:1ce:: with SMTP id 197mr1844076pgb.47.1549895475020; Mon, 11 Feb 2019 06:31:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895475; cv=none; d=google.com; s=arc-20160816; b=QS6pdUdbBp9EwZ5Boj8Tj/X3Ystf0BE2cUicO/SbDcXC/orhuAEU6qxMwVc1/K6fyf U4sm1slagr1fWiMBxbgbwHivTuDqGHvIT5SJvF39PdyVMDfI4BFNGxx/cJ/4NEHf4YyT 8/rJNZX2LGQ24x6Eru2NuhfmWMmkaI0YeX/ayIVQAjieovXqoX+hQa6P53AzNKjhRXzP I1SO00qC7/ghruaYELkNM7DKmiMMbTt/crSzka5M5bY6Ntbgx/3eMrth3gbDYISZFWgx ssci6tja3MUGKntjjED6ZMOzQ74ETEYAYkYEB6fqoF7WV/WdZYbsX17C0PF52Cl7TunX jLkw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9LXQaKgg40EcBCOe9CWlb1GK16SbcLEzaj16Yz4rt20=; b=Y7dZ0XfZEhpltLTjZXIsFNgN9Ul4D83/f857AI4m4/m8HyRJ3UFef5aKHtIzFhmeBl iPMam7Idjz8QGhnAocYbwTr6i7/OL51QqPlgyiASpWUf7rQqNUo92QnKi61fNBvipqpx foJ0pefTO2PFwuck5BjKPoaAZIhqF//NLWPIyEhM9wF6UibJwmbb/U6+/y9ewvbQ+2RZ fGvIXdgnwd73uRb++5EPE2P/3U1HTgCFMZZXTMiqQkBl5DkV4IyhBySWSsTnsmmoXpP5 uaVCeB1ZQvS9eJItPZUrrow4Ht068Jk4On9gciYD5ZHri2nUUCWw7GL5G3EouXksY167 pyZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FTFrA48a; 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 o5si10257055pgs.497.2019.02.11.06.30.58; Mon, 11 Feb 2019 06:31: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; dkim=pass header.i=@kernel.org header.s=default header.b=FTFrA48a; 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 S1730135AbfBKOac (ORCPT + 99 others); Mon, 11 Feb 2019 09:30:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:36948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730130AbfBKOab (ORCPT ); Mon, 11 Feb 2019 09:30:31 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2C6B320675; Mon, 11 Feb 2019 14:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895430; bh=Or31T78x63lPIONTkxxEHPUisIYBzdDj5rkGtCtHwQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FTFrA48aEMJr8H7HaZx4ImPhkcb1c/2RijUApK6C15yCFkdz9gDlbjGuWMUsUOZ7A CAp7Hc/EKxa0RrE6SApuojhS1AdO9boGnwp81FfwulfUElECdYiwSFQ6o1X+NxLZfb W5DG/XUGJiF2dSFS2Y4PxFlvxDQjVs7mMMttwk/A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adrian Hunter , Jiri Olsa , Namhyung Kim , Thomas Richter , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 4.20 202/352] perf tools: Cast off_t to s64 to avoid warning on bionic libc Date: Mon, 11 Feb 2019 15:17:09 +0100 Message-Id: <20190211141859.996435371@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ 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 a2eeebbfb25f..68b2570304ec 100644 --- a/tools/perf/util/s390-cpumsf.c +++ b/tools/perf/util/s390-cpumsf.c @@ -506,7 +506,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