提交 1bfcd1cc 编写于 作者: J Jakub Kicinski

decnet: constify dev_addr passing

In preparation for netdev->dev_addr being constant
make all relevant arguments in decnet constant.
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 6cf86280
......@@ -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));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册