On Wed, May 22, 2024 at 08:19:07PM +0300, Andy Shevchenko wrote: > On Wed, May 22, 2024 at 06:48:07PM +0200, Hans de Goede wrote: ... > > + ret = kstrtou32(value, 10, &u32val); One more thing, why to limit to the decimal only? Should be up to user to choose. And some properties (now or in the future) actually might benefit from being able to be entered in hexadecimal form. > > + if (ret) > > + return ret; -- With Best Regards, Andy Shevchenko