[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110413155148.846619861@clark.kroah.org>
Date: Wed, 13 Apr 2011 08:51:19 -0700
From: Greg KH <gregkh@...e.de>
To: linux-kernel@...r.kernel.org, stable@...nel.org
Cc: stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
Greg Kroah-Hartman <greg@...ah.com>,
Andreas Herrmann <andreas.herrmann3@....com>,
Andreas Herrmann <herrmann.der.user@...glemail.com>,
Borislav Petkov <borislav.petkov@....com>,
Boris Ostrovsky <boris.ostrovsky@....com>,
Ingo Molnar <mingo@...e.hu>
Subject: [55/74] x86, amd-ucode: Remove needless log messages
2.6.32-longterm review patch. If anyone has any objections, please let us know.
------------------
From: Andreas Herrmann <herrmann.der.user@...glemail.com>
Upstream commit: 6e18da75c28b592594fd632cf3e6eb09d3d078de
Signed-off-by: Andreas Herrmann <andreas.herrmann3@....com>
Cc: Borislav Petkov <borislav.petkov@....com>
LKML-Reference: <20091029134742.GD30802@...erich.amd.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
arch/x86/kernel/microcode_amd.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
--- a/arch/x86/kernel/microcode_amd.c
+++ b/arch/x86/kernel/microcode_amd.c
@@ -109,12 +109,8 @@ static int get_matching_microcode(int cp
return 0;
}
- if (mc_header->processor_rev_id != equiv_cpu_id) {
- printk(KERN_ERR "microcode: CPU%d: patch mismatch "
- "(processor_rev_id: %x, equiv_cpu_id: %x)\n",
- cpu, mc_header->processor_rev_id, equiv_cpu_id);
+ if (mc_header->processor_rev_id != equiv_cpu_id)
return 0;
- }
/* ucode might be chipset specific -- currently we don't support this */
if (mc_header->nb_dev_id || mc_header->sb_dev_id) {
@@ -185,9 +181,6 @@ get_next_ucode(const u8 *buf, unsigned i
total_size = (unsigned long) (section_hdr[4] + (section_hdr[5] << 8));
- printk(KERN_DEBUG "microcode: size %u, total_size %u\n",
- size, total_size);
-
if (total_size > size || total_size > UCODE_MAX_SIZE) {
printk(KERN_ERR "microcode: error: size mismatch\n");
return NULL;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists