Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp793141imm; Mon, 21 May 2018 14:34:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqvtw3CoCGcZpmPWKVT0saxQ4hDWw+HnaGAlLdH7PQvKM7PCCsXp/ivwonckYw6GoyweEyQ X-Received: by 2002:a63:8bca:: with SMTP id j193-v6mr16042268pge.300.1526938455344; Mon, 21 May 2018 14:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526938455; cv=none; d=google.com; s=arc-20160816; b=DPEnLq34zCXOwYTRByh7thApM4YeBG+nAHaDbNNXOj/o3EyOF9oO3LKYsuhD7Enhg2 nomlDJ08lcAQCRolLTH/u8iuc0R51c4xdkD2dzy0JShZ3vz8B1DWcEJ88R8f0DDq7ylb 30JoH6vVF4RLRY97ktdmEEU5iGO5aWCqXSFbL7pku4r3AxxMAS5XXfE8y1dHvB4fdV48 /6qQ+YpMZywmSEXBGlDqqVejJWgXgpHY8gHOOxRtizKRKdgoRwfteq9p15SQ2ubGBoin rA8trUkCSEaiEqay6QHX5swB7PmMD7DPlyJpzrwmqqDHCLYOdCASWpYo+2bzJX4XKRUF y20g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=/Wbc/P3azr7EXVEWeOoe+HNJ2CKk8zKgKCj4RR8L4lM=; b=Mh2JiDEY9idgyDSIO7SuaGDLg/da9xqURrQcYIyusTlRMIdICYxGYnvDwCFbrgADjL ASJDEFO0hPlmER1HDHh4v8GsNRJ5Y+DMHItitXFy1JIApyV5qwU9JYYPpAdp6C2SRPPG T7k4POZZHMwyfdpxjNGnNLZ/brus/HwvqB1b3yKeRVsW99IakrC+s1O4hWjW8pXDIysL Yk1BOsd9sCQ0ojDgkImzCmIzCwz5gIuSKx4R4zx5V4PZvq3a4pZydJJUQj7srjuQHpyJ NpVsdqlMPlqPUKFTi2PZ0Nrf2eROd/UlsAfAVV5RjgqRUd2/TBXV3CVa4RWXEbdPME9h bd/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tbRjm9bP; 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 c1-v6si13815939pld.103.2018.05.21.14.34.01; Mon, 21 May 2018 14:34:15 -0700 (PDT) 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=tbRjm9bP; 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 S932523AbeEUV0O (ORCPT + 99 others); Mon, 21 May 2018 17:26:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:40942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932510AbeEUV0H (ORCPT ); Mon, 21 May 2018 17:26:07 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 466A220872; Mon, 21 May 2018 21:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526937966; bh=vapB7+y8rtzkbKseU6wmjjsuY0qOiK+i0M36/lcT8NE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tbRjm9bPD2jSI+9lk49W3yt99el703nrH4WC5xI1RHXARuzp/MsND0V7Jxvf26Ox1 A6w7PqXJZsmXbRXoVS65TrrLE/++oQJdAySsU+7nWVB21WnS660/ilTsg4uIDgaZS0 gaEPTMQ7EffMXyXD5c+B37bDqcJ1/domBAJJUlss= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jiri Kosina , Thomas Gleixner Subject: [PATCH 4.16 091/110] x86/bugs: Make cpu_show_common() static Date: Mon, 21 May 2018 23:12:28 +0200 Message-Id: <20180521210514.000271981@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180521210503.823249477@linuxfoundation.org> References: <20180521210503.823249477@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jiri Kosina commit 7bb4d366cba992904bffa4820d24e70a3de93e76 upstream cpu_show_common() is not used outside of arch/x86/kernel/cpu/bugs.c, so make it static. Signed-off-by: Jiri Kosina Signed-off-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/cpu/bugs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kernel/cpu/bugs.c +++ b/arch/x86/kernel/cpu/bugs.c @@ -640,7 +640,7 @@ void x86_spec_ctrl_setup_ap(void) #ifdef CONFIG_SYSFS -ssize_t cpu_show_common(struct device *dev, struct device_attribute *attr, +static ssize_t cpu_show_common(struct device *dev, struct device_attribute *attr, char *buf, unsigned int bug) { if (!boot_cpu_has_bug(bug))