diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-12 17:58:40 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 18:40:46 +0200 |
commit | 1bfcd1cc546eaa9ecafb9718bc877f24b8a349c2 (patch) | |
tree | 7b94b4e0893cc2b5cac3db4eb11e9dedfdcc6e46 /include/net/dn.h | |
parent | tipc: constify dev_addr passing (diff) | |
download | linux-1bfcd1cc546eaa9ecafb9718bc877f24b8a349c2.tar.xz linux-1bfcd1cc546eaa9ecafb9718bc877f24b8a349c2.zip |
decnet: constify dev_addr passing
In preparation for netdev->dev_addr being constant
make all relevant arguments in decnet constant.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/dn.h')
-rw-r--r-- | include/net/dn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dn.h b/include/net/dn.h index 56ab0726c641..ba9655b0098a 100644 --- a/include/net/dn.h +++ b/include/net/dn.h @@ -166,7 +166,7 @@ struct dn_skb_cb { int iif; }; -static inline __le16 dn_eth2dn(unsigned char *ethaddr) +static inline __le16 dn_eth2dn(const unsigned char *ethaddr) { return get_unaligned((__le16 *)(ethaddr + 4)); } |