Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3331363imu; Sun, 11 Nov 2018 12:32:31 -0800 (PST) X-Google-Smtp-Source: AJdET5eBU9p9NrLHCdaBkAjWWiH8AaslNcXNMYxkNRd8WO4u9yMJivALXTUoxb0pjaxVvz9/AXq0 X-Received: by 2002:a63:3546:: with SMTP id c67mr7266596pga.284.1541968351838; Sun, 11 Nov 2018 12:32:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968351; cv=none; d=google.com; s=arc-20160816; b=WTTn0epKSQd5f1LMi8M/xB/77rVYQ5wL/YSBInoOiillrq91nSCqXV4WPYmZt6UI0x KINq958L34Hgs/m87hn6taJ79xHg4I7aSs8blIyu5YSBAo1VKVn8kcaZ5cxhWorZM5Ve n3fDqaea0F25p1FS4G/iZycbAlHGmvWW54wfDbD3ryiVMCgzfpQODat0KyEjLhk8JOcv uAV5aVRt6IUeUEO5ppYrp72HSDuXvTYAEfBSxgdHXpP1n3sUxq/1KRWMXg0vAxmp9qsN UqqwfogRZQKnYYTrj6kKpXmHYn58Gi/jBSE4pr/ublQtZ+6fKzsqC1nvXnGu+UFYeaC6 Ihwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=gItfhOrrWruSPR04+S7cJ0HUmB4ml6xpiQ8RgNzImaQ=; b=L8/08ypuaWjP060wgfOpS4i28hBhrsrl5j0gZDk08pmLLkQRbL8sZLVYxqii1liGFE WtgUwa5HR0Yi31YCdSKkndhZXIAAsirYOGjGZHw+FcIhbSxe9OxINJUplwAFOA1T4m5s c9cCbPlyOmcL0EtMMI4or2DS1fYwl4ZOviU4j816v6G0HpR42TE0CPQ2A3/YcPFzHdg+ BH+Oh7y/jap+6q9NzTGKvk0etB4Itq0uynLksq5fHdFG9yelueD1/mG7A2ojJWR3dLcH Z0L6r0uGBszy8sQ8K8iLpqsCbtWZFwalqYHimSvf61I9gzof4UU6PlQvf3qukI2M/lmh mhMw== 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 z61-v6si15500749plb.46.2018.11.11.12.32.16; Sun, 11 Nov 2018 12:32:31 -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 S1731203AbeKLGV1 (ORCPT + 99 others); Mon, 12 Nov 2018 01:21:27 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50298 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730363AbeKLFsS (ORCPT ); Mon, 12 Nov 2018 00:48:18 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvse-0000l5-CT; Sun, 11 Nov 2018 19:58:48 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsa-0001tj-Vq; Sun, 11 Nov 2018 19:58:44 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Adrian Hunter" , "David Ahern" , "Arnaldo Carvalho de Melo" , "Peter Zijlstra" , "Eric Engestrom" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 363/366] perf tools: Remove duplicate const qualifier In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Eric Engestrom commit 3b556bced46aa6b1873da7faa18eff235e896adc upstream. Signed-off-by: Eric Engestrom Cc: Adrian Hunter Cc: David Ahern Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1461577678-29517-1-git-send-email-eric.engestrom@imgtec.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Ben Hutchings --- tools/perf/util/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/perf/util/thread.c +++ b/tools/perf/util/thread.c @@ -177,7 +177,7 @@ void thread__find_cpumode_addr_location( struct addr_location *al) { size_t i; - const u8 const cpumodes[] = { + const u8 cpumodes[] = { PERF_RECORD_MISC_USER, PERF_RECORD_MISC_KERNEL, PERF_RECORD_MISC_GUEST_USER,