Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp767971rdb; Thu, 15 Feb 2024 15:12:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUYaqzNKRtjf7b9RbNYLp9gv+1tGHWeF6WEy09t1Hpe4yg2EChKh+B0r6wxuOOHJb3SxTKa1KQZuHBOUKXJ5heTK68AdxaEdEo5/euOMg== X-Google-Smtp-Source: AGHT+IGb8EXTao6JJtEBODznFbBY5VqegWif1/pvR6nydfSzMIsNJ2XRA13ONfPG+ojTaEwAiNmg X-Received: by 2002:a05:6808:22a6:b0:3be:a638:ee97 with SMTP id bo38-20020a05680822a600b003bea638ee97mr3599464oib.19.1708038748690; Thu, 15 Feb 2024 15:12:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708038748; cv=pass; d=google.com; s=arc-20160816; b=NyRHmJ77j6yS8dRcB7ktcJLQjgBDhk4NbHZ4Ikm8dcJ3b6cUJhSddj+nag1azLBwGX KaX3HWOt7qKa3CxfDNejfLQd+EEWn4X4Wdn5gbmalCqtJaOND8T3uZafeKEUAQQBjxvF hF7tfk8xqqSdG6X37grH4jcKi6YLFP4danhHLG68zVt+R/UybqnHfcMdQu6eON/8EiMN 1/Qc32Rv+AgKXzwk556yNXhGLOCu/KX/y2XnehaX7+NcEAY1bDm0MFGCXYvSDsWKQKcV znxuA/CibT/t4PuRkkisA4wzNmnuw4ZQh5Neg3szxff6OPrCq1pTNspwcmUo67EEaRf7 jdBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=aaUhC01x9HTZzV8VnkCtwU6rW0Eafkzo96RZI6uXcX4=; fh=XcM2Z+J837MqXYk/UMFZzbHjrHkIgb2RmmKwTooz4J0=; b=QsndWPn379m57Gzr7vKHNNnhKa98QAJ4IC96ZPeSwjvcWkIqm+oEpBFnwNKkXoPkSQ psqDHI1l5pk4igXbbzv494qpOosv/VBh94oBJGpwiWHJDuYcMB4yl+FtucgCTbkZgn97 pdlH18GSZiTZIV4nBDxgEMcVN97sQnxb6fhJlUD4UilamdZt1JgjjRbWi5uJuOsU1xBS 4G57q7MnU/FaffmWRIgfmnSrKbVkvet5/JYne7WIa4KUaUxeQ+DxGQ7q7myeFjm+yTSR HP7AFSn2NHZ36Y1s1pMZ0+3Ju7ysap6voGTmjL7L8gYWLHbAx57nXOYF6fJMgK5EsIC3 DTzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VKWARMnY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67798-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67798-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id hu14-20020a056214234e00b0068eeb0d26ddsi2678662qvb.229.2024.02.15.15.12.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 15:12:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67798-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VKWARMnY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67798-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67798-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 707E21C21A23 for ; Thu, 15 Feb 2024 23:12:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5ED5C145B01; Thu, 15 Feb 2024 23:12:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VKWARMnY" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F77255E7F; Thu, 15 Feb 2024 23:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708038735; cv=none; b=mPSb9K99t1xp3iGtr7uTiz/JQTq7DqFeIFS0UziTYoSihtzU10B1ucdUmW8HiPdWqUpqPsycrekKuW2OJHPnPz5EtPWcUnWbCGXiJwhGLhcIEzhIbkikenpCMK3o2L9ZQ/hnPfTyExsjXKdFJMmnHFHqY8PNzzpAun8SoSHkMDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708038735; c=relaxed/simple; bh=Eb/9YuG1ExOw9aKA1oqZbr3X02sG3sH9UxVJp/eMEdU=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:To:Date; b=A8/faeqstJc8uDPzLCJjE0eIfFPv5WdkhucizwpZgZSvofJ6mI3VeCM3wdu9dh8fOwi0LwcP/KEGmIs7wIC62nb3FxCehe6XlIY0YdgvBBsNcyPm90MA8msb6P5EhXkB8Fz0hTtF48K/5+eIlpLA4oi99v0j8VTngGgx9uV+UmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VKWARMnY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8FE2C433C7; Thu, 15 Feb 2024 23:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708038734; bh=Eb/9YuG1ExOw9aKA1oqZbr3X02sG3sH9UxVJp/eMEdU=; h=In-Reply-To:References:Subject:From:To:Date:From; b=VKWARMnYNviJPXiOtKuoccPiteYKCHSVFRLfobnKgCAmFe3rC2z0Wd3jsy6VvnDNO LU9halfyBb8j8Gtgt3x3Yl2qjLDsAaN4XWZY7vP2J42INqR9FJQbRW1OHvIkeGQQFp uBCYksmhH7HE6OaG4D9ym/b893RmduQl4SpP0JiZwyMF3BNC3fvmpvB1RmIpvsXepi DfFkHY0/gR6aJRNCjSdzlugiIA0yQlY7txVukxSAYJg5oBs5tW432Y/k7zJ3C35m36 +j4EikR/4v5vFeyHEmEG7BhaHzvhhTsPRPWFIm8wrAx8nLp781+VxGDyfk8VT7NiAg cIy678urUpZjg== Message-ID: <38e7e80f61f7c67c984735cf55c3dfb3.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240208163710.512733-1-krzysztof.kozlowski@linaro.org> References: <20240208163710.512733-1-krzysztof.kozlowski@linaro.org> Subject: Re: [PATCH] clk: constify the of_phandle_args argument of of_clk_provider From: Stephen Boyd To: Bjorn Andersson , Geert Uytterhoeven , Jaroslav Kysela , Jonathan Hunter , Konrad Dybcio , Krzysztof Kozlowski , Laurent Pinchart , Linus Walleij , Mark Brown , Mauro Carvalho Chehab , Michael Turquette , NXP Linux Team , Nishanth Menon , Peng Fan , Russell King , Shawn Guo , Srinivas Kandagatla , Sudeep Holla , Takashi Iwai , Thierry Reding , Vinod Koul , alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-phy@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, patches@opensource.cirrus.com Date: Thu, 15 Feb 2024 15:12:12 -0800 User-Agent: alot/0.10 Quoting Krzysztof Kozlowski (2024-02-08 08:37:10) > None of the implementations of the get() and get_hw() callbacks of > "struct of_clk_provider" modify the contents of received of_phandle_args > pointer. They treat it as read-only variable used to find the clock to > return. Make obvious that implementations are not supposed to modify > the of_phandle_args, by making it a pointer to const. >=20 > Signed-off-by: Krzysztof Kozlowski > --- This will almost certainly break the build once it is merged to linux-next. What's your plan to merge this?