summaryrefslogtreecommitdiff
path: root/net/batman-adv/tvlv.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-19 09:30:07 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-20 14:22:25 +0100
commit47ce5f1e3e4e87f141310c975497a4de87f49ab9 (patch)
treeeedb3522ef92c4b30672854e8a428b1173e4b5ca /net/batman-adv/tvlv.h
parent818a76a55d6e9e7ec7568ae580390e941da84b62 (diff)
batman-adv: prepare for const netdev->dev_addr
netdev->dev_addr will be constant soon, make sure the qualifier is propagated thru batman-adv. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Acked-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/tvlv.h')
-rw-r--r--net/batman-adv/tvlv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/tvlv.h b/net/batman-adv/tvlv.h
index 54f2a35653d0..4cf8af00fc11 100644
--- a/net/batman-adv/tvlv.h
+++ b/net/batman-adv/tvlv.h
@@ -42,8 +42,8 @@ int batadv_tvlv_containers_process(struct batadv_priv *bat_priv,
struct batadv_orig_node *orig_node,
u8 *src, u8 *dst,
void *tvlv_buff, u16 tvlv_buff_len);
-void batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, u8 *src,
- u8 *dst, u8 type, u8 version,
+void batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, const u8 *src,
+ const u8 *dst, u8 type, u8 version,
void *tvlv_value, u16 tvlv_value_len);
#endif /* _NET_BATMAN_ADV_TVLV_H_ */