diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-03-08 18:56:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 21:52:20 -0500 |
commit | 496c7f3caed5c56ba4ab6767a9cf7e7aa8bd8f41 (patch) | |
tree | edfcb0eafaa9568b4b6d6bfbb0ef7df9794f0864 /net/rds | |
parent | 054f34da60dfa46457ca39dd111bb2b393575dab (diff) | |
download | linux-496c7f3caed5c56ba4ab6767a9cf7e7aa8bd8f41.tar.gz linux-496c7f3caed5c56ba4ab6767a9cf7e7aa8bd8f41.tar.bz2 linux-496c7f3caed5c56ba4ab6767a9cf7e7aa8bd8f41.zip |
rds: rds_message_zcopy_from_user() can be static
Fixes: d40a126b16ea ("rds: refactor zcopy code into rds_message_zcopy_from_user")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/message.c b/net/rds/message.c index 90dcdcfe9f62..3c610d5fe7ae 100644 --- a/net/rds/message.c +++ b/net/rds/message.c @@ -355,7 +355,7 @@ struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned in return rm; } -int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from) +static int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from) { unsigned long sg_off; struct scatterlist *sg; |