Skip to content

Commit 6e18da7

Browse files
Andreas HerrmannIngo Molnar
authored andcommitted
x86, amd-ucode: Remove needless log messages
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Cc: Borislav Petkov <borislav.petkov@amd.com> LKML-Reference: <20091029134742.GD30802@alberich.amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 506f90e commit 6e18da7

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎arch/x86/kernel/microcode_amd.c‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,8 @@ static int get_matching_microcode(int cpu, void *mc, int rev)
109109
return 0;
110110
}
111111

112-
if (mc_header->processor_rev_id != equiv_cpu_id) {
113-
printk(KERN_ERR "microcode: CPU%d: patch mismatch "
114-
"(processor_rev_id: %x, equiv_cpu_id: %x)\n",
115-
cpu, mc_header->processor_rev_id, equiv_cpu_id);
112+
if (mc_header->processor_rev_id != equiv_cpu_id)
116113
return 0;
117-
}
118114

119115
/* ucode might be chipset specific -- currently we don't support this */
120116
if (mc_header->nb_dev_id || mc_header->sb_dev_id) {
@@ -185,9 +181,6 @@ get_next_ucode(const u8 *buf, unsigned int size, unsigned int *mc_size)
185181

186182
total_size = (unsigned long) (section_hdr[4] + (section_hdr[5] << 8));
187183

188-
printk(KERN_DEBUG "microcode: size %u, total_size %u\n",
189-
size, total_size);
190-
191184
if (total_size > size || total_size > UCODE_MAX_SIZE) {
192185
printk(KERN_ERR "microcode: error: size mismatch\n");
193186
return NULL;

0 commit comments

Comments
 (0)