diff options
author | Lizhi Hou <lizhi.hou@amd.com> | 2024-12-17 08:54:45 -0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-17 12:10:05 -0600 |
commit | 03c318a0af96f1292e0e6fd0da92facb4f3a5c31 (patch) | |
tree | 98242dc8dcef4d54030693098783d9d7e6956b7c /drivers/gpu | |
parent | d34357743b360c99903b5a59daab08f55b2f41a1 (diff) |
accel/amdxdna: Add zero check for pad in ioctl input structures
For input ioctl structures, it is better to check if the pad is zero.
Thus, the pad bytes might be usable in the future.
Suggested-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217165446.2607585-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions