diff options
| author | Moti Haimovski <[email protected]> | 2021-08-16 14:39:46 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2021-10-18 12:05:47 +0300 |
| commit | 4a18dde5e4c6348d48e3021cfbb01ef699005f19 (patch) | |
| tree | 98e2eebdb4936e045191b71b8e0fd99e9ad73c05 /scripts/gcc-plugins/gcc-generate-ipa-pass.h | |
| parent | 024b7b1d6dcd1960e9b669e981968ca4b6bf80cb (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