diff options
author | Dennis Li <Dennis.Li@amd.com> | 2021-04-16 22:41:11 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-20 21:36:01 -0400 |
commit | 6df23f4c5cef5b6d8879720ef7c842adffc565c9 (patch) | |
tree | f3ae728e01fc641722594005771462fbe42ba5b9 /LICENSES | |
parent | 1f8d3ad2a01957ddb7c8198ee293e0feaa03ea18 (diff) | |
download | linux-6df23f4c5cef5b6d8879720ef7c842adffc565c9.tar.gz |
drm/amdgpu: fix a error injection failed issue
because "sscanf(str, "retire_page")" always return 0, if application use
the raw data for error injection, it always wrongly falls into "op ==
3". Change to use strstr instead.
Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions