Skip to content

Commit

Permalink
x86, microcode, intel: Fix typos
Browse files Browse the repository at this point in the history
Fix some typos. One of them was in a struct name, fortunately harmless
because it happened on a "sizeof(struct foo*)" construction.

Signed-off-by: Henrique de Moraes Holschuh <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
  • Loading branch information
hmh authored and suryasaimadhu committed Jul 24, 2014
1 parent 05a5f76 commit f99b45c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86/kernel/cpu/microcode/intel_early.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static void __ref show_saved_mc(void)
struct ucode_cpu_info uci;

if (mc_saved_data.mc_saved_count == 0) {
pr_debug("no micorcode data saved.\n");
pr_debug("no microcode data saved.\n");
return;
}
pr_debug("Total microcode saved: %d\n", mc_saved_data.mc_saved_count);
Expand Down Expand Up @@ -506,7 +506,7 @@ int save_mc_for_early(u8 *mc)

if (mc_saved && mc_saved_count)
memcpy(mc_saved_tmp, mc_saved,
mc_saved_count * sizeof(struct mirocode_intel *));
mc_saved_count * sizeof(struct microcode_intel *));
/*
* Save the microcode patch mc in mc_save_tmp structure if it's a newer
* version.
Expand All @@ -526,7 +526,7 @@ int save_mc_for_early(u8 *mc)
show_saved_mc();

/*
* Free old saved microcod data.
* Free old saved microcode data.
*/
if (mc_saved) {
for (i = 0; i < mc_saved_count_init; i++)
Expand Down

0 comments on commit f99b45c

Please sign in to comment.