mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-29 10:47:42 +08:00
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>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user