From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39380C8303F for ; Fri, 29 Aug 2025 04:39:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D03u/UhYlbgS7OohI1AfsBOYVG5Wsqsc7uhnXMt0gdU=; b=Rk6v+IOpxQH+hqXklYMuE7SXxO NwdXZ6kdZx+eHMDhCu857wnuZfctujSQFAILtu5RKBSW7Pei2M6eAx51M8vLX4YZKoRgkyGplYJLH wc93fhydCCJ+qtGcjxINbQnpYGPehkXrcCtYWjLG5od+b8rMwVcD5mcYirKFFzlz6L78vtXhi2Uf6 DleSEJEPvOz4EM8YZIBJ7NMWStwhDtW4CWUZ50v4SsV6enDRH6bQusAVxxveh57/O3ayG1Caj5YVs rAVbg2HUrzmraxxYZ5nzE/wG+4/901+VyQHaz9faV4w0gpw/1URY2DcosYkKicmcwShA2bAkyjZIN 69t0Yo5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1urqtB-00000004Lqe-1mD9; Fri, 29 Aug 2025 04:39:01 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1urqqU-00000004Ldb-3zPc; Fri, 29 Aug 2025 04:36:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id BC55D6013D; Fri, 29 Aug 2025 04:36:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCE04C4CEF0; Fri, 29 Aug 2025 04:36:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756442173; bh=Xt0feyUezz/5l4+6xUi2n7/85qxMuRWR4CZoEWdHKEM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xY1Jjw8ZJBjA1gereFJwF2Toip1RNMc4A+dPEATNGOjGOWnbBOdZRcUYPKc3V7qn0 GWpberpA5gzOQUr6rZ2g81TEVJp6F5fxemjpng6mPH9tMwua0E6udfMs4Q9mfIQL5e QrOAV51Bd+lS3QmtuIBpcrPqdL6lb/E4BIM44zL0= Date: Fri, 29 Aug 2025 06:36:09 +0200 From: Greg Kroah-Hartman To: Bartosz Golaszewski Cc: Linus Walleij , Bjorn Andersson , Konrad Dybcio , Alexey Klimov , Lorenzo Bianconi , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Paul Cercueil , Kees Cook , Andy Shevchenko , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , NXP S32 Linux Team , Sascha Hauer , Tony Lindgren , Haojian Zhuang , Geert Uytterhoeven , "Rafael J. Wysocki" , Danilo Krummrich , Neil Armstrong , Mark Brown , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-hardening@vger.kernel.org, linux-mm@kvack.org, imx@lists.linux.dev, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v6 01/15] devres: provide devm_kmemdup_const() Message-ID: <2025082957-cruncher-shingle-980a@gregkh> References: <20250828-pinctrl-gpio-pinfuncs-v6-0-c9abb6bdb689@linaro.org> <20250828-pinctrl-gpio-pinfuncs-v6-1-c9abb6bdb689@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250828-pinctrl-gpio-pinfuncs-v6-1-c9abb6bdb689@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 28, 2025 at 06:00:09PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > 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 > Signed-off-by: Bartosz Golaszewski > --- > drivers/base/devres.c | 21 +++++++++++++++++++++ > include/linux/device/devres.h | 2 ++ > 2 files changed, 23 insertions(+) Acked-by: Greg Kroah-Hartman