diff options
author | 2021-10-12 08:58:36 -0700 | |
---|---|---|
committer | 2021-10-13 09:40:45 -0700 | |
commit | db95732446a86e310dbbe5f890fae6f0c719833b (patch) | |
tree | 59f9d0450c5eaa13b376942718b9024514e8efd4 /include | |
parent | ax25: constify dev_addr passing (diff) | |
download | linux-db95732446a86e310dbbe5f890fae6f0c719833b.tar.gz linux-db95732446a86e310dbbe5f890fae6f0c719833b.tar.bz2 linux-db95732446a86e310dbbe5f890fae6f0c719833b.zip |
rose: constify dev_addr passing
In preparation for netdev->dev_addr being constant
make all relevant arguments in rose constant.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/rose.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/rose.h b/include/net/rose.h index cf517d306a28..0f0a4ce0fee7 100644 --- a/include/net/rose.h +++ b/include/net/rose.h @@ -162,8 +162,8 @@ extern int sysctl_rose_link_fail_timeout; extern int sysctl_rose_maximum_vcs; extern int sysctl_rose_window_size; -int rosecmp(rose_address *, rose_address *); -int rosecmpm(rose_address *, rose_address *, unsigned short); +int rosecmp(const rose_address *, const rose_address *); +int rosecmpm(const rose_address *, const rose_address *, unsigned short); char *rose2asc(char *buf, const rose_address *); struct sock *rose_find_socket(unsigned int, struct rose_neigh *); void rose_kill_by_neigh(struct rose_neigh *); @@ -205,8 +205,8 @@ extern const struct seq_operations rose_node_seqops; extern struct seq_operations rose_route_seqops; void rose_add_loopback_neigh(void); -int __must_check rose_add_loopback_node(rose_address *); -void rose_del_loopback_node(rose_address *); +int __must_check rose_add_loopback_node(const rose_address *); +void rose_del_loopback_node(const rose_address *); void rose_rt_device_down(struct net_device *); void rose_link_device_down(struct net_device *); struct net_device *rose_dev_first(void); |