From patchwork Thu Apr 20 13:18:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Lagerwall X-Patchwork-Id: 9690415 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E80C60383 for ; Thu, 20 Apr 2017 13:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CA4528335 for ; Thu, 20 Apr 2017 13:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 617BA283BA; Thu, 20 Apr 2017 13:20:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 027B128335 for ; Thu, 20 Apr 2017 13:20:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1ByT-0004TR-NU; Thu, 20 Apr 2017 13:18:17 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1ByS-0004TE-Ue for xen-devel@lists.xenproject.org; Thu, 20 Apr 2017 13:18:17 +0000 Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id 7E/7B-01870-815B8F85; Thu, 20 Apr 2017 13:18:16 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRWlGSWpSXmKPExsXitHSDva741h8 RBuuuGlh83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBltTxYxFyxiqWg7+p+9gfEccxcjJ4eEgL/E w5kLGEFsNgEDiVuXvgPFOThEBFQkbu816GLk4mAWWMgoMeneGnaQGmGBEInjW/czgdgsAqoS3 S3P2EBsXgEPie8vDzJBzJSTuHmuE2y+kICaxNvlZ1ggagQlTs58AmYzC0hIHHzxgnkCI/csJK lZSFILGJlWMWoUpxaVpRbpGpnrJRVlpmeU5CZm5ugaGhjr5aYWFyemp+YkJhXrJefnbmIEBkM 9AwPjDsaWvX6HGCU5mJREedXm/ogQ4kvKT6nMSCzOiC8qzUktPsQow8GhJMEbtwUoJ1iUmp5a kZaZAwxLmLQEB4+SCO+RzUBp3uKCxNzizHSI1ClGXY45976+ZxJiycvPS5US5+UFmSEAUpRRm gc3AhYjlxhlpYR5GRkYGIR4ClKLcjNLUOVfMYpzMCoJ80qBTOHJzCuB2/QK6AgmoCPO+oEdUZ KIkJJqYKz9snn51eC8pRsW24pJ8oVpshybIDb/+W6JFKYcLe3DOw4FXZKfP6EtNcQ4WUqsTfh iXvBCTeW/ATtTKw43izawhP8+ccY12EqkuDAj69+KMPOZiuukQz0fpk/m2rX5pnbSsgN9ccVv T7nlXjb2kfucF3Hrgtv751lWkeY3+Uwe5RrxhmoLK7EUZyQaajEXFScCADAcNdaMAgAA X-Env-Sender: prvs=2768d9f0c=ross.lagerwall@citrix.com X-Msg-Ref: server-15.tower-31.messagelabs.com!1492694294!92530873!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31517 invoked from network); 20 Apr 2017 13:18:15 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 20 Apr 2017 13:18:15 -0000 X-IronPort-AV: E=Sophos;i="5.37,225,1488844800"; d="scan'208";a="428804610" From: Ross Lagerwall To: Date: Thu, 20 Apr 2017 14:18:00 +0100 Message-ID: <1492694280-2437-1-git-send-email-ross.lagerwall@citrix.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Cc: Ross Lagerwall , Julien Grall , Jan Beulich , Andrew Cooper Subject: [Xen-devel] [PATCH] x86/microcode: Use the return value from early_microcode_update_cpu X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Use the return value from early_microcode_update_cpu rather than ignoring it. Signed-off-by: Ross Lagerwall Reviewed-by: Andrew Cooper --- xen/arch/x86/microcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/microcode.c b/xen/arch/x86/microcode.c index 4e7dfcd..7558202 100644 --- a/xen/arch/x86/microcode.c +++ b/xen/arch/x86/microcode.c @@ -431,5 +431,5 @@ int __init early_microcode_init(void) register_cpu_notifier(µcode_percpu_nfb); } - return 0; + return rc; }