diff options
| author | Deborah Brouwer <deborah.brouwer@collabora.com> | 2026-09-22 16:16:08 -0700 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-09-23 06:51:25 +0000 |
| commit | 4515a693faf557b9d48e9d2b7dbd28b114a06869 (patch) | |
| tree | 454b65cf8611c7fc94de40ecc84f4a5b6966d738 /tools/lib/python/kdoc/python_version.py | |
| parent | e1a9f41b896f0d57eb1165dd8a4c7446be6af638 (diff) | |
drm/tyr: gpu_info: zero out new/unused fields
If a new field is added to the struct drm_panthor_gpu_info in the panthor
uapi, Tyr must initialize this field or it will cause a compile error.
To pre-emptively avoid compile errors, use ..pin_init::zeroed() to zero
out all new fields added to this struct. Tyr can subsequently change the
initialization as necessary. Also use it instead of manually zeroing out
existing fields at the end of the struct.
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260922-b4-gpu_info_zero-v1-1-7259840069c6@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
