Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp973108rdb; Sun, 18 Feb 2024 23:00:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVL7Av9WwfjN5vgemNhxsY8MvEJQGhqsIluwzhIljPSSFZDeOOT56eW90MFl/doYUG4NlFz0gL6W5gakn1xCt6TDb598dOVacfhGvU93Q== X-Google-Smtp-Source: AGHT+IFzqE2s/z0wiOeecfllCwucRp5HGCbhdMNn2pO25lowVByH1BJL7fj/nScwsDFt2qg9UKga X-Received: by 2002:a17:90b:30d0:b0:299:5579:33af with SMTP id hi16-20020a17090b30d000b00299557933afmr3905126pjb.20.1708326012181; Sun, 18 Feb 2024 23:00:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708326012; cv=pass; d=google.com; s=arc-20160816; b=P2sRltylUcUrgCCjrVR/kzvtJjyKqUMRFz/ARC4Zkb7K9JmqQyVT6Cv3dG/33oh2av nvjYl46vNWV8CY62LZOOofnUDNpgvCZzqssJcVOMkQ2YtrLxuVSMrwYPz9WfuYuDV1/5 IG+Lzuql+yictlbn5W9pfESrsT2zISBiqIIZZfPwshLL4Er3fYDO3cdnr2LnsVw2ro9F +2BlfyKude3+sLVzeIy/yKVtc+a2EctjNt1VOmF2j71y1kQD/tQBgj/UKAsBcjIfALPk Eg8MUcjGU69ubU4OB1lt/XXl+i1FaLvvxUCtS2gIhv7GU2LIXZppPU0/pwOZQYFAyGBR aoTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=AfAV24x7YrRfp7a1aPkTeFhdi55Bp5TvgPp9C25tWp0=; fh=8sB9tn54CoP09C9kolkeqrOLAiO60fYazxCzIfTv8OE=; b=g1jHEDntrQfnSouf/z08I1unZ8ws3MQ2xnoBEaZm6VonuI7RUQxEV2Lk801ETfz+rK RPGG+iiw0EYuEYzTU2ZEh1gw3vHkfP3FH9vWTWdw0hWgSxF/BY1n/0odzxM7iFfN1MvS t9n8Tr7nrBTglXp8nXIVAT2P7a7cJnmJO4tQ2Mhv/RRSWCvVg9KVSPFxtdpeEfN11FSW WpZJ2YQrL34DIwLNaIOX8UWrlKjMfM2MlKxLm7VDABrhAsDmUZXn3rh8Oj1b4gzsBICc /8wCK/LnAI3r4ZdUiXHruY90lxY6l9RC8uPiTr7qfhld9qaE2Ik48oF88ARPiTrnR6t9 t+Ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=epFrHBKa; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-70795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id sj4-20020a17090b2d8400b002995b9d7859si3433327pjb.36.2024.02.18.23.00.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:00:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=epFrHBKa; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-70795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 E850128246F for ; Mon, 19 Feb 2024 06:59:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A94E208D2; Mon, 19 Feb 2024 06:59:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="epFrHBKa" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 6AA32208BE for ; Mon, 19 Feb 2024 06:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708325984; cv=none; b=mLP4rDOORUA7zCSKVJLwnEdgOxOPAFj9w85fC8BFsdm0flOgjBuGPuWszXAmroBucpR2WUiYB4Yj8+yyQqNxGCeBTGWSNi8wULrRnMkQD8pfBkllfr/fu5Gp6Hj0Cc/GMg2aTbsrvAgTNuyYyOaAosJG20B+DeJXzK5yvrUFQ4Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708325984; c=relaxed/simple; bh=O7TNXSeYWhSRDIyTU040+dYsyYLZBzGzE8mC/WyM6es=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=GgZw7YTs47YBcYJUicFv3jzlYTMODhdBq0GRTEuGkRdg3xO/gH5pnzwl07Adj2i3H66vYtlxAvdH1TfeOoTpDqLv+anURH/bfFiu971rpN9dHFq0SrwVQ/eQu7BWlLl4xHcUfP/WIWMScwhon1nIj6sYdpAdYNxcHHD34Ff/Lrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=epFrHBKa; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4125e435b38so13145795e9.0 for ; Sun, 18 Feb 2024 22:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708325981; x=1708930781; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=AfAV24x7YrRfp7a1aPkTeFhdi55Bp5TvgPp9C25tWp0=; b=epFrHBKaSrvfhLPRoyd9Ko6N+TXpOdZFs0aO8QwAMs1wv/aHNxpJPiz/UbphWkfDhD c6J82iBABjvPxmWQ6JqJ/WUFtua87hee53DS5YARXp5bmKiGC2+TsSbh9/GV8Y1jTqr2 NiDHqz8AYOScx8ajkQ7OXO3ygxejL5rkyPGWZV9jHN6s5ryR3iRbhmHh/0KxMRx1EqZ0 1EbZWsiv+It8KvRazDsXO+7DRIMD7HhTWEVGszVA4GzxaP5aAes3epZER2cAoN8wJHaM 0c6K7e74rG0Ubl+xM5SdgiFfX0RIitqPBPLvE/Ic8R/XnwjxDmCg4FN5xhq0bSTvJYeG x8Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708325981; x=1708930781; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AfAV24x7YrRfp7a1aPkTeFhdi55Bp5TvgPp9C25tWp0=; b=IGMCOQ5fKyMPIqMx6VgpVI/617SijpcWaeOker54exw021zwmHtugZvbBA4+phr7BJ iRkd8HR+OZsqwFXDl/uIRa3llDFdiWFudO1AAVKnB4CtJfC1PQGvPXJ01roh9ZM4gFgp iI69k0xOWWjfuVAdFOazPrfSNL02miuDpukL+0m9s2WmQSlg4w/ESBhp8RdcHq+ApefG mmt5qptdb0JrG6D/tSIpCn+VHRGchIHI1XJwekQ9AcAVV2CBss+N/MQG0RJ/0cP95N9E Q9ndDICdxFRIEu3azi1hU6yhiqUwYZkQxSdJjIGgApN0SKkEIQER3ag64r6kdaO3+YfT tLkQ== X-Forwarded-Encrypted: i=1; AJvYcCX7hYh/+JE+FyJEvS45ipVYw4tmmBqSyZDuBIG9T9mIGdicsuQTz/Hw5/AkLgTuCgMWrn7MpCGoo81OWFSbdTOFKVUMEtne8PUGuKRm X-Gm-Message-State: AOJu0YwT2NnWSINuHGARCIlx6xk8AhbRwEGIGediNSRHIKsxE2AWhX5h 8DGqr7w3gq6TFzyvlifjzSeu1gTPvk4MDT3E7FkcdRojgSvMpGZQj4A3AKKjtkY= X-Received: by 2002:a05:600c:4fc4:b0:412:16d8:d565 with SMTP id o4-20020a05600c4fc400b0041216d8d565mr8152877wmq.15.1708325980793; Sun, 18 Feb 2024 22:59:40 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id p11-20020a05600c1d8b00b004126a0dfd11sm113616wms.29.2024.02.18.22.59.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 22:59:40 -0800 (PST) Message-ID: <88de75cd-4069-4be6-9c4e-f32befa46d58@linaro.org> Date: Mon, 19 Feb 2024 07:59:36 +0100 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 To: claudiu beznea , 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> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8b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FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. https://elixir.bootlin.com/linux/v6.8-rc5/source/Documentation/process/submitting-patches.rst#L544 Best regards, Krzysztof