Re: [PATCH net-next] vlan: correct the file path in vlan_dev_change_flags() comment

2018-05-07 Thread David Miller
From: Sun Lianwen 
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 

Applied.


[PATCH net-next] vlan: correct the file path in vlan_dev_change_flags() comment

2018-05-04 Thread Sun Lianwen
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 
---
 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