Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1187627 > unrolled thread

[PATCH 2/2] x86, microcode: Drop bogus __ref annotation of show_saved_mc()

Started byMathias Krause <minipli@googlemail.com>
First post2015-07-19 19:30 +0200
Last post2015-07-19 19:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] x86, microcode: Drop bogus __ref annotation of show_saved_mc() Mathias Krause <minipli@googlemail.com> - 2015-07-19 19:30 +0200

#1187627 — [PATCH 2/2] x86, microcode: Drop bogus __ref annotation of show_saved_mc()

FromMathias Krause <minipli@googlemail.com>
Date2015-07-19 19:30 +0200
Subject[PATCH 2/2] x86, microcode: Drop bogus __ref annotation of show_saved_mc()
Message-ID<pO0zw-TU-7@gated-at.bofh.it>
show_saved_mc() does not reference any .init / .exit sections. Drop the
bogus annotation.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
---
Test build with '#define DEBUG'.

 arch/x86/kernel/cpu/microcode/intel_early.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/microcode/intel_early.c b/arch/x86/kernel/cpu/microcode/intel_early.c
index 8187b7247d1c..37ea89c11520 100644
--- a/arch/x86/kernel/cpu/microcode/intel_early.c
+++ b/arch/x86/kernel/cpu/microcode/intel_early.c
@@ -390,7 +390,7 @@ static int collect_cpu_info_early(struct ucode_cpu_info *uci)
 }
 
 #ifdef DEBUG
-static void __ref show_saved_mc(void)
+static void show_saved_mc(void)
 {
 	int i, j;
 	unsigned int sig, pf, rev, total_size, data_size, date;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web