From: Greg KH <gregkh@linuxfoundation.org>
To: Raag Jadav <raag.jadav@intel.com>
Cc: kees@kernel.org, broonie@kernel.org, arnd@arndb.de,
andriy.shevchenko@linux.intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] mod_devicetable: Bump auxiliary_device_id name size
Date: Sat, 1 Nov 2025 07:18:22 +0100 [thread overview]
Message-ID: <2025110105-upright-dinginess-3b2c@gregkh> (raw)
In-Reply-To: <20251031190234.224813-1-raag.jadav@intel.com>
On Sat, Nov 01, 2025 at 12:32:34AM +0530, Raag Jadav wrote:
> Since auxiliary device id string is formed using the combination of parent
> and child device names, it may require more than 32 bytes if both the names
> are long enough. Bump the size to 40 bytes to satisfy such cases.
What in-kernel users need such a larger name? If we allow larger names,
people will try to do crazy things and use memory addresses in them (has
happened already...)
> Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Raag Jadav <raag.jadav@intel.com>
> ---
> Triggered by [1].
>
> [1] https://lore.kernel.org/r/aQSwWLVKH_3TthTW@smile.fi.intel.com
How long would this driver submission's name be? I couldn't figure it
out, and really, any device with a huge name is going to be a pain...
thanks,
greg k-h
next prev parent reply other threads:[~2025-11-01 6:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-31 19:02 Raag Jadav
2025-11-01 6:18 ` Greg KH [this message]
2025-11-03 8:16 ` Andy Shevchenko
2025-11-03 12:50 ` Raag Jadav
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2025110105-upright-dinginess-3b2c@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=raag.jadav@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®