[PATCH v2 2/2] net: if_arp: use define instead of hard-coded value

2018-10-09 Thread Håkon Bugge
Let uapi/linux/if_arp.h include uapi/linux/if.h, where IFNAMSIZ is defined. Then, use it in this file instead of hard-coded value. This way, we are using an uapi defined constant, and as such, user-space should be good. Signed-off-by: Håkon Bugge Tested-by: Stephen Hemminger --- v1 -> v2:

[PATCH v2 2/2] net: if_arp: use define instead of hard-coded value

2018-10-09 Thread Håkon Bugge
Let uapi/linux/if_arp.h include uapi/linux/if.h, where IFNAMSIZ is defined. Then, use it in this file instead of hard-coded value. This way, we are using an uapi defined constant, and as such, user-space should be good. Signed-off-by: Håkon Bugge Tested-by: Stephen Hemminger --- v1 -> v2: