Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1112877rdb; Fri, 16 Feb 2024 05:57:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWnhbvmcWOw7/EkQJZ8mGRgLOJq0NSWk8uyq/5kLddPn7jhei0en+4HfqfD/V11eikhvE9236luZ31qliRVtevBr790ZD+xIZKJjP+C6w== X-Google-Smtp-Source: AGHT+IHCOdwby9PjARwSGGocBT6YzFEe8zXYmSEgE2RcNA8lwdplx5GEd20ADVeqV92OZE8EPS+q X-Received: by 2002:a05:6a20:2c81:b0:19e:9d92:2999 with SMTP id g1-20020a056a202c8100b0019e9d922999mr3861840pzj.23.1708091820799; Fri, 16 Feb 2024 05:57:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708091820; cv=pass; d=google.com; s=arc-20160816; b=SB98KHtGd+2KFxJ2qJJKxAw2aYeZiM9oMDWPbeKXsnIQet6taS/gLqQvPTxvjXlQN3 cLVRuJ0Q1f5WhWq5SWqzP76ZyaQQCbAbPyo7KXkTF4jBqlZJSKvA1rI5SV+PovGNslEP vJ3cwjWGqSM5CwRFNRlc+1B/UHGo/Lmkuw7PHQ4kVPp9N26vu6jr545YjGwYHM7Nv/vM pNMjPZ5siy55dggErKyvTaNnDt/4Pi/uplcPJNTElN4P6p7vsR1LbRenEbOqCTQH5mrX W/2NrPbXF1C8fnkef3hHVLnT+LPSdWB/sgnHWv64YtdPaJeJwUuNaErpgM498nuP6SzH k9eQ== 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:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Sx+N6arR97QWfJcz5eTsFgWwMeNE/57mdj7f2gyCg9E=; fh=7+yrgNTk7NIXKlFecQ60F5ej8IDUyFKdgfj1U+BIiE8=; b=Yjrw2E183fCMeZij2ZnNPVvo8Xi5UlqscMJt6oSX6vgXdmNvFSnVaNe3MXcsN2rJ/T eTMvWiRWjuyyXc8DNt5Ak6nxHZubNPBz4v3RnYv1/H7Y0b/T0AEEUigIdcOtqORExpNg gnLjCwsujjw3KMrrpc8KlYYZx0wuIXIPw9oAU6xJB0mrT+Sv3iH87PFVbiHsuadrXBih tyQWbuYeLmDkIAxvARRbV38P5dYej4RpqU9L+dQCdCALokYbbdxkB2yor878iND8o2Lr oXUXYQGangtObom8vZ/tYiqbOEjRIPT0m7CUeXXuTwyKU73MihiNp+jMxld/pTrrzym3 docg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YxN39ZrK; 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-68675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68675-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. [139.178.88.99]) by mx.google.com with ESMTPS id h7-20020a056a00230700b006e11d368356si3143136pfh.202.2024.02.16.05.57.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 05:57:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68675-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=@linaro.org header.s=google header.b=YxN39ZrK; 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-68675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68675-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 6763A2843D4 for ; Fri, 16 Feb 2024 13:56:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61C1512C7F3; Fri, 16 Feb 2024 13:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YxN39ZrK" Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 BC4C212C532 for ; Fri, 16 Feb 2024 13:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708091766; cv=none; b=WUbd5h9bjMvzYklo+JY64qcL6w0c/5oMt9VK3wCpcWBNEPcVzHG0W2eNtFvzjlkugDmxtAkI6e27qqFMvEuUIYwBOlweMCDQpkRgQKTjfs2AWxlNZJoqZNXHV2uYzYwPky2SeOK/v/U7WCz7jTdxO/HWTlUZZY1djtMXBEaomgk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708091766; c=relaxed/simple; bh=HH+tpzai7oJ2DremXUqDYhyOQtLpOjkgJ3mafJf+8bQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=ZlHmYX4c3PW19ZjXApkBZSc9C4T3cf88XQYwkTDjtw9Vhf3xBSEO70v0WRyAWm7i4ooIDHEIdOURhlL6m6v1y4liB2a608QSc4KYbLVGmA18Cng2HSJCVNlu4kheTeYyaNZ5pOLhnXzrEWwYXgV2pG65TO1yyFldp3LbCI9zCLU= 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=YxN39ZrK; arc=none smtp.client-ip=209.85.167.46 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-lf1-f46.google.com with SMTP id 2adb3069b0e04-51197ca63f5so1040614e87.1 for ; Fri, 16 Feb 2024 05:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708091762; x=1708696562; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Sx+N6arR97QWfJcz5eTsFgWwMeNE/57mdj7f2gyCg9E=; b=YxN39ZrKVYJkLkG+UBMzxEy14Wvs9gU1m9QtZzEdnpo0IALg/zhW8re/AekqQRz5rk hVgZSVCnWgD2mvRlsLe4vg330K3wK0WWXxxMsbaEatNZ8ZrG2IdktC+sukTed+OQTUi1 yCVmb87TCYf+ajAQSoSowTrOieLRYI3+bunMmIhpDnFhiobI3OQjy5R9YjUfaVnSi5/z gUBUXxY5dWHOS3uTfSAwfvgFLZ5GsOGJFVyaR3+DJaR2+JqMd9bms/CagajuH1ezp+F2 uxAxUKvUDPlCWlxr4Qule42+EeRllCnxnFID6GpSdYC0kxya3FU9Qm52sQFQMG7SF+F4 WBdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708091762; x=1708696562; h=content-transfer-encoding:in-reply-to:autocrypt: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=Sx+N6arR97QWfJcz5eTsFgWwMeNE/57mdj7f2gyCg9E=; b=LbKw6UB5oNc27Z/KcOwx0sho6mV+Jn7VKAjpAmnjzYHAsOLJkY6Uk1YoPiEQvI52ai eIkh3wKALnf8RQ8N2E7D9cj/V1FxY4HKzY+CnDmcHw43fUBqLOTt+KspzxiFhuLmotcG YhWhJR5oLivcWMRmZxqlO3YyR4y3erkA5ztqb5o33wZSLkPfRCo8QzKCZG1BHRNpZcCG y+/Smk3UTiV1cmeSd3KbJB9sOlGoTJRQADhW9aURwo1slJ2vfexc6TJJ6xVU9dUUWmry XQ1Ni3wq/NzZXtAsVpl0j1YxQMNNlDncFCpRCV1ywpoV7e8xnLsJOFCXDxUnBcCJWc3i ATAw== X-Forwarded-Encrypted: i=1; AJvYcCUqmGd+y72xqxM+cInk/fxzP4erFZ3H4DM4wKH9kETpXbzZO8OgcIk7f6OCGO/PxjkYOWdc6mQKxNIBs0zVs7J2ZlaDa4ZZzONq+dcE X-Gm-Message-State: AOJu0Yxz9QJat8ozo4QozR99weom05KOp6YPrrUFefYUX2RzZKKHrpdQ r4NsnVqZR43QCzvdhW3e5S3TRz9OTyNAaaZSss+oCs6twKNnmG0bOJ52oSRY/B0= X-Received: by 2002:ac2:4301:0:b0:511:4c68:f3d0 with SMTP id l1-20020ac24301000000b005114c68f3d0mr3728689lfh.23.1708091761765; Fri, 16 Feb 2024 05:56:01 -0800 (PST) Received: from [192.168.192.135] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id u20-20020aa7d894000000b00563a6c9fd71sm1124edq.16.2024.02.16.05.55.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Feb 2024 05:56:01 -0800 (PST) Message-ID: <488cc7dc-f45a-4c9e-b572-e4a6b3202e3e@linaro.org> Date: Fri, 16 Feb 2024 14:55:58 +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] interconnect: constify of_phandle_args in xlate Content-Language: en-US To: Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , Georgi Djakov , Bjorn Andersson , Sylwester Nawrocki , =?UTF-8?B?QXJ0dXIgxZp3aWdvxYQ=?= , Alim Akhtar , Thierry Reding , Jonathan Hunter , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org References: <20240216135236.129878-1-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1j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gFiEEU24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240216135236.129878-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16.02.2024 14:52, Krzysztof Kozlowski wrote: > The xlate callbacks are supposed to translate of_phandle_args to proper > provider without modifying the of_phandle_args. Make the argument > pointer to const for code safety and readability. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/gpio/gpiolib-of.c | 2 +- > drivers/interconnect/core.c | 4 ++-- > drivers/interconnect/qcom/icc-common.c | 3 ++- > drivers/interconnect/qcom/icc-common.h | 3 ++- > drivers/interconnect/samsung/exynos.c | 2 +- > drivers/memory/tegra/mc.c | 2 +- > drivers/memory/tegra/tegra124-emc.c | 2 +- > drivers/memory/tegra/tegra124.c | 2 +- > drivers/memory/tegra/tegra186-emc.c | 2 +- > drivers/memory/tegra/tegra20-emc.c | 2 +- > drivers/memory/tegra/tegra20.c | 2 +- > drivers/memory/tegra/tegra30-emc.c | 2 +- > drivers/memory/tegra/tegra30.c | 2 +- > include/linux/interconnect-provider.h | 11 ++++++----- > include/soc/tegra/mc.h | 7 ++++--- Ended up being a bit wider than just icc.. Looks sane apart from that Konrad