Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
include/net/dn.h
··· 166 166 int iif; 167 167 }; 168 168 169 - static inline __le16 dn_eth2dn(unsigned char *ethaddr) 169 + static inline __le16 dn_eth2dn(const unsigned char *ethaddr) 170 170 { 171 171 return get_unaligned((__le16 *)(ethaddr + 4)); 172 172 }