]> www.infradead.org Git - users/hch/configfs.git/commitdiff
drm/xe/observation: Drop empty sysctl table entry
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 5 Aug 2024 06:20:57 +0000 (23:20 -0700)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 5 Aug 2024 18:49:38 +0000 (11:49 -0700)
An empty sysctl table entry was inadvertently left behind for observation
sysctl. The breaks on 6.11 with the following errors:

[  219.654850] sysctl table check failed: dev/xe/(null) procname is null
[  219.654862] sysctl table check failed: dev/xe/(null) No proc_handler

Drop the empty entry.

Fixes: 8169b2097d88 ("drm/xe/uapi: Rename xe perf layer as xe observation layer")
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2419
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240805062057.3547560-1-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/xe_observation.c

index fcb584b42a7d511e5fd6656b37acfacfe305f85a..a78c92a44ec2d2ec31757f58ff289bd243872b35 100644 (file)
@@ -66,7 +66,6 @@ static struct ctl_table observation_ctl_table[] = {
         .extra1 = SYSCTL_ZERO,
         .extra2 = SYSCTL_ONE,
         },
-       {}
 };
 
 /**