Skip to content

Commit

Permalink
drm/amdgpu: remove redundant semicolons in RAS_EVENT_LOG
Browse files Browse the repository at this point in the history
commit 332210c upstream.

remove redundant semicolons in RAS_EVENT_LOG to avoid
code format check warning.

Fixes: b712d7c ("drm/amdgpu: fix compiler 'side-effect' check issue for RAS_EVENT_LOG()")
Signed-off-by: Yang Wang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Yang Wang authored and gregkh committed Sep 8, 2024
1 parent 9ce2784 commit b4fc7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct amdgpu_iv_entry;
#define AMDGPU_RAS_GET_FEATURES(val) ((val) & ~AMDGPU_RAS_FEATURES_SOCKETID_MASK)

#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__)

enum amdgpu_ras_block {
AMDGPU_RAS_BLOCK__UMC = 0,
Expand Down

0 comments on commit b4fc7d0

Please sign in to comment.