On Thu, Aug 28, 2025 at 06:00:09PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > Provide a function similar to devm_strdup_const() but for copying blocks > of memory that are likely to be placed in .rodata. > > Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > --- > drivers/base/devres.c | 21 +++++++++++++++++++++ > include/linux/device/devres.h | 2 ++ > 2 files changed, 23 insertions(+) Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>