rds: rds_message_zcopy_from_user() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 8 Mar 2018 10:56:14 +0000 (18:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 02:52:20 +0000 (21:52 -0500)
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>
net/rds/message.c

index 90dcdcf..3c610d5 100644 (file)
@@ -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;