diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2017-08-02 11:35:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-03 09:13:51 -0700 |
commit | e9e6c2329a518d43a4734b26349bb19d8dfd7e6b (patch) | |
tree | 57385d88a26b0f683056ca756923ecdd76a6e32c /net | |
parent | 5a4d148f0d781129137c790936e3ced767987daf (diff) |
X25: constify null_x25_address
null_x25_address is only used to access the string it contains, so it can
be const.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/x25/af_x25.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index 5a1a98df3499..ac095936552d 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -74,7 +74,7 @@ DEFINE_RWLOCK(x25_list_lock); static const struct proto_ops x25_proto_ops; -static struct x25_address null_x25_address = {" "}; +static const struct x25_address null_x25_address = {" "}; #ifdef CONFIG_COMPAT struct compat_x25_subscrip_struct { |