2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 09:03:59 +08:00
linux-next/net/sunrpc/xprtrdma
Julia Lawall ed38c33f1c xprtrdma: drop double zeroing
sg_init_table zeroes its first argument, so the allocation of that argument
doesn't have to.

the semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,n,flags;
@@

x =
- kcalloc
+ kmalloc_array
  (n,sizeof(*x),flags)
...
sg_init_table(x,n)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-09-21 12:15:25 -04:00
..
backchannel.c xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt 2020-03-27 10:47:25 -04:00
frwr_ops.c xprtrdma: drop double zeroing 2020-09-21 12:15:25 -04:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c Highlights: 2020-08-09 13:58:04 -07:00
svc_rdma_backchannel.c svcrdma: Record send_ctxt completion ID in trace_svcrdma_post_send() 2020-07-13 17:28:24 -04:00
svc_rdma_recvfrom.c svcrdma: Remove transport reference counting 2020-07-28 10:18:14 -04:00
svc_rdma_rw.c svcrdma: Remove transport reference counting 2020-07-28 10:18:14 -04:00
svc_rdma_sendto.c svcrdma: Remove transport reference counting 2020-07-28 10:18:14 -04:00
svc_rdma_transport.c svcrdma: CM event handler clean up 2020-07-28 10:18:15 -04:00
svc_rdma.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
transport.c SUNRPC: Hoist trace_xprtrdma_op_setport into generic code 2020-09-21 10:21:09 -04:00
verbs.c NFS client bugfixes for Linux 5.9 2020-09-09 11:14:20 -07:00
xprt_rdma.h xprtrdma: Clean up disconnect 2020-06-22 09:34:35 -04:00