diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-12 08:58:39 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 09:40:46 -0700 |
commit | 6cf862807234fa8d7c91a3a2d327a87471b9adbd (patch) | |
tree | 22cbd7139c2b26c328e52b4372d13267cf715aa1 /net/tipc/eth_media.c | |
parent | 1a8a23d2da4fec6f090ec26bbe76eab2b77410e9 (diff) | |
download | linux-6cf862807234fa8d7c91a3a2d327a87471b9adbd.tar.bz2 |
tipc: constify dev_addr passing
In preparation for netdev->dev_addr being constant
make all relevant arguments in tipc constant.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc/eth_media.c')
-rw-r--r-- | net/tipc/eth_media.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/eth_media.c b/net/tipc/eth_media.c index c68019697cfe..cb0d185e06af 100644 --- a/net/tipc/eth_media.c +++ b/net/tipc/eth_media.c @@ -60,7 +60,7 @@ static int tipc_eth_addr2msg(char *msg, struct tipc_media_addr *addr) /* Convert raw mac address format to media addr format */ static int tipc_eth_raw2addr(struct tipc_bearer *b, struct tipc_media_addr *addr, - char *msg) + const char *msg) { memset(addr, 0, sizeof(*addr)); ether_addr_copy(addr->value, msg); |