From: Andrew Morton <akpm@linux-foundation.org>
To: Peter Oruba <peter.oruba@amd.com>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
Tigran Aivazian <tigran@aivazian.fsnet.co.uk>,
"H. Peter Anvin" <hpa@zytor.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [patch 1/2] [PATCH 1/2] x86: Microcode patch loader style corrections
Date: Wed, 13 Aug 2008 19:03:40 -0700 [thread overview]
Message-ID: <20080813190340.46927c18.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080801104754.303635665@amd.com>
On Fri, 1 Aug 2008 12:46:45 +0200 Peter Oruba <peter.oruba@amd.com> wrote:
> Style corrections to main microcode module.
Needed a few fixups to apply against linux-next.
While we're there, let's spell "matching" correctly.
--- a/arch/x86/kernel/microcode.c~x86-microcode-patch-loader-style-corrections-fix
+++ a/arch/x86/kernel/microcode.c
@@ -264,7 +264,7 @@ static int microcode_sanity_check(void *
* return 1 - found update
* return < 0 - error
*/
-static int get_maching_microcode(void *mc, int cpu)
+static int get_matching_microcode(void *mc, int cpu)
{
struct ucode_cpu_info *uci = ucode_cpu_info + cpu;
microcode_header_t *mc_header = mc;
@@ -405,7 +405,7 @@ static int do_microcode_update(void)
if (!uci->valid)
continue;
set_cpus_allowed_ptr(current, &cpumask_of_cpu(cpu));
- error = get_maching_microcode(new_mc, cpu);
+ error = get_matching_microcode(new_mc, cpu);
if (error < 0)
goto out;
if (error == 1)
@@ -549,7 +549,7 @@ static int cpu_request_microcode(int cpu
error = microcode_sanity_check(mc);
if (error)
break;
- error = get_maching_microcode(mc, cpu);
+ error = get_matching_microcode(mc, cpu);
if (error < 0)
break;
/*
_
next prev parent reply other threads:[~2008-08-14 2:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-01 10:46 [patch 0/2] x86: microcode patch loader cleanup and fix Peter Oruba
2008-08-01 10:46 ` [patch 1/2] [PATCH 1/2] x86: Microcode patch loader style corrections Peter Oruba
2008-08-14 2:03 ` Andrew Morton [this message]
2008-08-01 10:46 ` [patch 2/2] [PATCH 2/2] x86: Fixed NULL function pointer dereference in AMD microcode patch loader Peter Oruba
2008-08-14 2:05 ` Andrew Morton
2008-08-14 11:55 ` Peter Oruba
2008-08-15 15:19 ` [patch 0/2] x86: microcode patch loader cleanup and fix Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080813190340.46927c18.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peter.oruba@amd.com \
--cc=tglx@linutronix.de \
--cc=tigran@aivazian.fsnet.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox