提交 122d76bd 编写于 作者: J Jan Altenberg 提交者: David S. Miller

[GIANFAR]: Fix compile error in latest git

I recognized a compile error in latest git:

/here/workdir/git/drivers/net/gianfar.c: In function `gfar_vlan_rx_kill_vid':
/here/workdir/git/drivers/net/gianfar.c:1135: error: structure has no member named `vgrp'

This error was introduced in commit:

commit 6d04e3b0
 ...
      [VLAN]: Avoid a 4-order allocation.
Signed-off-by: NJan Altenberg <jan@linutronix.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6f30e186
......@@ -1132,7 +1132,7 @@ static void gfar_vlan_rx_kill_vid(struct net_device *dev, uint16_t vid)
spin_lock_irqsave(&priv->rxlock, flags);
vlan_group_set_device(priv->vgrp, vid, NULL);
vlan_group_set_device(priv->vlgrp, vid, NULL);
spin_unlock_irqrestore(&priv->rxlock, flags);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册