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>
This commit is contained in:
Родитель
4d9b1a022a
Коммит
4e5b864e7c
|
@ -633,7 +633,7 @@ static void __init printEEPROMInfo(struct net_device *dev)
|
|||
printk(KERN_DEBUG " PC: %d\n", GetBit(Word,ee_PC));
|
||||
printk(KERN_DEBUG " TPE/AUI: %d\n", GetBit(Word,ee_TPE_AUI));
|
||||
printk(KERN_DEBUG " Jabber: %d\n", GetBit(Word,ee_Jabber));
|
||||
printk(KERN_DEBUG " AutoPort: %d\n", GetBit(!Word,ee_Jabber));
|
||||
printk(KERN_DEBUG " AutoPort: %d\n", !GetBit(Word,ee_AutoPort));
|
||||
printk(KERN_DEBUG " Duplex: %d\n", GetBit(Word,ee_Duplex));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче