drm/xe: Cleanup POINTER_LOCATION style issues
authorFrancois Dugast <francois.dugast@intel.com>
Tue, 11 Jul 2023 15:33:55 +0000 (17:33 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:37:30 +0000 (11:37 -0500)
Remove all existing style issues of type POINTER_LOCATION reported
by checkpatch.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_lrc.c

index 5c827beaea284e91959831b032de72b606b1b416..a64828bc6ad2473258df79ddb435b0ff5d4504cd 100644 (file)
@@ -132,7 +132,7 @@ static inline void xe_device_guc_submission_disable(struct xe_device *xe)
        for ((id__) = 0; (id__) < (xe__)->info.gt_count; (id__)++) \
                for_each_if((gt__) = xe_device_get_gt((xe__), (id__)))
 
-static inline struct xe_force_wake * gt_to_fw(struct xe_gt *gt)
+static inline struct xe_force_wake *gt_to_fw(struct xe_gt *gt)
 {
        return &gt->mmio.fw;
 }
index 8f25a38f36a5780ffb25a194742418a528039e56..ddb1b1d6d00d802548717e7264d69f7b7ff04966 100644 (file)
@@ -441,7 +441,7 @@ static const u8 *reg_offsets(struct xe_device *xe, enum xe_engine_class class)
        }
 }
 
-static void set_context_control(u32 * regs, struct xe_hw_engine *hwe)
+static void set_context_control(u32 *regs, struct xe_hw_engine *hwe)
 {
        regs[CTX_CONTEXT_CONTROL] = _MASKED_BIT_ENABLE(CTX_CTRL_INHIBIT_SYN_CTX_SWITCH) |
                                    _MASKED_BIT_DISABLE(CTX_CTRL_ENGINE_CTX_RESTORE_INHIBIT) |