summaryrefslogtreecommitdiff
path: root/net/strparser
diff options
context:
space:
mode:
authorwentalou <Wentao.Lou@amd.com>2019-04-02 17:13:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-04-04 10:22:06 -0500
commit1712fb1a2f6829150032ac76eb0e39b82a549cfb (patch)
tree78822194b681dd076ab52fe2d6289a1e128c47e4 /net/strparser
parentd4162c61e253177936fcfe6c29f7b224d9a1efb8 (diff)
drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list
amdgpu_bo_restore_shadow would assign zero to r if succeeded. r would remain zero if there is only one node in shadow_list. current code would always return failure when r <= 0. restart the timeout for each wait was a rather problematic bug as well. The value of tmo SHOULD be changed, otherwise we wait tmo jiffies on each loop. Signed-off-by: Wentao Lou <Wentao.Lou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions