diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-27 02:44:03 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-29 01:56:01 -0400 |
commit | 4e5b864e7cac67f06f18147b1980cb6b8fb213ec (patch) | |
tree | 6c5fa5dbb96c010acbd2a45341593d7456300514 /drivers/net/eepro.c | |
parent | 4d9b1a022a33c57ca8f31a1364cef682c8c817d6 (diff) |
net: eepro autoport typo
Found by sparse dubious !x & y warning...hidden in the GetBit macro
why !Word doesn't make any sense.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 83bda6ccde98..56f50491a453 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -633,7 +633,7 @@ static void __init printEEPROMInfo(struct net_device *dev) | |||
633 | printk(KERN_DEBUG " PC: %d\n", GetBit(Word,ee_PC)); | 633 | printk(KERN_DEBUG " PC: %d\n", GetBit(Word,ee_PC)); |
634 | printk(KERN_DEBUG " TPE/AUI: %d\n", GetBit(Word,ee_TPE_AUI)); | 634 | printk(KERN_DEBUG " TPE/AUI: %d\n", GetBit(Word,ee_TPE_AUI)); |
635 | printk(KERN_DEBUG " Jabber: %d\n", GetBit(Word,ee_Jabber)); | 635 | printk(KERN_DEBUG " Jabber: %d\n", GetBit(Word,ee_Jabber)); |
636 | printk(KERN_DEBUG " AutoPort: %d\n", GetBit(!Word,ee_Jabber)); | 636 | printk(KERN_DEBUG " AutoPort: %d\n", !GetBit(Word,ee_AutoPort)); |
637 | printk(KERN_DEBUG " Duplex: %d\n", GetBit(Word,ee_Duplex)); | 637 | printk(KERN_DEBUG " Duplex: %d\n", GetBit(Word,ee_Duplex)); |
638 | } | 638 | } |
639 | 639 | ||