[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-1d2ce978d160fa960f12d06bf84e45f47c141272@git.kernel.org>
Date: Sun, 24 Aug 2014 07:55:33 -0700
From: tip-bot for Henrique de Moraes Holschuh <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hmh@....eng.br, hpa@...or.com,
mingo@...nel.org, tglx@...utronix.de, bp@...e.de
Subject: [tip:x86/microcode] x86, microcode, amd:
Fix missing static declaration
Commit-ID: 1d2ce978d160fa960f12d06bf84e45f47c141272
Gitweb: http://git.kernel.org/tip/1d2ce978d160fa960f12d06bf84e45f47c141272
Author: Henrique de Moraes Holschuh <hmh@....eng.br>
AuthorDate: Wed, 23 Jul 2014 17:10:44 -0300
Committer: Borislav Petkov <bp@...e.de>
CommitDate: Thu, 24 Jul 2014 12:21:46 +0200
x86, microcode, amd: Fix missing static declaration
Make locally used variable static.
Signed-off-by: Henrique de Moraes Holschuh <hmh@....eng.br>
Link: http://lkml.kernel.org/r/1406146251-8540-1-git-send-email-hmh@hmh.eng.br
Signed-off-by: Borislav Petkov <bp@...e.de>
---
arch/x86/kernel/cpu/microcode/amd_early.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/microcode/amd_early.c b/arch/x86/kernel/cpu/microcode/amd_early.c
index 617a9e2..7aa1acc 100644
--- a/arch/x86/kernel/cpu/microcode/amd_early.c
+++ b/arch/x86/kernel/cpu/microcode/amd_early.c
@@ -27,7 +27,7 @@ static u32 ucode_new_rev;
u8 amd_ucode_patch[PATCH_MAX_SIZE];
static u16 this_equiv_id;
-struct cpio_data ucode_cpio;
+static struct cpio_data ucode_cpio;
/*
* Microcode patch container file is prepended to the initrd in cpio format.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists