aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2020-05-19 20:54:55 +0000
committerAlex Deucher <[email protected]>2020-05-21 22:00:00 +0000
commitd08d692ebbc0fccb96506b80b5063b9309f219a7 (patch)
tree9b799c5c0fdccee3b62ae5d8de5a57e96e5daba0 /lib/test_vmalloc.c
parentdrm/amdkfd: fix restore worker race condition (diff)
downloadkernel-d08d692ebbc0fccb96506b80b5063b9309f219a7.tar.gz
kernel-d08d692ebbc0fccb96506b80b5063b9309f219a7.zip
drm/amdgpu: improve error handling in pcie_bw
1. Initialize the counters to 0 in case the callback fails to initialize them. 2. The counters don't exist on APUs so return an error for them. 3. Return an error if the callback doesn't exist. Reviewed-by: Yong Zhao <[email protected]> Reviewed-By: Kent Russell <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions