On Fri, Nov 24, 2023 at 10:14:36PM +0100, Christophe JAILLET wrote: > Most of parport_register_dev_model() callers pass a 'name' that is a > constant string. > > So kstrdup_const() can be used to save the duplication of this string > when it is not needed. This saves a few bytes of memory. > > Use kfree_const() accordingly when this string is freed. Looks good to have, hence no objection from me, Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> -- With Best Regards, Andy Shevchenko