aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2015-08-18 21:55:28 +0000
committerJens Axboe <[email protected]>2015-08-18 22:49:18 +0000
commit20386ce0143899ccb5bcbda714436a82d3029f33 (patch)
treef1fe9b3a30a3afce0ea20632b830007495d95b0a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentblkcg: remove unnecessary NULL checks from __cfqg_set_weight_device() (diff)
downloadkernel-20386ce0143899ccb5bcbda714436a82d3029f33.tar.gz
kernel-20386ce0143899ccb5bcbda714436a82d3029f33.zip
blkcg: refine error codes returned during blkcg configuration
blkcg currently returns -EINVAL for most errors which can be pretty confusing given that the failure modes are quite varied. Update the error returns so that * -EINVAL only for syntactic errors. * -ERANGE if the value is out of range. * -ENODEV if the target device can't be found. * -EOPNOTSUPP if the policy is not enabled on the target device. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions