From patchwork Mon Sep 29 11:39:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 4995431 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E32E7BEEA6 for ; Mon, 29 Sep 2014 11:39:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68DC720274 for ; Mon, 29 Sep 2014 11:39:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C24420176 for ; Mon, 29 Sep 2014 11:39:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751786AbaI2Lja (ORCPT ); Mon, 29 Sep 2014 07:39:30 -0400 Received: from mail.skyhub.de ([78.46.96.112]:51599 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751694AbaI2Lj3 (ORCPT ); Mon, 29 Sep 2014 07:39:29 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1411990767; bh=+uvPFnU9I3rylX6gwXIjWH/yM8cAtE8/blBhiHMLLoo=; h=From:To:Cc:Subject:Date:Message-Id; b=BLBIdF9GYttaWe5iAd9DH/wreci nv6QtODdlW8QySrvzXyiqAd5T5om5HyI5x/h49AVpQBC2r1wICkzwJL1mWOkYZIjOWu 9qqIkTtHvAOALuhWa8gtjJf/wFSwvosJCClYD8ZtkWrQj82pN8pTAjCL/ZL97WKnjiB jhfVjKewcE= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oZNnMRbJAvXF; Mon, 29 Sep 2014 13:39:27 +0200 (CEST) Received: from liondog.tnic (p5DDC6673.dip0.t-ipconnect.de [93.220.102.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B918C1D9895; Mon, 29 Sep 2014 13:39:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1411990766; bh=+uvPFnU9I3rylX6gwXIjWH/yM8cAtE8/blBhiHMLLoo=; h=From:To:Cc:Subject:Date:Message-Id; b=Bnyp1Q2WYFGBg26TO4eqcLYQmrZ 6jHgt0W9uvpSqBsC+Ezy2UbOJGC3VRnAHtfWWo1l0iEgLvUV/SZ8HKD2YBQZhSmO4e8 WMpZrd8//uzBTNsmEOezC1yu3gCcaKBOtSAddGyagwoNyFziBBH8Iw/ZA9seRL6gJsx soW1bqh/WY= Received: by liondog.tnic (Postfix, from userid 1000) id 3D02910054E; Mon, 29 Sep 2014 13:39:25 +0200 (CEST) From: Borislav Petkov To: linux-acpi@vger.kernel.org Cc: LKML Subject: [PATCH] GHES: Make ghes_estatus_caches static Date: Mon, 29 Sep 2014 13:39:25 +0200 Message-Id: <1411990765-26541-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 2.0.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Borislav Petkov It is used only in ghes.c. Signed-off-by: Borislav Petkov --- drivers/acpi/apei/ghes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 9dcc9158c8e2..1b6aa514848f 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -128,7 +128,7 @@ static DEFINE_SPINLOCK(ghes_ioremap_lock_irq); static struct gen_pool *ghes_estatus_pool; static unsigned long ghes_estatus_pool_size_request; -struct ghes_estatus_cache *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE]; +static struct ghes_estatus_cache *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE]; static atomic_t ghes_estatus_cache_alloced; static int ghes_ioremap_init(void)