]> git.ipfire.org Git - thirdparty/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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 18 May 2026 13:22:23 +0000 (09:22 -0400)
commit9bb2f1d7e6e58b8e434ddc2048c661bf87ccdf2a
tree65fea7bbb5c370f4549422e05e5abcea44d2b7c5
parentd3ded53fab90996e7d94a39049e11962dd066725
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
(cherry picked from commit 314e31c9a8a1c421ee4f7f755b9348aefbbca090)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
drivers/gpu/drm/xe/xe_gt_sriov_vf.h