Skip to contentSkip to conversation

GHES: Make ghes_estatus_caches static

PATCH New Borislav Petkov 1 participant 1 message Sep 29, 2014

Subsystems (2)
lore
Share & tools
lore

Borislav Petkov

author reviewer
#0 lore raw

PATCH 1/1 GHES: Make ghes_estatus_caches static

From: Borislav Petkov <[email protected]>

It is used only in ghes.c.

---
 drivers/acpi/apei/ghes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/apei/ghes.c +1 -1
index 9dcc9158c8e2..1b6aa514848f 100644
@@ -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)
Signature · 1 line
2.0.0