From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15E60C433F5 for ; Fri, 8 Oct 2021 18:51:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE45F60F5A for ; Fri, 8 Oct 2021 18:51:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231308AbhJHSxd (ORCPT ); Fri, 8 Oct 2021 14:53:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:42100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbhJHSxd (ORCPT ); Fri, 8 Oct 2021 14:53:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF3BD60F5A; Fri, 8 Oct 2021 18:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633719097; bh=bMjGqLqVphaBvB93a4fPkcU4DQYdJEtiwJUIy4Vw/+0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e4DQWw+FrVhDMOUuxv3ibEBdQLWRhLaR8MfEscHLAAnI+rWiGNZhY1zeYOfUuS0mp ayzJTtETnG8lXA7sVkliTmaoeogUm8wQdEwGwxb3iYzsW6Wbz/iHd1k8cv/N2orKVO X5u7F2sIiBifw/QI1GHwJGyPINnmkHxAQER0Gy9dkxTLyWApSAiOvrwckB0GxrxH4+ PTCi/mTu+9ekZMi6K0e+bdoKtM8gHLtSdbHxw9vL4vAasG8CC3tbZD3EfsAFydMaTd NS/BBO/R1poj/6tGdop1blEVOIYUqwXfLnhJ+go7tpL68J583m4bdcGKT6gaS5PQAy HFR7cWpEeY55w== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 601F5410A1; Fri, 8 Oct 2021 15:51:35 -0300 (-03) Date: Fri, 8 Oct 2021 15:51:35 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Shunsuke Nakamura , peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH] libperf test: Fix build error Message-ID: References: <20211006095703.477826-1-nakamura.shun@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Fri, Oct 08, 2021 at 03:09:03PM +0200, Jiri Olsa escreveu: > On Wed, Oct 06, 2021 at 06:57:03PM +0900, Shunsuke Nakamura wrote: > > In test_stat_user_read, following build error occurs except i386 and > > x86_64 architectures: > > > > tests/test-evsel.c:129:31: error: variable 'pc' set but not used [-Werror=unused-but-set-variable] > > struct perf_event_mmap_page *pc; > > > > Fix build error. > > > > Signed-off-by: Shunsuke Nakamura > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo