diff options
| author | Parav Pandit <[email protected]> | 2018-07-29 11:53:14 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-07-30 20:49:04 -0600 |
| commit | 7582df826734bad71522b442b8977e3dee63a77a (patch) | |
| tree | 09a33cd318258ba431c378082b21dab70a1f71ad /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | ca3a8ace2b128abb7f164de9e10b8431eaddc2ac (diff) | |
RDMA/core: Avoid holding lock while initializing fields on stack
In various functions rdma_cm_event is zero initialized on stack using
memset() while holding lock which is not necessary.
Therefore, don't hold the lock while initializing on stack.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions