e1000e: change logical negate to bitwise
Subsystems (2)
PATCH 1/1 e1000e: change logical negate to bitwise
From: Dan Carpenter <[email protected]>
The bitwise negate is intended here. With the logical negate the condition is always false.
Signed-off-by Dan Carpenter <[email protected]>
Acked-by Bruce Allan <[email protected]>
Signed-off-by Jeff Kirsher <[email protected]>
---
drivers/net/e1000e/netdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/e1000e/netdev.c +1 -1
@@ -2554,7 +2554,7 @@ static void e1000_init_manageability_pt(struct e1000_adapter *adapter) mdef =er32 (MDEF (i));/* Ignore filters with anything other than IPMI ports */ -if (mdef & !(E1000_MDEF_PORT_623 |E1000_MDEF_PORT_664 )) +if (mdef & ~(E1000_MDEF_PORT_623 |E1000_MDEF_PORT_664 ))continue ;/* Enable this decision filter in MANC2H */
From: Jeff Kirsher <[email protected]>
Date: Wed, 02 Jun 2010 16:43:15 -0700
Quoted 8 lines
From: Dan Carpenter <[email protected]>
The bitwise negate is intended here. With the logical negate the condition is always false.
Signed-off-by Dan Carpenter <[email protected]>Acked-by Bruce Allan <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>
Applied.