mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
drm/xe/pf: Fix signature of internal config helpers
Both pf_get_exec_quantum() and pf_get_preempt_timeout() should return u32 as this is a type of the underlying data. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com> Link: https://patch.msgid.link/20251030222348.186658-8-michal.wajdeczko@intel.com
This commit is contained in:
parent
0daf64b6df
commit
3c54ef9121
|
|
@ -1727,7 +1727,7 @@ static int pf_provision_exec_quantum(struct xe_gt *gt, unsigned int vfid,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int pf_get_exec_quantum(struct xe_gt *gt, unsigned int vfid)
|
||||
static u32 pf_get_exec_quantum(struct xe_gt *gt, unsigned int vfid)
|
||||
{
|
||||
struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
|
||||
|
||||
|
|
@ -1830,7 +1830,7 @@ static int pf_provision_preempt_timeout(struct xe_gt *gt, unsigned int vfid,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int pf_get_preempt_timeout(struct xe_gt *gt, unsigned int vfid)
|
||||
static u32 pf_get_preempt_timeout(struct xe_gt *gt, unsigned int vfid)
|
||||
{
|
||||
struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user