diff options
author | Mathieu Malaterre <[email protected]> | 2018-02-07 20:35:00 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-02-08 15:13:30 -0500 |
commit | e728789c52afccc1275cba1dd812f03abe16ea3c (patch) | |
tree | aa3bade1d059d3eaeaceb4d884dcbd75fe8f7084 /net/unix/sysctl_net_unix.c | |
parent | ec95dffa408f0c24c0b358f3723c6ba262190965 (diff) |
net: Extra '_get' in declaration of arch_get_platform_mac_address
In commit c7f5d105495a ("net: Add eth_platform_get_mac_address() helper."),
two declarations were added:
int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr);
unsigned char *arch_get_platform_get_mac_address(void);
An extra '_get' was introduced in arch_get_platform_get_mac_address, remove
it. Fix compile warning using W=1:
CC net/ethernet/eth.o
net/ethernet/eth.c:523:24: warning: no previous prototype for ‘arch_get_platform_mac_address’ [-Wmissing-prototypes]
unsigned char * __weak arch_get_platform_mac_address(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AR net/ethernet/built-in.o
Signed-off-by: Mathieu Malaterre <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions