Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1102024pxa; Thu, 20 Aug 2020 02:30:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwc0iiAQvpaw3NaD2pZxtsnp99OLAlPLru+mFRPbcjUCl9Li8t3AQOvZh0NjRCGnRDD14nx X-Received: by 2002:a17:906:48c8:: with SMTP id d8mr1097515ejt.331.1597915815631; Thu, 20 Aug 2020 02:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597915815; cv=none; d=google.com; s=arc-20160816; b=K1q1rKg3z56LdxwnhSFFrPekUBMwFQAnTlv8AKj5tYQ3nXBAOMzSHmtysTBDGCWXEF 3LDakxdqPmFOJ4RJ8yfTdHsZ+F6l04+fhUkhXvftyr2PZm9yPRQqm9/wht12Kqmcg/78 Ovih+wulYLMSUJdjNvLTkY8wlWjRcc5ARKVo0lK3VUJdTWQZSLmJr2KlWOjoFaRdlmCz R1XTJAXF3MuDle7FJVCcf1ZmQEfR2yAO/zl5dzs1LbBGX1ougU1WOXK/vKt7s5y4r2MB Yb7SUE7gVbSvyxeNkHk4PVUMsVfq8KVK9NVt8Zd/Ga+YKNfsMN+OnCN48uFT2G6Q9o3a wl0g== 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=zGimde/bDIbIu9ru5W5wtywSpu9wqdo6V4yTqe66vPA=; b=x7XgNPNLXIjq+SPpi3KmFfdAINAZu7A0N3ZCVU+hWWwN2o7hGUM79Q9fY6ppf1TO/k xxZM6dC/fU7hPJoE2VuH+EE3fXTPruD27OWcxU2qJOiYEfU2k2Hqd/kgvV3mNFbOIXGg 9cI+gdpMwRJUGysogkosGbBH0Hgl9nzhYqoVeqWx66rvIRPJ7sjDof9/wfnS9wjp393F V5/xzEcdW9gfP4KgWSWRTBL91ySHAsnhfVLHPpeSLxOF1C11wF6ZcNTHI0jeCEwTLHq0 KhHIDqUyVIWhH/RdBcpmEGE5ZF0DAHtQEhxoZ2xfJocBU5LVzApWI6amDtpH+WAS1Ndm rRzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iovHvmkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx1si832685ejb.520.2020.08.20.02.29.52; Thu, 20 Aug 2020 02:30:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iovHvmkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727872AbgHTJ00 (ORCPT + 99 others); Thu, 20 Aug 2020 05:26:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:33352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726132AbgHTJZs (ORCPT ); Thu, 20 Aug 2020 05:25:48 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 385FF22BEB; Thu, 20 Aug 2020 09:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597915536; bh=FIUM0NKdIHClkIpShLsvi5SG3eLwROH51o+dhKJGRbA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iovHvmkRiKyngeOQInEDumritsStevbtWgAZfZFbk/VH2PLNTSmkCwgkBJvFvySlF bH+WW+GVgoc9MheM5mnpGHVcUm9u1AJyMrl9ihBCmQXgx/YnXoLCNDxBO+nMnRYU3E BY0n5PuEV7yAKHEgQJfjEZY6PLNXTIiQIF93+zjw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Max Filippov Subject: [PATCH 5.8 048/232] xtensa: fix xtensa_pmu_setup prototype Date: Thu, 20 Aug 2020 11:18:19 +0200 Message-Id: <20200820091615.109034487@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091612.692383444@linuxfoundation.org> References: <20200820091612.692383444@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Max Filippov commit 6d65d3769d1910379e1cfa61ebf387efc6bfb22c upstream. Fix the following build error in configurations with CONFIG_XTENSA_VARIANT_HAVE_PERF_EVENTS=y: arch/xtensa/kernel/perf_event.c:420:29: error: passing argument 3 of ‘cpuhp_setup_state’ from incompatible pointer type Cc: stable@vger.kernel.org Fixes: 25a77b55e74c ("xtensa/perf: Convert the hotplug notifier to state machine callbacks") Signed-off-by: Max Filippov Signed-off-by: Greg Kroah-Hartman --- arch/xtensa/kernel/perf_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/xtensa/kernel/perf_event.c +++ b/arch/xtensa/kernel/perf_event.c @@ -399,7 +399,7 @@ static struct pmu xtensa_pmu = { .read = xtensa_pmu_read, }; -static int xtensa_pmu_setup(int cpu) +static int xtensa_pmu_setup(unsigned int cpu) { unsigned i;