RE: [PATCH] drm/amdgpu: remove redundant semicolons in RAS_EVENT_LOG

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

 



[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Tao Zhou <tao.zhou1@xxxxxxx>

> -----Original Message-----
> From: Wang, Yang(Kevin) <KevinYang.Wang@xxxxxxx>
> Sent: Thursday, July 4, 2024 1:53 PM
> To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> Cc: Zhang, Hawking <Hawking.Zhang@xxxxxxx>; Zhou1, Tao
> <Tao.Zhou1@xxxxxxx>
> Subject: [PATCH] drm/amdgpu: remove redundant semicolons in
> RAS_EVENT_LOG
>
> remove redundant semicolons in RAS_EVENT_LOG to avoid code format check
> warning.
>
> Fixes: 951c09c88fca ("drm/amdgpu: fix compiler 'side-effect' check issue for
> RAS_EVENT_LOG()")
>
> Signed-off-by: Yang Wang <kevinyang.wang@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
> index 9224fc6418e4..518b10f190ec 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
> @@ -72,7 +72,7 @@ struct amdgpu_iv_entry;
>  #define RAS_EVENT_ID_IS_VALID(x)     (!((x) & BIT_ULL(63)))
>
>  #define RAS_EVENT_LOG(adev, id, fmt, ...)    \
> -     amdgpu_ras_event_log_print((adev), (id), (fmt), ##__VA_ARGS__);
> +     amdgpu_ras_event_log_print((adev), (id), (fmt), ##__VA_ARGS__)
>
>  #define amdgpu_ras_mark_ras_event(adev, type)        \
>       (amdgpu_ras_mark_ras_event_caller((adev), (type),
> __builtin_return_address(0)))
> --
> 2.34.1





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux