drivers/gpu/drm/amd/amdgpu/si.c:1017:8-9: WARNING: return of 0/1 in function 'si_read_disabled_bios' 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: Ken Wang Qingqing.Wang@amd.com Signed-off-by: Fengguang Wu fengguang.wu@intel.com ---
si.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/amd/amdgpu/si.c +++ b/drivers/gpu/drm/amd/amdgpu/si.c @@ -1014,7 +1014,7 @@ static int si_read_register(struct amdgp
static bool si_read_disabled_bios(struct amdgpu_device *adev) { - return 0; + return false; } //xxx: not implemented static int si_asic_reset(struct amdgpu_device *adev)