Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753855AbbGSRWP (ORCPT ); Sun, 19 Jul 2015 13:22:15 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34437 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753433AbbGSRWM (ORCPT ); Sun, 19 Jul 2015 13:22:12 -0400 From: Mathias Krause To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org, Mathias Krause Subject: [PATCH 2/2] x86, microcode: Drop bogus __ref annotation of show_saved_mc() Date: Sun, 19 Jul 2015 19:21:56 +0200 Message-Id: <1437326516-13689-3-git-send-email-minipli@googlemail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1437326516-13689-1-git-send-email-minipli@googlemail.com> References: <1437326516-13689-1-git-send-email-minipli@googlemail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 34 show_saved_mc() does not reference any .init / .exit sections. Drop the bogus annotation. Signed-off-by: Mathias Krause Cc: Thomas Gleixner Cc: H. Peter Anvin Cc: Ingo Molnar --- 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/