tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.9-si head: 80c6bf7b975077c63b6506d7dd6cb895d72afab2 commit: d1f7ef0f00bbbc985bf5ce8bdecf1944df11681a [117/127] drm/amdgpu: add all the components for si into Makefile/kconfig v3
coccinelle warnings: (new ones prefixed by >>)
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
Please review and possibly fold the followup patch.
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
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)
dri-devel@lists.freedesktop.org