summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/ravb_main.c
diff options
context:
space:
mode:
authorDavid S. Miller2018-09-22 04:22:32 +0200
committerDavid S. Miller2018-09-22 04:22:32 +0200
commitb4d0782440ed38c14ff145ead241d5fcc95a37b7 (patch)
tree60fdc2678ff4aabc4906b5d2bb24738cf3ad7596 /drivers/net/ethernet/renesas/ravb_main.c
parentnet/tls: Add support for async encryption of records for performance (diff)
parentnet: if_arp: use define instead of hard-coded value (diff)
downloadkernel-qcow2-linux-b4d0782440ed38c14ff145ead241d5fcc95a37b7.tar.gz
kernel-qcow2-linux-b4d0782440ed38c14ff145ead241d5fcc95a37b7.tar.xz
kernel-qcow2-linux-b4d0782440ed38c14ff145ead241d5fcc95a37b7.zip
Merge branch 'net-if_arp-use-define-instead-of-hard-coded-value'
HÃ¥kon Bugge says: ==================== net: if_arp: use define instead of hard-coded value Struct arpreq contains the name of the device. All other places in the kernel, the define IFNAMSIZ is used to designate its size. But in if_arp.h, a literal constant is used. As it could be good reasons to use constants instead of the defines in include files under uapi, it seems to be OK to use the define here, without opening a can of worms in user-land. This because if_arp.h includes netdevice.h, which also uses IFNAMSIZ. For the distros I have checked, this also holds true for the use-land side. The series also fixes some incorrect indents. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb_main.c')
0 files changed, 0 insertions, 0 deletions