diff options
author | Bart Van Assche <[email protected]> | 2016-07-21 13:03:09 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-08-02 12:02:41 -0400 |
commit | eaa74ec7329a48a4b724d8de440b3a2cbaabf7c8 (patch) | |
tree | e8d87bbfa7811c8c7ce7eb601fd522177c80a831 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 523d939ef98fd712632d93a5a2b588e477a7565e (diff) |
IB/core: Make rdma_rw_ctx_init() initialize all used fields
Some but not all callers of rdma_rw_ctx_init() zero-initialize
struct rdma_rw_ctx. Hence make rdma_rw_ctx_init() initialize all
work request fields that will be read by ib_post_send().
Fixes: a060b5629ab0 ("IB/core: generic RDMA READ/WRITE API")
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: Steve Wise <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Cc: Parav Pandit <[email protected]>
Cc: Nicholas Bellinger <[email protected]>
Cc: <[email protected]> #v4.7+
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions