Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758086Ab3GWU7e (ORCPT ); Tue, 23 Jul 2013 16:59:34 -0400 Received: from mail-bk0-f49.google.com ([209.85.214.49]:56878 "EHLO mail-bk0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758037Ab3GWU72 (ORCPT ); Tue, 23 Jul 2013 16:59:28 -0400 Date: Tue, 23 Jul 2013 22:59:23 +0200 From: Torsten Kaiser To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Jacob Shin , Johannes Hirte , linux-kernel@vger.kernel.org Subject: [PATCH 2/5] x86, microcode: Don't lose error returns in save_microcode_in_initrd() Message-ID: <20130723225923.352bc442@googlemail.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 27 Don't lose the error return. This was lost when early amd microcode loading was added in 757885e94a22bcc82beb9b1445c95218cb20ceab Signed-off-by: Torsten Kaiser --- a/arch/x86/kernel/microcode_core_early.c 2013-07-23 19:44:05.509516795 +0200 +++ b/arch/x86/kernel/microcode_core_early.c 2013-07-23 19:58:34.459509474 +0200 @@ -127,11 +127,11 @@ int __init save_microcode_in_initrd(void switch (c->x86_vendor) { case X86_VENDOR_INTEL: if (c->x86 >= 6) - save_microcode_in_initrd_intel(); + return save_microcode_in_initrd_intel(); break; case X86_VENDOR_AMD: if (c->x86 >= 0x10) - save_microcode_in_initrd_amd(); + return save_microcode_in_initrd_amd(); break; default: break; -- 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/