Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6fdc2d07501f1fff1637f3c8efdc860e7fd28eb0
Commit:     6fdc2d07501f1fff1637f3c8efdc860e7fd28eb0
Parent:     caede347c3578b9dca49f53eab781fcaaacd3234
Author:     Alexey Dobriyan <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 9 01:04:35 2006 +0300
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Wed Nov 8 17:14:31 2006 -0500

    [CPUFREQ] gx-suspmod: fix "&& 0xff" typo
    
    Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
    Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
---
 arch/i386/kernel/cpu/cpufreq/gx-suspmod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c 
b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
index 92afa3b..0b9cc8a 100644
--- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
+++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
@@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void)
        pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration));
        pci_read_config_byte(params->cs55x0, PCI_MODOFF, 
&(params->off_duration));
         pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev);
-       params->pci_rev = class_rev && 0xff;
+       params->pci_rev = class_rev & 0xff;
 
        if ((ret = cpufreq_register_driver(&gx_suspmod_driver))) {
                kfree(params);
-
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