diff options
| author | Dafna Hirschfeld <[email protected]> | 2022-05-19 10:54:30 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2022-07-12 09:09:21 +0300 |
| commit | 78d503087be190eab36290644ccec050135e7c70 (patch) | |
| tree | fb2bd683e28803723dee559e7c0386f9cd254338 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 18b67315388cb528479050839c69d245164f6183 (diff) | |
habanalabs: add terminating NULL to attrs arrays
Arrays of struct attribute are expected to be NULL terminated.
This is required by API methods such as device_add_groups.
This fixes a crash when loading the driver for Goya device.
Signed-off-by: Dafna Hirschfeld <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions