All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gx-suspmod: fix "&& 0xff" typo
@ 2006-11-08 22:04 Alexey Dobriyan
  2006-11-08 22:10 ` Randy Dunlap
  2006-11-08 22:11 ` Dave Jones
  0 siblings, 2 replies; 8+ messages in thread
From: Alexey Dobriyan @ 2006-11-08 22:04 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Dave Jones, linux-kernel

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 arch/i386/kernel/cpu/cpufreq/gx-suspmod.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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);


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-11-11  3:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 22:04 [PATCH] gx-suspmod: fix "&& 0xff" typo Alexey Dobriyan
2006-11-08 22:10 ` Randy Dunlap
2006-11-08 22:16   ` Dave Jones
2006-11-08 22:20     ` Alexey Dobriyan
2006-11-08 22:50       ` Dave Jones
2006-11-09  4:24         ` Willy Tarreau
2006-11-10 20:16       ` Horst H. von Brand
2006-11-08 22:11 ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.