[PATCH] drm/amdgpu: indent an if statement
Alex Deucher
alexdeucher at gmail.com
Wed Jun 25 15:59:42 UTC 2025
Applied. Thanks!
Alex
On Wed, Jun 25, 2025 at 11:38 AM Dan Carpenter <dan.carpenter at linaro.org> wrote:
>
> The "return true;" line wasn't indented. Also checkpatch likes when
> we align the && conditions.
>
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> index d777c049747e..a0b50a8ac9c4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> @@ -1400,8 +1400,8 @@ bool amdgpu_is_kicker_fw(struct amdgpu_device *adev)
>
> for (i = 0; i < ARRAY_SIZE(kicker_device_list); i++) {
> if (adev->pdev->device == kicker_device_list[i].device &&
> - adev->pdev->revision == kicker_device_list[i].revision)
> - return true;
> + adev->pdev->revision == kicker_device_list[i].revision)
> + return true;
> }
>
> return false;
> --
> 2.47.2
>
More information about the dri-devel
mailing list