]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use true and false for bool initialisations
authorSumera Priyadarsini <sylphrenadin@gmail.com>
Mon, 26 Oct 2020 18:12:42 +0000 (23:42 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 20:51:45 +0000 (16:51 -0400)
commit1c698728504ce48b56897bdb170098f8032d77bd
treebb4185ec8941642fef3af63687e34a8bfe616722
parentc4b3590b16744bcfc706cb9c38f9aa9cdde2695f
drm/amdgpu: use true and false for bool initialisations

Bool initialisation should use 'true' and 'false' values instead of 0
and 1.

Modify amdgpu_amdkfd_gpuvm.c to initialise variable is_imported
to false instead of 0.

Issue found with Coccinelle.

Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c