* [PATCH net-next] vlan: correct the file path in vlan_dev_change_flags() comment
@ 2018-05-05 1:08 Sun Lianwen
2018-05-08 3:37 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sun Lianwen @ 2018-05-05 1:08 UTC (permalink / raw)
To: davem; +Cc: netdev
The vlan_flags enum is defined in include/uapi/linux/if_vlan.h file.
not in include/linux/if_vlan.h file.
Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
---
net/8021q/vlan_dev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 236452ebbd9e..546af0e73ac3 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -215,7 +215,9 @@ int vlan_dev_set_egress_priority(const struct net_device *dev,
return 0;
}
-/* Flags are defined in the vlan_flags enum in include/linux/if_vlan.h file. */
+/* Flags are defined in the vlan_flags enum in
+ * include/uapi/linux/if_vlan.h file.
+ */
int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask)
{
struct vlan_dev_priv *vlan = vlan_dev_priv(dev);
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] vlan: correct the file path in vlan_dev_change_flags() comment
2018-05-05 1:08 [PATCH net-next] vlan: correct the file path in vlan_dev_change_flags() comment Sun Lianwen
@ 2018-05-08 3:37 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-05-08 3:37 UTC (permalink / raw)
To: sunlw.fnst; +Cc: netdev
From: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
Date: Sat, 5 May 2018 09:08:18 +0800
> The vlan_flags enum is defined in include/uapi/linux/if_vlan.h file.
> not in include/linux/if_vlan.h file.
>
> Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-08 3:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-05 1:08 [PATCH net-next] vlan: correct the file path in vlan_dev_change_flags() comment Sun Lianwen
2018-05-08 3:37 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.