]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/vf: Fix signature of print functions
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 14 May 2026 15:57:26 +0000 (17:57 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 15 May 2026 19:03:43 +0000 (21:03 +0200)
commit314e31c9a8a1c421ee4f7f755b9348aefbbca090
tree839d8855fe212364b6ce74142b7290504bfe625d
parent4de503bde4d76e8d75b226c316ba9f879c09cfb9
drm/xe/vf: Fix signature of print functions

We have plugged-in existing VF print functions into our GT debugfs
show helper as-is, but we missed that the helper expects functions
to return int, while they were defined as void. This can lead to
errors being reported when CFI is enabled.

Fixes: 63d8cb8fe3dd ("drm/xe/vf: Expose SR-IOV VF attributes to GT debugfs")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Mohanram Meenakshisundaram <mohanram.meenakshisundaram@intel.com>
Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://patch.msgid.link/20260514155726.7165-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
drivers/gpu/drm/xe/xe_gt_sriov_vf.h