diff options
| author | Oded Gabbay <[email protected]> | 2022-05-11 10:06:39 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-05-22 21:01:20 +0200 |
| commit | 49d2a8af97a20d65d09ac85b57e525b32fdaa0e4 (patch) | |
| tree | aa91b3f23f28eb03393f3953d437f5e9092e5fb4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 368b0b4fd6971b63ab9eb0a969b5847755d09493 (diff) | |
habanalabs: use NULL for eventfd
eventfd is pointer. As such, it should be initialized to NULL, not to 0.
In addition, no need to initialize it after creation because the
entire structure is zeroed-out. Also, no need to initialize it before
release because the entire structure is freed.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions