aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMonam Agarwal <[email protected]>2014-03-22 12:28:10 +0530
committerPaolo Bonzini <[email protected]>2014-08-19 15:12:29 +0200
commit3b63a43f1e04b935e1ce0383f78ac0f5c65433d8 (patch)
tree9530842d774d7001ac627c9662ee45d7a084a604 /lib/test-string_helpers.c
parent15fc075269e42230605343554c5c8001eb819228 (diff)
arch/x86: Use RCU_INIT_POINTER(x, NULL) in kvm/vmx.c
Here rcu_assign_pointer() is ensuring that the initialization of a structure is carried out before storing a pointer to that structure. So, rcu_assign_pointer(p, NULL) can always safely be converted to RCU_INIT_POINTER(p, NULL). Signed-off-by: Monam Agarwal <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions