diff options
author | Michael Chan <[email protected]> | 2019-08-02 02:17:51 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-05 13:21:55 -0700 |
commit | 0dfa0bed9662db680db2cc06457b8d152a2f22af (patch) | |
tree | cdff864480799ba5cab07e8183fb33655ad87770 /tools/perf/scripts/python/sched-migration.py | |
parent | 43a4b60d04362185cd5475fd77a02bf6c56c07e4 (diff) |
cnic: Explicitly initialize all reference counts to 0.
The driver is relying on zero'ed allocated memory and does not
explicitly call atomic_set() to initialize the ref counts to 0. Add
these atomic_set() calls so that it will be more straight forward
to convert atomic ref counts to refcount_t.
Reported-by: Chuhong Yuan <[email protected]>
Cc: Rasesh Mody <[email protected]>
Cc: <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions