]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: bindings: add missing explicit padding
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 16 Dec 2025 02:57:07 +0000 (11:57 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 16 Dec 2025 12:59:40 +0000 (21:59 +0900)
commitb6c76518233e876a0f26e66b83643891c0f341db
tree36ac8c7fdd5fdefc8ad03697b3e01108a2a8b946
parent3d3352e73a55a4ccf110f8b3419bbe2fbfd8a030
gpu: nova-core: bindings: add missing explicit padding

Explicit padding is needed in order to avoid uninitialized bytes and
safely implement `AsBytes`. The `--explicit-padding` of bindgen was
omitted by mistake when these bindings were generated.

Fixes: 13f85988d4fa ("gpu: nova-core: gsp: Retrieve GSP static info to gather GPU information")
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20251216-nova-fixes-v3-1-c7469a71f7c4@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs