summaryrefslogtreecommitdiffstats
path: root/net/tipc/bearer.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-12 17:58:39 +0200
committerJakub Kicinski <kuba@kernel.org>2021-10-13 18:40:46 +0200
commit6cf862807234fa8d7c91a3a2d327a87471b9adbd (patch)
tree22cbd7139c2b26c328e52b4372d13267cf715aa1 /net/tipc/bearer.h
parentipv6: constify dev_addr passing (diff)
downloadlinux-6cf862807234fa8d7c91a3a2d327a87471b9adbd.tar.xz
linux-6cf862807234fa8d7c91a3a2d327a87471b9adbd.zip
tipc: constify dev_addr passing
In preparation for netdev->dev_addr being constant make all relevant arguments in tipc constant. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc/bearer.h')
-rw-r--r--net/tipc/bearer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h
index 57c6a1a719e2..490ad6e5f7a3 100644
--- a/net/tipc/bearer.h
+++ b/net/tipc/bearer.h
@@ -117,7 +117,7 @@ struct tipc_media {
char *msg);
int (*raw2addr)(struct tipc_bearer *b,
struct tipc_media_addr *addr,
- char *raw);
+ const char *raw);
u32 priority;
u32 tolerance;
u32 min_win;