Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2426915imm; Mon, 24 Sep 2018 04:17:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdapWJuhINFv/smU0DoI0e0rtdptrglbLELj5UX5gK0AVWwWKDsXgHqI3LYqVJ4lOS6XNewK X-Received: by 2002:a62:cd3:: with SMTP id 80-v6mr10055280pfm.184.1537787833946; Mon, 24 Sep 2018 04:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537787833; cv=none; d=google.com; s=arc-20160816; b=G5NB24Eiq8GPjdzRz3TO/xMSkM2Z8z2+msPbfcA+nj3HvVBGM1+0Te56d+3qxNG9xY vFDnXk7/e6Glb2CGIKmPGqhE24NctPIXaff84vMOefqt5TJxcS2EGAmV9KGC5Sh7myOk 1R9vJMOB7tBB2RrC8/jlksMJF/1uzL4XgdoF3osfubZg8TJqdg8wP41DAgo0Bj8/Dr3e mI6h5XjYWGZH9w+MqZ1XSAwKbEl/YDgfnIbln0JKOwszpLqktW2nU8oe1LodPI7JyMJ/ fnQIch+Rd1oDheVeB7J+UQ0WUXTBr83jzxdpHpV1xQk1EHhjgwn8Fzzgw1HKlgIOBiGA YNTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NZ4Rfhwh7rTkupOI2uUQ3rXhqYLfogc6XI3MZHzpKNw=; b=Me8dh4QK+vmjW0Wfw6OYoaGftncL0MT+uslqMUho+aEBEr52VahzeU24jUKYqh+/HT cVD4QlnNSUuHRysfMhAcKtcGTPb5I5VJuryGVpcXQkxJbOIBTsQy3a0c+OZ6TBpti/ds Knu78eX8shesG1Yo/EjUjWmOEhZvS7O1q1xpzw1VREyBYTX2NVcEsRuYYUGMDmM1HTvb KNlwIYwh4xvRwtASdgqhjMc0hWBGJmYe08pWeddqTbxvukg0IJuuWIquY2TFfBvBe9Ii x35kndnvSQ7i3GBJfirInATYL/mV3MB4N5IpkFYtjJWQS0QQFkSWkO4qZ/8/eQrWZWbY QZ1A== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 137-v6si38087998pfx.155.2018.09.24.04.16.58; Mon, 24 Sep 2018 04:17:13 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727650AbeIXRSP (ORCPT + 99 others); Mon, 24 Sep 2018 13:18:15 -0400 Received: from mga14.intel.com ([192.55.52.115]:55863 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbeIXRSP (ORCPT ); Mon, 24 Sep 2018 13:18:15 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 04:16:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="75727393" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga008.jf.intel.com with ESMTP; 24 Sep 2018 04:16:04 -0700 Received: from andy by smile with local (Exim 4.91) (envelope-from ) id 1g4OqP-0002Em-Qt; Mon, 24 Sep 2018 14:16:01 +0300 Date: Mon, 24 Sep 2018 14:16:01 +0300 From: Andy Shevchenko 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 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> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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