Re: [PATCH] drm/amdgpu: Add a missing tab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied.  Thanks!

Alex

On Fri, Jan 13, 2023 at 9:46 AM Dan Carpenter <error27@xxxxxxxxx> wrote:
>
> This tab was deleted accidentally and triggers a Smatch warning:
>
>     drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:1006 gfx_v8_0_init_microcode()
>     warn: inconsistent indenting
>
> Add it back.
>
> Fixes: 0aaafb7359d2 ("drm/amd: Use `amdgpu_ucode_*` helpers for GFX8")
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> index 4fb577d047fd..b1f2684d854a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> @@ -1003,7 +1003,7 @@ static int gfx_v8_0_init_microcode(struct amdgpu_device *adev)
>                 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name);
>                 if (err == -ENODEV) {
>                         snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_me.bin", chip_name);
> -               err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name);
> +                       err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name);
>                 }
>         } else {
>                 snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_me.bin", chip_name);
> --
> 2.35.1



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux