Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5560428ybh; Wed, 7 Aug 2019 07:58:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAmVZz9bwXqFqCPoXQz24P2D64TyHfnP6S4S3cg5y3egoz1v/M8xvbfr3B6PleaZeBk+F4 X-Received: by 2002:a63:ee08:: with SMTP id e8mr8245382pgi.70.1565189901583; Wed, 07 Aug 2019 07:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565189901; cv=none; d=google.com; s=arc-20160816; b=z0aaaEMb2l+cvfMMrl+vmVdx2tnB1nAwHF/hiBnnXXizWtdkNcNVCGNAQH62iuqVI8 KvWkta/p44BFCUxMYZk7vhz62AFxNccGdPbAOse2RtNjXUPNazKFqaL4UUzHjZpoghkQ g5qiBJ+JljNwGOIxRHuiaZMB3euCprb4NjKwhgBSepAAt3NJHzY2elp5H2tzfPnQSjau 2kk9m6mUjrGTyyIlLZ9DE5nEat/s1PEo+DcscsRfkEEmhS7YHGyHCzce/iJYqaoit/h/ HO/OOk0TfCuN1/4iJQaVihn6YR2Cff+QEvBD+d2C7kiquNFCKPVFof05VHLeQi1pe30N zm/A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H/M6TqzLiuanVCliBc3NhrwyBR/yMVzqsnz9WE14WyI=; b=ccD90fSFdT9xEACy/L4evg1ErM+1Ur/gQc1UDqEnoSxrsPLhriyVZvmTzIPIqPrpNa qEfzNqIi/HOgOVId5luq9SIk1AllIAbXCy+wljI8mKt74XIGu6DxbQo2W0SBk2jgCndN 8PIq1GIeRDg7ILa5ZMULdbr+TCjmrkjGesEzXj1hfdfcKFv6QirJaJZjSt9ed4vT7kpK 095YG8+5TrZOB8C6Io6aCx5hBIbjvTGsZfu+QheGDZdfKRXgoUi8bH3RXcw2NDNFHOUD I6KlumFSJNg7Gniwv8qgLhGOFLoQHM2eKxJmnIf1e5QpdO6hGqPlFyBbtD8h/QTCk0PM 8OQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fossix-org.20150623.gappssmtp.com header.s=20150623 header.b=GLMrLdsE; 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 q25si46865099pgv.114.2019.08.07.07.58.06; Wed, 07 Aug 2019 07:58:21 -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=@fossix-org.20150623.gappssmtp.com header.s=20150623 header.b=GLMrLdsE; 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 S2387845AbfHGO5X (ORCPT + 99 others); Wed, 7 Aug 2019 10:57:23 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:39246 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729278AbfHGO5X (ORCPT ); Wed, 7 Aug 2019 10:57:23 -0400 Received: by mail-pl1-f194.google.com with SMTP id b7so41270013pls.6 for ; Wed, 07 Aug 2019 07:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fossix-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H/M6TqzLiuanVCliBc3NhrwyBR/yMVzqsnz9WE14WyI=; b=GLMrLdsEfsoREUBYlWy8vT8pdGthJ92pv+sWNHZjUTL3BDROZ8LRVrj6pG+CAGUw+9 qEfKOLMdyv+zJWzfXdefMFdBt8ly+ZWmVWeGz4SorPm3xYND6vMo5wBarHZn+xuHZ7a8 C75UO9/+gdOMJM4W3faH5fXZQuQ/+A4hjMIu7mbjBBBKsKbculP3m3OLKGQCTxfhfUL2 WFgDAXSxycs1N+6FMFh4GclR7Ltboc/zLF+rOucZxGrZblH3UFAqMadSWKr3ZgwRkDMQ /3qWkOIWlefdSCitcVVCvlRYGfhL6sYQaFP8UDFIoICb3dDDpPzWgNTApOAauqA1wd/c CcAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H/M6TqzLiuanVCliBc3NhrwyBR/yMVzqsnz9WE14WyI=; b=MHdI7SbfDKcAUEAnFn699KrFj3Nobe4KBnNcdtCH1ycHP8cgIhP9nsmcV3NCpVftYi FkH/DhhKYnv/8L9fK1ZRsrKtR7RxjO6k0JNQNROdjAcTJFcZMX7+u6T8n/VPBEinjP+T SKjfKMuAnHKBlUJFJAYJ2mNApLEZ0rDhrhj0vy3tJ7XW112ltHBY/Ym2hQjNqABtT5zJ 3Oef79LjnUZlFgTQmH2IlAmYNWRMqom4xb99ZfO7aViXDPdm9/OV/IF1gTjUlSSm/Jpt XoUXk8vB6+fZzKcsB09OKOnSpXsWT3hLTnlyygSIAE3LxbAjg0M6rEWDyBZWmbLEo4vk vnTg== X-Gm-Message-State: APjAAAXP8/2hWt7vGR324U//WHXDRY0hRCf74qMyIVFWyed0Z0OwyOv7 CqsC2xULWHBPHOXqxgqCi3c2EA== X-Received: by 2002:aa7:93a8:: with SMTP id x8mr9992935pff.49.1565189842221; Wed, 07 Aug 2019 07:57:22 -0700 (PDT) Received: from santosiv.in.ibm.com.com ([183.82.17.96]) by smtp.gmail.com with ESMTPSA id l4sm93617475pff.50.2019.08.07.07.57.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 07 Aug 2019 07:57:21 -0700 (PDT) From: Santosh Sivaraj To: linuxppc-dev , Linux Kernel Cc: "Aneesh Kumar K.V" , Mahesh Salgaonkar , Reza Arbab , Balbir Singh , Chandan Rajendra , Michael Ellerman , Nicholas Piggin , christophe leroy Subject: [PATCH v8 2/7] powerpc/mce: Make machine_check_ue_event() static Date: Wed, 7 Aug 2019 20:26:55 +0530 Message-Id: <20190807145700.25599-3-santosh@fossix.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190807145700.25599-1-santosh@fossix.org> References: <20190807145700.25599-1-santosh@fossix.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Reza Arbab The function doesn't get used outside this file, so make it static. Signed-off-by: Reza Arbab Signed-off-by: Santosh Sivaraj Reviewed-by: Nicholas Piggin --- arch/powerpc/kernel/mce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c index 0ab6fa7cbbbb..8c0b471658a7 100644 --- a/arch/powerpc/kernel/mce.c +++ b/arch/powerpc/kernel/mce.c @@ -33,7 +33,7 @@ static DEFINE_PER_CPU(struct machine_check_event[MAX_MC_EVT], mce_ue_event_queue); static void machine_check_process_queued_event(struct irq_work *work); -void machine_check_ue_event(struct machine_check_event *evt); +static void machine_check_ue_event(struct machine_check_event *evt); static void machine_process_ue_event(struct work_struct *work); static struct irq_work mce_event_process_work = { @@ -202,7 +202,7 @@ void release_mce_event(void) /* * Queue up the MCE event which then can be handled later. */ -void machine_check_ue_event(struct machine_check_event *evt) +static void machine_check_ue_event(struct machine_check_event *evt) { int index; -- 2.20.1