Files
linux/drivers/gpu/drm/xe
Daniele Ceraolo Spurio 4cb1b32713 drm/xe/guc: Fix CFI violation in debugfs access.
xe_guc_print_info is void-returning, but the function pointer it is
assigned to expects an int-returning function, leading to the following
CFI error:

[  206.873690] CFI failure at guc_debugfs_show+0xa1/0xf0 [xe]
(target: xe_guc_print_info+0x0/0x370 [xe]; expected type: 0xbe3bc66a)

Fix this by updating xe_guc_print_info to return an integer.

Fixes: e15826bb3c ("drm/xe/guc: Refactor GuC debugfs initialization")
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: George D Sworo <george.d.sworo@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20260129182547.32899-2-daniele.ceraolospurio@intel.com
(cherry picked from commit dd8ea2f2ab71b98887fdc426b0651dbb1d1ea760)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
2026-02-05 09:45:22 +01:00
..
2024-05-09 21:28:25 +02:00
2025-10-15 22:48:54 -07:00
2025-10-21 13:23:16 +02:00
2025-11-19 12:26:06 +01:00
2025-06-27 14:52:31 -07:00
2025-07-01 13:58:50 -07:00
2025-09-02 22:23:08 -07:00
2025-06-27 14:52:31 -07:00
2024-05-22 12:03:55 +02:00
2026-01-26 14:50:38 +01:00
2025-10-23 07:11:38 -07:00
2025-11-12 08:57:27 -08:00
2025-01-27 08:54:06 -08:00
2025-09-23 08:07:05 -07:00
2025-02-03 11:51:26 -08:00
2024-05-13 21:36:52 +02:00
2025-06-27 14:52:31 -07:00
2025-07-28 10:22:28 -04:00