drm/amdgpu: Clean up errors in amdgpu_trace.h
authorRan Sun <sunran001@208suo.com>
Wed, 2 Aug 2023 07:26:21 +0000 (07:26 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:43:43 +0000 (09:43 -0400)
Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)
ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h

index 525dffbe046a6e8069bd963a32d46ef8958a8bf3..2fd1bfb35916fe63f2865d4bfad4f96ecd547627 100644 (file)
@@ -432,7 +432,7 @@ TRACE_EVENT(amdgpu_vm_flush,
                           ),
            TP_printk("ring=%s, id=%u, hub=%u, pd_addr=%010Lx",
                      __get_str(ring), __entry->vmid,
-                     __entry->vm_hub,__entry->pd_addr)
+                     __entry->vm_hub, __entry->pd_addr)
 );
 
 DECLARE_EVENT_CLASS(amdgpu_pasid,
@@ -494,7 +494,7 @@ TRACE_EVENT(amdgpu_cs_bo_status,
 );
 
 TRACE_EVENT(amdgpu_bo_move,
-           TP_PROTO(struct amdgpu_bobo, uint32_t new_placement, uint32_t old_placement),
+           TP_PROTO(struct amdgpu_bo *bo, uint32_t new_placement, uint32_t old_placement),
            TP_ARGS(bo, new_placement, old_placement),
            TP_STRUCT__entry(
                        __field(struct amdgpu_bo *, bo)