Message ID | 20240220054513.2832-3-W_Armin@gmx.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-72358-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp209103dyc; Mon, 19 Feb 2024 21:46:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUnes3+Gb8MLinSTXdx22lZycmN/iABOs28rdYx8elF82r4qo5zLnelBGbKStn/8pdDMTqH5hs57nSsajh+cGQPtL92Kw== X-Google-Smtp-Source: AGHT+IGJhtscE/KpNlmlY054GsFzWQpIaDT16WqgaFl7xRgyMwUoESycmmTBNiWAApRr9q/RvQ7H X-Received: by 2002:a17:902:e543:b0:1db:f15e:671c with SMTP id n3-20020a170902e54300b001dbf15e671cmr6126288plf.40.1708407971882; Mon, 19 Feb 2024 21:46:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708407971; cv=pass; d=google.com; s=arc-20160816; b=o3rw7VfqhVpAdFpaCyXrNVwJ3QRFgWNfLWB/ACek7b/s4gMJWPIX0EwvJJZpFqRcMs HH/osChOMQ75I4oYkzrULusAP91sJuO3V9+UKG2nEScdelBOAJfFo8u0GSBN/0ZthezY o4yIRrKvghLMVgN0BjMW6sAZ/Ez+P7c9vRmWJOBcmRtz7J0bmnP/YIl+qJ++zYr3bQuj QkT1VC3t1lBmbqPmUFIzUeOBA60cq/J4WrM8VEY+hWboBEoJhWYLrlXFlL1wH3Ahz5M+ WwWx0QAwOrCY7Wx8ZQfAarXED6eG+6HuMCBlBCgW2aH15SOEj3fFWpUBmFolt1EoR7p0 UZdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=eobAWH/CQ74AbdBposfF5jZqxo/Sl7vEIa1ZDCK8rNs=; fh=xt+np4dF0xGbpP4oQizzbfrKzEKFlIEn9yOJU2r58TM=; b=qK6m13rdx7jS71uEE9pL08HuqC/JLgdRDFbJ0eW6kEWdOHKGXMIL+DKZhSSPkJcwg8 CDIPEbRP6PYcOaFxl5t7T0yjH57H92sj+xiIrnjvuryVEUf6L2ZsU15A3IMoxTRUOOXY +aXjpTS0n6oAdD0IRBUWyxv1mjKKVIXlw1fME6w67cEPtbUgsrMjvQCcFMf5cBm8/sil uip0ZRdjGY7rOfURMUrjiiImpYWtpyrkVtYQNkHJjgpHmf1VZ1P3rxEd4vkpqMdK/fVz XOnPaWMQoI4DYE9udwcCpegvm+r7ogFw7AI/NqTZvVp5V2lZ6oLG0dpQTndLyM4VZXyC Worg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=mJ5GA+eF; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-72358-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72358-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z6-20020a170902ccc600b001dc0d1fd92esi1346982ple.229.2024.02.19.21.46.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 21:46:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72358-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=mJ5GA+eF; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-72358-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72358-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E992CB21896 for <ouuuleilei@gmail.com>; Tue, 20 Feb 2024 05:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACC9B58ABE; Tue, 20 Feb 2024 05:45:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=w_armin@gmx.de header.b="mJ5GA+eF" Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1B7556B9F; Tue, 20 Feb 2024 05:45:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708407935; cv=none; b=p31RYLJZvFyEiLlfd8sZyKcsR+DBTEkO+PKVqZish/qXPNdrNoPcoGh+yPjzYrvFiPtigMcfvNT0KOmQ1jF0opQNijOlF9Re/YdJeiX5INPjLumz0nh3W8OoxWpyY0ojCOjjc4tF9CJRaqs3Tz9SVEDG9ddN08wAKlDQF1X6xD4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708407935; c=relaxed/simple; bh=eobAWH/CQ74AbdBposfF5jZqxo/Sl7vEIa1ZDCK8rNs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XyMVNfDXPHbNePhMPu1GFbCboZD1r9a5ib0Vpb3IwQ01pCNI3vTV/XadlB6HAPZ7K8Y6oqixLE2XDFKDJbRHLZEJTRRfde03vVrqMS60FJXz5VJKQOUk3ByJFxXSrGgSxNN1e9kY4EIbLYBhzzENdMsang3W0AMGfHTSRqDmpEM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=w_armin@gmx.de header.b=mJ5GA+eF; arc=none smtp.client-ip=212.227.15.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1708407924; x=1709012724; i=w_armin@gmx.de; bh=eobAWH/CQ74AbdBposfF5jZqxo/Sl7vEIa1ZDCK8rNs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=mJ5GA+eF/fBfSmgGh86TH5ksk1Z8QTD3RXe+4w7OBQDUAxtTlHuk6/cYhkNQgXYW 6QDhUOAT3uz735VMktpWMiPpGQyQZeIaAvu8ummMh0FpW81xxsQ+TKeagq/TFcX3Z pIBcDKq/78AFxwqtkTSECjUpzqq2ILa817bM+5AAVh4GXTBwnp3N1ckoPTjn5zi3b QAdgff7W/+3ytQqQXl8mJFzN2cR1PaBAXu4pJRqsQMeBe1kDqqyAj+jbC2qUOCQXf sirIrnuH+J3JOkps5xU+kMmr3Da21sVCEWxaMrcU+lnRVQ1C2XlvH+MqulPBMz6UB +GLWVX5YrHYkSbApSg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from mx-amd-b650.users.agdsn.de ([141.30.226.129]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MgNh7-1r0k8K3i07-00hufC; Tue, 20 Feb 2024 06:45:24 +0100 From: Armin Wolf <W_Armin@gmx.de> To: Shyam-sundar.S-k@amd.com, mika.westerberg@linux.intel.com Cc: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] platform/x86: intel_scu_ipcutil: Make scu static Date: Tue, 20 Feb 2024 06:45:13 +0100 Message-Id: <20240220054513.2832-3-W_Armin@gmx.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240220054513.2832-1-W_Armin@gmx.de> References: <20240220054513.2832-1-W_Armin@gmx.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:FwrNV4oltVweFu4+1d1wzAEeqcmQk3qU4JgmxxNMCO1FmdRCMJH r09Jvi1qYGSmYgjMZLI+LFflr7cdKwr6vWJj+eH/KL3XRxGsS/0F4X2Yy0Gxp3frwKdoUNz KHpwI8yCydJrLP0workv4liQEphTqGvTBi9T3suF9G+PJu+B31zsWTgNUPFI8N/6soKU0jE cqMQXrQssdM4iY3OMpl0Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:bPiltYbMaEg=;lauq3K32ajcbpBIZwGnp6fPdrV7 wtjwCCLm9ahVxJu++i8v7yF2PiJ/pmLfI43WM8JGkXVHvw5Z8GyT0MEZHU4Vxb7a3g0IKq53o JSi+sR68UqYqqTuFNnWLSYsBDcoUSBnO50GLz1SvFZEi4OjpyJ/bMwkkktZR38XObI3se18V9 7PFu6GDkH1yphdput7n/gNVOtg7Xf/4UtVFVul3dlRUt+R1OvGrnCAlWjHCB/nKTzhsBl78lW D7v53XLf/2iXzBAxzi7aJst2BPCC4xd7/l//ruocgU+S8lPAf9euELTsjYMOdLjtde8WU8ZBd BUT56sQKa0gzBNeQPT9QZPohJQ5DZODdHlqJa0AyuNTTzPXJFvkgU+VQGxjOwrozUWWco/nt6 WUlV3FN2HNkmNzGjedxOAf5SiLdwTrUgDuPrmCKhYSLn8g3hp3b6CsWMLogwTajR44DB4AmDP Zb0dACgA4XbKp3ON0qsw7ytFtNuZbXSo1hNc7CUGwENHjwBDKuBCshxDMg/S9+jCjjhc9jMwJ vLmWmdwTRVgGIttfQ7x2WCtPJCo9o5JUSQSB8hMJXZSpE4K8LRPIHdxmY+9zJsm6jDvDMtIf9 YvOEnL6VQc6v6HlxR9EY0DOIUk7uKSPbUD46hVBmgqrL3Wgh0TzX6OHU9GXebyxuDiXldr/qV gVF6YOAPToqkWEtkJU6BJ0RDdIi6PjDUoaUuwQuSifX4wi5QMEvcSVk6/O1IojP3HvR4op6XM i5lB32vx/mq3EWU1r9p373mKUywRZqxOPLCt+zwuSOfYWxoH5nYkuyyWSD9VcvaNBGqB1SHPM hlB+mDhLWtfF1hP42/fsEQ1y5Csbr9N5ggdMH/onN+ccU= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791395597879967263 X-GMAIL-MSGID: 1791395597879967263 |
Series |
[1/3] platform/x86/amd/pmf: Add missing __iomem attribute to policy_base
|
|
Commit Message
Armin Wolf
Feb. 20, 2024, 5:45 a.m. UTC
The variable is only used internally and has no external users,
so it should me made static.
Compile-tested only.
Fixes: 663cc18861a0 ("platform/x86: intel_scu_ipcutil: Convert to use new SCU IPC API")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
---
drivers/platform/x86/intel_scu_ipcutil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.39.2
Comments
On 2/19/24 9:45 PM, Armin Wolf wrote: > The variable is only used internally and has no external users, > so it should me made static. > > Compile-tested only. > > Fixes: 663cc18861a0 ("platform/x86: intel_scu_ipcutil: Convert to use new SCU IPC API") > Signed-off-by: Armin Wolf <W_Armin@gmx.de> > --- Since it is not a bug fix, I am not sure whether it makes sense to add Fixes: tag. But the change wise, it is fine. Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> > drivers/platform/x86/intel_scu_ipcutil.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c > index b7c10c15a3d6..7d87cbd4b9c6 100644 > --- a/drivers/platform/x86/intel_scu_ipcutil.c > +++ b/drivers/platform/x86/intel_scu_ipcutil.c > @@ -22,7 +22,7 @@ > > static int major; > > -struct intel_scu_ipc_dev *scu; > +static struct intel_scu_ipc_dev *scu; > static DEFINE_MUTEX(scu_lock); > > /* IOCTL commands */ > -- > 2.39.2 > >
diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c index b7c10c15a3d6..7d87cbd4b9c6 100644 --- a/drivers/platform/x86/intel_scu_ipcutil.c +++ b/drivers/platform/x86/intel_scu_ipcutil.c @@ -22,7 +22,7 @@ static int major; -struct intel_scu_ipc_dev *scu; +static struct intel_scu_ipc_dev *scu; static DEFINE_MUTEX(scu_lock); /* IOCTL commands */