diff options
author | Yang Wang <kevinyang.wang@amd.com> | 2025-09-03 14:29:12 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:40 -0400 |
commit | cf32515a70618c0fb2319bd4a855f4d9447940a8 (patch) | |
tree | 25c735b65799caca64578bb6abbc20b592da6427 /rust/helpers/build_bug.c | |
parent | bddf30944d42e1fb7f105fad4e5f9e7e86ea871e (diff) |
drm/amd/pm: refine amdgpu pm sysfs node error code
v1:
Returns different error codes based on the scenario to help the user app understand
the AMDGPU device status when an exception occurs.
v2:
change -NODEV to -EBUSY.
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions