Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v2] mod_devicetable: Bump auxiliary_device_id name size
@ 2025-11-06  5:28 Raag Jadav
  2025-11-06  7:40 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Raag Jadav @ 2025-11-06  5:28 UTC (permalink / raw)
  To: kees, broonie, gregkh, arnd, andriy.shevchenko, hansg,
	ilpo.jarvinen, linus.walleij, brgl
  Cc: platform-driver-x86, linux-gpio, linux-kernel, Raag Jadav

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>
---
v2: Describe the use case (Greg, Andy)

Triggered by [1].

[1] https://lore.kernel.org/r/aQSwWLVKH_3TthTW@smile.fi.intel.com

 include/linux/mod_devicetable.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 6077972e8b45..24eb5a88a5c5 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -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 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-06  8:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06  5:28 [PATCH v2] mod_devicetable: Bump auxiliary_device_id name size Raag Jadav
2025-11-06  7:40 ` Andy Shevchenko
2025-11-06  7:58   ` Raag Jadav
2025-11-06  8:05     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox