Re: [PATCH v4 17/20] platform/x86/intel/tpmi: Use scnprintf() to build the debugfs names
From: Andy Shevchenko
Date: Mon Oct 12 2026 - 16:10:43 EST
On Tue, Oct 06, 2026 at 11:30:34AM -0700, Kuppuswamy Sathyanarayanan wrote:
> snprintf() is on its way out in favour of scnprintf(). Neither of the two
> callers in tpmi_dbgfs_register() looks at the return value, so the
> difference in what the two return does not matter here.
I believe I asked it already: Why do we care? Do you get any compilation
warning (assuming `make W=1`)?
--
With Best Regards,
Andy Shevchenko