From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by kanga.kvack.org (Postfix) with ESMTP id 92DA58E0001 for ; Mon, 24 Sep 2018 07:16:42 -0400 (EDT) Received: by mail-pl1-f199.google.com with SMTP id b6-v6so9842743pls.16 for ; Mon, 24 Sep 2018 04:16:42 -0700 (PDT) Received: from mga04.intel.com (mga04.intel.com. [192.55.52.120]) by mx.google.com with ESMTPS id w7-v6si37520939pgf.231.2018.09.24.04.16.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Sep 2018 04:16:41 -0700 (PDT) Date: Mon, 24 Sep 2018 14:16:01 +0300 From: Andy Shevchenko Subject: Re: [PATCH v3 0/4] devres: provide and use devm_kstrdup_const() Message-ID: <20180924111601.GL15943@smile.fi.intel.com> References: <20180924101150.23349-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180924101150.23349-1-brgl@bgdev.pl> Sender: owner-linux-mm@kvack.org List-ID: To: Bartosz Golaszewski Cc: Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , "Rafael J . Wysocki" , Arend van Spriel , Ulf Hansson , Bjorn Helgaas , Vivek Gautam , Robin Murphy , Joe Perches , Heikki Krogerus , Andrew Morton , Mike Rapoport , Michal Hocko , Al Viro , Jonathan Corbet , Roman Gushchin , Huang Ying , Kees Cook , Bjorn Andersson , Arnd Bergmann , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org 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? > 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