diff options
| author | Dennis Li <Dennis.Li@amd.com> | 2021-04-16 17:41:11 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-21 04:36:01 +0300 |
| commit | 6df23f4c5cef5b6d8879720ef7c842adffc565c9 (patch) | |
| tree | f3ae728e01fc641722594005771462fbe42ba5b9 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 1f8d3ad2a01957ddb7c8198ee293e0feaa03ea18 (diff) | |
| download | linux-6df23f4c5cef5b6d8879720ef7c842adffc565c9.tar.xz | |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
