diff options
author | 2015-11-12 12:58:34 -0500 | |
---|---|---|
committer | 2015-12-21 16:42:34 -0500 | |
commit | 62a03f6d58dafd3d25f527e75589d45ba4b3a537 (patch) | |
tree | 0a317fa41c697590c6d351197c2aa435631fc6fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu/powerplay/fiji: query supported pcie info from cgs (v2) (diff) | |
download | linux-dev-62a03f6d58dafd3d25f527e75589d45ba4b3a537.tar.xz linux-dev-62a03f6d58dafd3d25f527e75589d45ba4b3a537.zip |
drm/amd/powerplay: fix boolreturn.cocci warnings
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:2653:9-10: WARNING: return of 0/1 in function 'is_pcie_gen2_supported' with return type bool
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:2645:9-10: WARNING: return of 0/1 in function 'is_pcie_gen3_supported' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
CC: yanyang1 <young.yang@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions