Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2444898imm; Mon, 24 Sep 2018 04:37:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY7XQJbmlH+rzjwwWe3RehjQAwOfTHBPmBQaxjT3vZI4sTCzekzhgRgY82zxx8EPZXP6hQ6 X-Received: by 2002:a62:9e52:: with SMTP id s79-v6mr4954745pfd.110.1537789044690; Mon, 24 Sep 2018 04:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537789044; cv=none; d=google.com; s=arc-20160816; b=kS25cgOy8rmY/W0DoryjYMeE1205zevd6yx4d0DEyHXjbIe8+YQpyWFGRg6K82aLrZ uiQDcB1CeYaTUT/uwC9Zw+WBMAuzOsfQkR2Cwn/jp0RcHABzzXGlNH4fkeyZCbq2O0qY 0MqVd3HYJg4ssQ26KTapApfoz0NXS42UqTPqbnjI+PZC56sDR5Qkm/1GSBO8v/cgHvHw dglq4rtlnUjKAnBQaLIQxRhXMIHsBg8RnJXv0uIiClMVavmLz+zaWN3MT+Iv6UZEKkKz 1AtivEoYkl5BeygVjqDGHG6eLLwESNpE/zcAUs0ErArF8L8LjRgRB0HY2zwqipKy1UqR BylQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jG7pn5RDX2M9asE3ullvRPSRzQJM15FiaiJdXE3ztk4=; b=S3jS6AAao401sELyx9lvLSuzEz2Zn93930aTqRzcrjCdJ/LJtKMUJXn/UxDtvx6PLV qM6eXaZ7iRJwgB/Q6YbuMKdEX+6TBmyr+SfMEXL4T2/RwN7m+XpScY9dS9Z8MIzdh0a6 p1FgpMb5PnSoB6fcYKtk5rSBdTjgCxHvnJrPXqcaQMxBZ8RzCpKnbcIPGtwr/FxRLvAE tVO/xEtYiXhEaXuWYIY8bbTG16yl51KtFfeMBSAj/hnkKZ4vWZ61MjwdTZNhPVGF55im nLaPZOTfp8QciUDZ1PMhza3WnvvAxc/ASjaWtd5JLyt/bqJCLm8BMxXYvcU8h9hq9Jnu svjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tGVFIhYz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24-v6si2497774pgi.313.2018.09.24.04.37.05; Mon, 24 Sep 2018 04:37:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tGVFIhYz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728542AbeIXRW1 (ORCPT + 99 others); Mon, 24 Sep 2018 13:22:27 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:54850 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbeIXRW0 (ORCPT ); Mon, 24 Sep 2018 13:22:26 -0400 Received: by mail-it1-f196.google.com with SMTP id f14-v6so9990044ita.4 for ; Mon, 24 Sep 2018 04:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jG7pn5RDX2M9asE3ullvRPSRzQJM15FiaiJdXE3ztk4=; b=tGVFIhYzwgBEny9ihcvrsx/JTFT3mmuqY74wbbYs7UBm4UuF7mtYJ+iAOiZza1UPRq 8ryfyGrjPHQoiPCFYGaarh87DjMvzwGGvXO3oX0ymb4z0zfOv0uJsQUq7GrWU7qI4oJB EYWIu4zBZB5Wnco46hpACUTDOZl7t4ytYtiR6ifLsCKrYPu8N+FQOjQqFIoDP56K3bnE X/5VlzxnaKT22GVC+pCtgXu6boAXnk5/JYxWBo/34o/ZIv0EOX/ndu9y4ibrBU25X7M/ hi6E9DTXSCkHBSWD4HrlFYGd31CBEf+Lrw2GB5fxSYr0OLRy8JThWWIJ+UfUPWAC+TT6 KP7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jG7pn5RDX2M9asE3ullvRPSRzQJM15FiaiJdXE3ztk4=; b=LUNERRcAYLjSFzc9zIofW4ScXcGTzjfpHzlTdRu840/wWMZmh4K6Pi4bZgn5tLPs1B 0jtBUitRoho1gXEys3b5J8RkoiuR2AHYDUfzSBT541rJeqF0GE6Qon6eszo8qTk8+tXa 3KhkESbpyH64781BWRt3Wkd39DxWVf/TDg6vA5x0I775ns6Nbf6TmBnpiOl/dOZ8e7X6 B2kWKbAZQRnQYmJtJZB2ALAsB5lvb8JwNkP3/mIwW8EeHRpEnXUdo8E6noMzKA0pU3BN XtVnua2J5U7vHIrylPGSsopILZxvdSi/lBkeBPzvgmR4DIYQFhjPJYlkxyV47V51RHTd xVzw== X-Gm-Message-State: ABuFfogSyy4RCvarOPs85iAMmewVt/myPAeWtRqBP0KBJxM3hda4Myik KuMo+ljoSIjVR6yVneo1iNE/1VQbx0e2RWFsHPVPTQ== X-Received: by 2002:a24:a20f:: with SMTP id j15-v6mr2057130itf.125.1537788051308; Mon, 24 Sep 2018 04:20:51 -0700 (PDT) MIME-Version: 1.0 References: <20180924101150.23349-1-brgl@bgdev.pl> <20180924111601.GL15943@smile.fi.intel.com> In-Reply-To: <20180924111601.GL15943@smile.fi.intel.com> From: Bartosz Golaszewski Date: Mon, 24 Sep 2018 13:20:40 +0200 Message-ID: Subject: Re: [PATCH v3 0/4] devres: provide and use devm_kstrdup_const() To: Andy Shevchenko 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 , Linux Kernel Mailing List , linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pon., 24 wrz 2018 o 13:16 Andy Shevchenko napisa=C5=82(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 > >