diff options
| author | Roman Gushchin <[email protected]> | 2018-05-22 10:10:31 +0000 |
|---|---|---|
| committer | Shuah Khan (Samsung OSG) <[email protected]> | 2018-05-30 21:29:07 +0000 |
| commit | adb31be4424cc22f328e6664280f5c4e4902aaf3 (patch) | |
| tree | 7bc46a9f8724cbb97e5357c50377e6162e9816f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | selftests/intel_pstate: Enhance table printing (diff) | |
| download | kernel-adb31be4424cc22f328e6664280f5c4e4902aaf3.tar.gz kernel-adb31be4424cc22f328e6664280f5c4e4902aaf3.zip | |
kselftest/cgroup: fix variable dereferenced before check warning
cg_name(const char *root, const char *name) is always called with
non-empty root and name arguments, so there is no sense in checking
it in the function body (after using in strlen()).
Signed-off-by: Roman Gushchin <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Shuah Khan (Samsung OSG) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
