Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp984189rdb; Sun, 18 Feb 2024 23:34:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV2ytfCzKvMcawVHsh0nOVePz4KImQ9Lu9MCyu7agn+z7fp4atIZ6DgO9Ft/qxn0RwbzM7+7BteRPLplq+INFWF/46QCntuyGlVto6F0Q== X-Google-Smtp-Source: AGHT+IF1ytcbH5JmGGCIgviaKUjnTGAFzg7Xw4LkhWwlFwdvls9m5sJ7e3fTDX4VeB9+FJVjFQwW X-Received: by 2002:a05:6808:e85:b0:3c0:45ff:9614 with SMTP id k5-20020a0568080e8500b003c045ff9614mr15928902oil.7.1708328053214; Sun, 18 Feb 2024 23:34:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708328053; cv=pass; d=google.com; s=arc-20160816; b=Wl2gI2tCyZexqKck18XQWqlqJKMHHvtAtSmQx/H9XGPcxsxxdZJVi4CeRGwX5UhmFC jymUACCe7EWJFMVv9yol3/lVra+kVeyXFeE7iGg5jSOvEi1KWc7lZVcpfViMkei2OxuC XGwz8hFqhBNvHXDZFNpShLg9hsPJfMhHqFtzMg1UTH37uZszFzX8p39H0Xk8G+rPYy+S 4/YNSfD923Hf5+AlSykQGBCVku2bLxg2bi0Wi16qgsP1WwxGkeEBsJez/ts7RZXfYOWe TGE6upoexZWm1lDwb13h7AfSgK850Yf2FX2isenU0zSO02qS9WNDfMbupRRgSL4GuLUp 9a8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+ng3gW4V3o0lgSkXW6LbE2EKjcIRK6fb4LZxE38g6CE=; fh=2wVvNG5tjUIaH1EhPb5kG+h05oOwfL6+wg/9z5loSFo=; b=WOT2XLdb0bjp/eIzM/QigW+tnDC4UbJvSzc1wiYnNR3mVLV7x0eANxNPZiLrVzFr0o P+YPI0BHnOF79+9P+hg84dywLpWMDDA+Qjga1kLu+KZj5dffhTfdaK3XRas4lY31B55m 2mcKkzxvrA+7M9TzvoCojU6/AQnFbqtALRKeJSIGdqfVKhfzG1BnrRdR6hzSbhBCJESz 3wHZHiMb/pjWabN1PcKgZt5MiLMA7MgXtw+VgVidBD9zxVHmPMx3v+z8ARuov/2FJUaj f2mOITbbn3aqNJDhX4NSY/WtAaVIlihAsFO4Ffn1gznnjtGbmZKOpXGJiEPMCVK8vzt0 sLTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=agmGWt0G; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70834-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id cm22-20020a056a020a1600b005dc918631c7si4079427pgb.134.2024.02.18.23.34.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:34:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=agmGWt0G; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70834-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 280292824FC for ; Mon, 19 Feb 2024 07:34:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C02F20DCD; Mon, 19 Feb 2024 07:34:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="agmGWt0G" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5AE122307 for ; Mon, 19 Feb 2024 07:33:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328041; cv=none; b=qKSb9dKVBk2lkTy+aiZ/WrDyBSDdRFI1iuQRk9TgQMbsxtG+0HlLRZL1Xuozayqes9jvEbpgLPdlUDGsa0aUYJREpme327MMLTYI0N/3uIgszptOiwmbWG3IybXejgTJeR6w8fc8XL1dNI1FKGyzvpfBxeXJGUW1jdoSg0VuZmk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328041; c=relaxed/simple; bh=pSGqYWEkgA5r9fvAZaRNq9VpI+rNE64hzozwKd0Iv60=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=IDI5XYrSvuNXcG1oDF2ORSfqx4kvnXWwCdDTY/lLQN/tySDTrLjDEu/Et8osOvrIV3K+OT9HHXhG7hv/6XyryxmAQMBOIuCrmQo3nBzmBXU5BVxAP9oL8KOB53/Lw1VjYco0NFy2TB9FQInN3+CHgvsxZzHJFdaNIuPa6ejo1mg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=agmGWt0G; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-511ac32fe38so5938805e87.1 for ; Sun, 18 Feb 2024 23:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1708328037; x=1708932837; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+ng3gW4V3o0lgSkXW6LbE2EKjcIRK6fb4LZxE38g6CE=; b=agmGWt0GYXvSMZ5nFELoKzr7zFdgt7JzmtUYPeiiRxQlJxcBoGgOylwgHzarSE/PTY tMd1EuXOdLZH4pZ8dLddHn4tpz7r87EivJpJpv7W8qXRIGa+l+1YC4QUnpmh/0NFxJ93 Z509cUXTYLax9/aNTu/CbDLPUv3IJWLNWt4qGTK0MrcK4Vhge74X77GVWFKZtZ8IiB7R N3lR7s/ZNj27Ps77ra8wHKaAswIaatdghJZ3rdc7diLlfN+MT16abFK4lnB4flsJ+bbe JZuGw2fYSioAVUQtJihYeokp3zbnUK3y5CHrMKBVALcXAWqrNyuQIKui8Jn1Vr1jOkKR hCqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708328037; x=1708932837; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+ng3gW4V3o0lgSkXW6LbE2EKjcIRK6fb4LZxE38g6CE=; b=D2OWSo/ueZ2V0IwWNF0k3XoO0rWwgvYNyqHo/VNnBKAPIvbnG/1+ypeZe/38mizi0g B3eIaBVhC3v7ojgqlrpfFPOX9HQBtKuiI5+8OdZ0e+fZeSLpgcriramHWNhGHLl/Mbv3 k6KrwcynKtc2rJmp8xkvHuJV6WWm7BxgXxwbOV0epwxQemRjiTDL7eUyH9eBCYA5awK2 ieNet83SfMzFg9hL7qNiK5VNl0GvNUtMmAdnVHd7h5NcM+dTyhbH/++IQ+ibmqKhdwaa gpYSPiIZZnOdYaNQm/taSXZFvepmg7/rEtZftOMeGv9qXbtFrqluHka4azmvtt0Ab0DX 0+qA== X-Forwarded-Encrypted: i=1; AJvYcCV9kk5MNO1xLSRP/cQWgEDdp8AcVIufy0wgQm7wiX/HMVqKnXdg2OF7y2O01CY8Zt6luMWPwx4TLq0rPHS5ZbnbVwolctn0sBdJ3/Iw X-Gm-Message-State: AOJu0YwdzJJrxnbW5w7PQztLTth3owtUCQ6ZILnWkze77pOgOO+UJGxf dSBAeDO+u1kkXG7C4L2eF54nkeDWvuzlsoEjv+1S10/a47kXJdwVhBrtnTmuHIw= X-Received: by 2002:a05:6512:3144:b0:511:84fe:8dcd with SMTP id s4-20020a056512314400b0051184fe8dcdmr7786108lfi.1.1708328036943; Sun, 18 Feb 2024 23:33:56 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id l20-20020a05600c1d1400b0041256ab5becsm7611582wms.26.2024.02.18.23.33.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 23:33:56 -0800 (PST) Message-ID: Date: Mon, 19 Feb 2024 09:33:53 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: constify the of_phandle_args argument of of_clk_provider Content-Language: en-US To: Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Sudeep Holla , Peng Fan , Shawn Guo , Nishanth Menon , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Thierry Reding , Jonathan Hunter , Linus Walleij , Laurent Pinchart , Mauro Carvalho Chehab , Vinod Koul , Russell King , Srinivas Kandagatla , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com, linux-stm32@st-md-mailman.stormreply.com, NXP Linux Team , linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-media@vger.kernel.org, linux-phy@lists.infradead.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org References: <20240208163710.512733-1-krzysztof.kozlowski@linaro.org> <88de75cd-4069-4be6-9c4e-f32befa46d58@linaro.org> From: claudiu beznea In-Reply-To: <88de75cd-4069-4be6-9c4e-f32befa46d58@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19.02.2024 08:59, Krzysztof Kozlowski wrote: > On 19/02/2024 07:25, claudiu beznea wrote: >> >> >> On 08.02.2024 18:37, Krzysztof Kozlowski wrote: >>> 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. >>> >>> Signed-off-by: Krzysztof Kozlowski >>> --- >>> drivers/clk/at91/pmc.c | 3 +- >>> drivers/clk/at91/pmc.h | 3 +- >> >> Reviewed-by: Claudiu Beznea > > You understand there is no review for "part of patch"? You probably > meant Acked-by. Sure... Here it is: Acked-by: Claudiu Beznea > > https://elixir.bootlin.com/linux/v6.8-rc5/source/Documentation/process/submitting-patches.rst#L544 > > Best regards, > Krzysztof >