Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9a60ddbcb710ff78cd8c772681723a04e3f5aba3
Commit:     9a60ddbcb710ff78cd8c772681723a04e3f5aba3
Parent:     084f34939424161669467c19280dbcf637730314
Author:     Dave Jones <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 13 01:34:10 2007 -0400
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Fri Jul 13 01:34:10 2007 -0400

    [CPUFREQ] Fix typos in powernow-k8 printk's.
    
    Based on a patch from Joachim which didn't apply, so I fixed
    it up by hand, and also corrected the surrounding indentation
    a little.
    
    Signed-off-by: Joachim.Deguara <[EMAIL PROTECTED]>
    Acked-by: Mark Langsdorf <[EMAIL PROTECTED]>
    Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
---
 arch/i386/kernel/cpu/cpufreq/powernow-k8.c |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c 
b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index 93192d7..34ed53a 100644
--- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@ -599,14 +599,17 @@ static void print_basics(struct powernow_k8_data *data)
        for (j = 0; j < data->numps; j++) {
                if (data->powernow_table[j].frequency != CPUFREQ_ENTRY_INVALID) 
{
                        if (cpu_family == CPU_HW_PSTATE) {
-                       printk(KERN_INFO PFX "   %d : fid 0x%x gid 0x%x (%d 
MHz)\n", j, (data->powernow_table[j].index & 0xff00) >> 8,
-                               (data->powernow_table[j].index & 0xff0000) >> 
16,
-                               data->powernow_table[j].frequency/1000);
+                               printk(KERN_INFO PFX "   %d : fid 0x%x did 0x%x 
(%d MHz)\n",
+                                       j,
+                                       (data->powernow_table[j].index & 
0xff00) >> 8,
+                                       (data->powernow_table[j].index & 
0xff0000) >> 16,
+                                       data->powernow_table[j].frequency/1000);
                        } else {
-                       printk(KERN_INFO PFX "   %d : fid 0x%x (%d MHz), vid 
0x%x\n", j,
-                               data->powernow_table[j].index & 0xff,
-                               data->powernow_table[j].frequency/1000,
-                               data->powernow_table[j].index >> 8);
+                               printk(KERN_INFO PFX "   %d : fid 0x%x (%d 
MHz), vid 0x%x\n",
+                                       j,
+                                       data->powernow_table[j].index & 0xff,
+                                       data->powernow_table[j].frequency/1000,
+                                       data->powernow_table[j].index >> 8);
                        }
                }
        }
@@ -1086,7 +1089,7 @@ static int powernowk8_target(struct cpufreq_policy *pol, 
unsigned targfreq, unsi
 
        if (cpu_family == CPU_HW_PSTATE)
                dprintk("targ: curr fid 0x%x, did 0x%x\n",
-                       data->currfid, data->currvid);
+                       data->currfid, data->currdid);
        else {
                dprintk("targ: curr fid 0x%x, vid 0x%x\n",
                data->currfid, data->currvid);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to