projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b751d
)
cxgb3i: Fix flags test.
author
David S. Miller
<davem@davemloft.net>
Mon, 4 Jan 2010 22:36:40 +0000
(14:36 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 Jan 2010 22:36:40 +0000
(14:36 -0800)
As noticed by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgb3i/cxgb3i_offload.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/cxgb3i/cxgb3i_offload.c
b/drivers/scsi/cxgb3i/cxgb3i_offload.c
index
4b8a513
..
7449d46
100644
(file)
--- a/
drivers/scsi/cxgb3i/cxgb3i_offload.c
+++ b/
drivers/scsi/cxgb3i/cxgb3i_offload.c
@@
-1442,7
+1442,7
@@
static int is_cxgb3_dev(struct net_device *dev)
struct cxgb3i_sdev_data *cdata;
struct net_device *ndev = dev;
- if (dev->priv_flags &
&
IFF_802_1Q_VLAN)
+ if (dev->priv_flags & IFF_802_1Q_VLAN)
ndev = vlan_dev_real_dev(dev);
write_lock(&cdata_rwlock);