Re: [PATCH v3 0/4] devres: provide and use devm_kstrdup_const()
From: Bartosz Golaszewski
Date: Mon Sep 24 2018 - 07:20:55 EST
pon., 24 wrz 2018 o 13:16 Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> napisaÅ(a):
>
> On Mon, Sep 24, 2018 at 12:11:46PM +0200, Bartosz Golaszewski wrote:
> > This series implements devm_kstrdup_const() together with some
> > prerequisite changes and uses it in pmc-atom driver.
> >
>
> Through which tree you are assuming this would be directed?
>
I think that patches 1-3 would be best picked up by Andrew Morton.
Patch 4 looks like it should go through the clock tree unless Stephen
is fine with Acking it and it going through the mm tree together with
others.
Bart
> > v1 -> v2:
> > - fixed the changelog in the patch implementing devm_kstrdup_const()
> > - fixed the kernel doc
> > - moved is_kernel_rodata() to asm-generic/sections.h
> > - fixed constness
> >
> > v2 -> v3:
> > - rebased on top of 4.19-rc5 as there were some conflicts in the
> > pmc-atom driver
> > - collected Reviewed-by tags
> >
> > Bartosz Golaszewski (4):
> > devres: constify p in devm_kfree()
> > mm: move is_kernel_rodata() to asm-generic/sections.h
> > devres: provide devm_kstrdup_const()
> > clk: pmc-atom: use devm_kstrdup_const()
> >
> > drivers/base/devres.c | 43 ++++++++++++++++++++++++++++++++--
> > drivers/clk/x86/clk-pmc-atom.c | 19 ++++-----------
> > include/asm-generic/sections.h | 14 +++++++++++
> > include/linux/device.h | 5 +++-
> > mm/util.c | 7 ------
> > 5 files changed, 63 insertions(+), 25 deletions(-)
> >
> > --
> > 2.18.0
> >
>
> --
> With Best Regards,
> Andy Shevchenko
>
>