diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-03-28 21:17:52 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-04-08 00:00:27 +0300 |
commit | 88ecb66b9956a14577d513a6c8c28bb2e7989703 (patch) | |
tree | bc89fe4c8c6e89323987c80475657e90dcfc6a76 /scripts/lib/abi/helpers.py | |
parent | e775278cd75f24a2758c28558c4e41b36c935740 (diff) | |
download | linux-88ecb66b9956a14577d513a6c8c28bb2e7989703.tar.xz |
drm/xe: Restore EIO errno return when GuC PC start fails
Commit b4b05e53b550 ("drm/xe/guc_pc: Retry and wait longer for GuC PC
start"), leads to the following Smatch static checker warning:
drivers/gpu/drm/xe/xe_guc_pc.c:1073 xe_guc_pc_start()
warn: missing error code here? '_dev_err()' failed. 'ret' = '0'
Fixes: c605acb53f44 ("drm/xe/guc_pc: Retry and wait longer for GuC PC start")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/intel-xe/1454a5f1-ee18-4df1-a6b2-a4a3dddcd1cb@stanley.mountain/
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250328181752.26677-1-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(cherry picked from commit 3f2bdccbccdcb53b0d316474eafff2e3462a51ad)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions