提交 496c7f3c 编写于 作者: K kbuild test robot 提交者: David S. Miller

rds: rds_message_zcopy_from_user() can be static

Fixes: d40a126b ("rds: refactor zcopy code into rds_message_zcopy_from_user")
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Acked-by: NSowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 054f34da
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册