aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2018-07-29 11:53:14 +0300
committerJason Gunthorpe <[email protected]>2018-07-30 20:49:04 -0600
commit7582df826734bad71522b442b8977e3dee63a77a (patch)
tree09a33cd318258ba431c378082b21dab70a1f71ad /scripts/gcc-plugins/cyc_complexity_plugin.c
parentca3a8ace2b128abb7f164de9e10b8431eaddc2ac (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