]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mod_devicetable: Bump auxiliary_device_id name size
authorRaag Jadav <raag.jadav@intel.com>
Thu, 6 Nov 2025 05:28:38 +0000 (10:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 14:17:37 +0000 (15:17 +0100)
We have an upcoming driver named "intel_ehl_pse_io". This creates an
auxiliary child device for it's GPIO sub-functionality, which matches
against "intel_ehl_pse_io.gpio-elkhartlake" and overshoots the current
maximum limit of 32 bytes for auxiliary device id string. Bump the size
to 40 bytes to satisfy such cases.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Link: https://patch.msgid.link/20251106052838.433673-1-raag.jadav@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/mod_devicetable.h

index 6077972e8b45de3d07881c0226459d815dd1f83d..24eb5a88a5c580253fd58c2f841eb48ea455b34e 100644 (file)
@@ -867,7 +867,7 @@ struct mhi_device_id {
        kernel_ulong_t driver_data;
 };
 
-#define AUXILIARY_NAME_SIZE 32
+#define AUXILIARY_NAME_SIZE 40
 #define AUXILIARY_MODULE_PREFIX "auxiliary:"
 
 struct auxiliary_device_id {