diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-26 16:48:41 -0800 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-27 23:01:36 -0800 |
| commit | 89ff45359abbf9d8d3c4aa3f5a57ed0be82b5a12 (patch) | |
| tree | fbe8ce5cac4e8f1e1050b20cf10c3c5f13136a17 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 6e3f4514e3b432871ac81717d24f56b441857f77 (diff) | |
accel/amdxdna: Fill invalid payload for failed command
Newer userspace applications may read the payload of a failed command
to obtain detailed error information. However, the driver and old firmware
versions may not support returning advanced error information.
In this case, initialize the command payload with an invalid value so
userspace can detect that no detailed error information is available.
Fixes: aac243092b70 ("accel/amdxdna: Add command execution")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260227004841.3080241-1-lizhi.hou@amd.com
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
