aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-ipa-pass.h
diff options
context:
space:
mode:
authorMoti Haimovski <[email protected]>2021-08-16 14:39:46 +0300
committerOded Gabbay <[email protected]>2021-10-18 12:05:47 +0300
commit4a18dde5e4c6348d48e3021cfbb01ef699005f19 (patch)
tree98e2eebdb4936e045191b71b8e0fd99e9ad73c05 /scripts/gcc-plugins/gcc-generate-ipa-pass.h
parent024b7b1d6dcd1960e9b669e981968ca4b6bf80cb (diff)
habanalabs: initialize hpriv fields before adding new node
When adding a new node to the hpriv list, the driver should initialize its fields before adding the new node. Otherwise, there may be some small chance of another thread traversing that list and accessing the new node's fields without them being initialized. Signed-off-by: Moti Haimovski <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions