From patchwork Mon Aug 12 09:22:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Sivaraj X-Patchwork-Id: 1145587 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 466VvP2GN2z9sN1 for ; Mon, 12 Aug 2019 19:30:41 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=fossix.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=fossix-org.20150623.gappssmtp.com header.i=@fossix-org.20150623.gappssmtp.com header.b="S4icX2XX"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 466VvP1KsXzDqJs for ; Mon, 12 Aug 2019 19:30:41 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=fossix.org (client-ip=2607:f8b0:4864:20::643; helo=mail-pl1-x643.google.com; envelope-from=santosh@fossix.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=fossix.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=fossix-org.20150623.gappssmtp.com header.i=@fossix-org.20150623.gappssmtp.com header.b="S4icX2XX"; dkim-atps=neutral Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 466Vkd38LwzDqZ2 for ; Mon, 12 Aug 2019 19:23:05 +1000 (AEST) Received: by mail-pl1-x643.google.com with SMTP id i2so47676991plt.1 for ; Mon, 12 Aug 2019 02:23:05 -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=YJYgBqte5Ii/VSliQ8oA8G2Ha5PCLW/st87+39mATT8=; b=S4icX2XXM6aIjRUdCAkkGKuWAlG5xkCElu+5yhd+i9XYs2hv+ypGPPVNmlizlHd8aS kXcJ6Wf+v9zz5MCleydykchsEAViVPb4zRVxyF+l2XG+3trA+2rE1Aw+8Y9/TPCZfobf bPqqWDvmeBP28baUu8om09wmBoeD1FzDQprayAHHjJcAxhv859rl8sn7uIC3hpffO6Dh arS1uY1FrlvK814Adh3FljnYif/ReiU3MKRxAMfM2TxgJD3kRxz+NiYEw+kJ43VhU3UM dL6x26v1zKNTqtLL40/gG2R/Ev8c9WzaOhcSdZn8M4KXUm1+eFsR4BoHcBwF6oPYh5YO hTbw== 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=YJYgBqte5Ii/VSliQ8oA8G2Ha5PCLW/st87+39mATT8=; b=WH4DxYVXcPbz7zaKudVu7T85zLTWLd9NLR8PieTi3vKAr607t47pFDhCQkz4tQ09OR IpfP+h6Ft61GGJ75mnTPQmEPn8Zzaf7FgmWfyOHbSknJvC+cVyzBF/zKI4qU393X2gxK qekKOr1+hFwX34rYeRkwxi8+gWGIzgaNxDYz1syri/RGYMoNeTmkkp//8RDxSLXLnL33 NcoCIXFsPbqCy1+xW2zVDOZeWrFsRSwHePVptZc6aHOp1IVAOkV3cHy/nSPcoXTuJwKf w6ujyHuHxhWJFuCDZs7e9wQeHy/zvMln1kZglNGVFX6ti0hnMGeko2M6mqkC6dRl1tnv fMKw== X-Gm-Message-State: APjAAAXXsMZL7ox4wZRtzgwQnd3q0/1nSzgah2EnxlABaYbv0x/0G2MC 9Ky+JKtNg+kAdWAvNLm+DY23XTEnD7Gz2g== X-Google-Smtp-Source: APXvYqxjMi1RdbCw38eLMQP/8fgPlz8ypjbBhtn9w4gdYK0krPBKiebotVX2Lf+DSq11TIMl/TjBRw== X-Received: by 2002:a17:902:a409:: with SMTP id p9mr32274336plq.218.1565601783051; Mon, 12 Aug 2019 02:23:03 -0700 (PDT) Received: from santosiv.in.ibm.com ([129.41.84.75]) by smtp.gmail.com with ESMTPSA id y188sm10543517pfb.115.2019.08.12.02.23.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 12 Aug 2019 02:23:02 -0700 (PDT) From: Santosh Sivaraj To: linuxppc-dev , Linux Kernel Subject: [PATCH v9 3/7] powerpc/mce: Make machine_check_ue_event() static Date: Mon, 12 Aug 2019 14:52:32 +0530 Message-Id: <20190812092236.16648-4-santosh@fossix.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190812092236.16648-1-santosh@fossix.org> References: <20190812092236.16648-1-santosh@fossix.org> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Aneesh Kumar K.V" , Mahesh Salgaonkar , Nicholas Piggin , Chandan Rajendra , Reza Arbab Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 cff31d4a501f..a3b122a685a5 100644 --- a/arch/powerpc/kernel/mce.c +++ b/arch/powerpc/kernel/mce.c @@ -34,7 +34,7 @@ static DEFINE_PER_CPU(struct machine_check_event[MAX_MC_EVT], static void machine_check_process_queued_event(struct irq_work *work); static void machine_check_ue_irq_work(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 = { @@ -212,7 +212,7 @@ static void machine_check_ue_irq_work(struct irq_work *work) /* * 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;