diff options
author | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2016-12-04 16:41:29 -0800 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2017-01-02 14:02:40 -0800 |
commit | bb7897631d2379ec198635cc24bf1e8c629d0bda (patch) | |
tree | 714d59f4ebde146b08209a6533b37ea3d676d57d /net/rds/connection.c | |
parent | f69b22e65ecfcb3648304e0e32a1df6f0d421375 (diff) | |
download | op-kernel-dev-bb7897631d2379ec198635cc24bf1e8c629d0bda.zip op-kernel-dev-bb7897631d2379ec198635cc24bf1e8c629d0bda.tar.gz |
RDS: mark few internal functions static to make sparse build happy
Fixes below warnings:
warning: symbol 'rds_send_probe' was not declared. Should it be static?
warning: symbol 'rds_send_ping' was not declared. Should it be static?
warning: symbol 'rds_tcp_accept_one_path' was not declared. Should it be static?
warning: symbol 'rds_walk_conn_path_info' was not declared. Should it be static?
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/connection.c')
-rw-r--r-- | net/rds/connection.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/rds/connection.c b/net/rds/connection.c index fe9d31c..0e04dcc 100644 --- a/net/rds/connection.c +++ b/net/rds/connection.c @@ -545,11 +545,11 @@ void rds_for_each_conn_info(struct socket *sock, unsigned int len, } EXPORT_SYMBOL_GPL(rds_for_each_conn_info); -void rds_walk_conn_path_info(struct socket *sock, unsigned int len, - struct rds_info_iterator *iter, - struct rds_info_lengths *lens, - int (*visitor)(struct rds_conn_path *, void *), - size_t item_len) +static void rds_walk_conn_path_info(struct socket *sock, unsigned int len, + struct rds_info_iterator *iter, + struct rds_info_lengths *lens, + int (*visitor)(struct rds_conn_path *, void *), + size_t item_len) { u64 buffer[(item_len + 7) / 8]; struct hlist_head *head; |