Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp828226pxk; Mon, 31 Aug 2020 02:07:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyu5boQcX1hQX3qnt155kMClNGgFKmrzQAxBt+3wDRa/baFAABeQGzJv0rt/Iqshryesoro X-Received: by 2002:a05:6402:184d:: with SMTP id v13mr304079edy.240.1598864870713; Mon, 31 Aug 2020 02:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598864870; cv=none; d=google.com; s=arc-20160816; b=rt7tF+JtZkgbyBjmUl7IRbODEsRLYcyX32kk9W2OTo2MiIGzN5DsGVlXfF9GBpds9G TGNM+Uefmoryy6Rvq7br6wUCYDXvy3jdKg+xiWIUPZEs0TBKLgOjBWaV/3pShEsEAywq Wc8MNNAXdtOg15BhnEg8e6pXOmqIvaMC+1O1THkWFL1NReDzukERs9HQXC7h26wSdEY7 pB0So5dRYutxjJg2547w7UxeFCnLTVt18mOaP3aLa7MHDVFFZmFOGY2I8ajYQoxbOxpo EYlIvbrSDnetU5Cqis7QuRKc0ONQM3KnJze47RO5TKDGumlzZjxlvBpLQjIGvvQgmaFT 1HxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QXTkxEFMHb6XZ+91Vh0mlxJG2vKFYTaU5yz1hqg4l1Q=; b=lECGS0/zNQ3if99JU0MoFeCr1k9HhgB7iNlD5EQVbBTEfQGM8zt5RYv0sMoF2Or+EZ CtHNdW3iyE4tvWO4B0vHSN7D9lr8tyEY4uaUr++udQlKn5m9+hbbfD+bhg6ieBK3KJaN JxV3QEmBiVCcs9AGi4Tl2J/UeAjfkPFr76pvdOgH9L05uDKoYihLBJYPeUWJ9Gz0OCHV bUnZImk4OPwmCmMvkyz/vr+lDCMJk2Wd8e11bw9+oq3G746wKMS2N7gNgM3zs5dLmPMV 4Id5YcaO1J1w6LIAnxExFV++BsomVqbghSvLZj0wttIm3fdjM4SZ7ZDoE/VUxDMsKLJV 1x7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0jTD3R1l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si4558610ejr.174.2020.08.31.02.07.27; Mon, 31 Aug 2020 02:07:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0jTD3R1l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727979AbgHaJG6 (ORCPT + 99 others); Mon, 31 Aug 2020 05:06:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:41594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbgHaJG4 (ORCPT ); Mon, 31 Aug 2020 05:06:56 -0400 Received: from localhost (unknown [122.171.38.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 44968208CA; Mon, 31 Aug 2020 09:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598864816; bh=1Qz1M9vaoARg9GtUW4ovk1F2f4s3/6BPUuzEaqduOXc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0jTD3R1lBvSfSxPQgT9W8buKR6N1GnQIJ8/BTEbtQYmZr50oYl1xw16dsiwgfcl1e KDwjWx/mDwezUpYNuxO/4Wt5l3vGvBhOYGADoVHSEyFGRRHvHxK8AeJhRGq81bLTh3 tEeAeWgWGdDiLs+A2JrPcoySoIKg7e8IS95c65GY= Date: Mon, 31 Aug 2020 14:36:52 +0530 From: Vinod Koul To: Rikard Falkeborn Cc: Kishon Vijay Abraham I , linux-kernel@vger.kernel.org, Peter Chen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Yu Chen , Binghui Wang , Martin Blumenstingl , Alim Akhtar , Seungwon Jeon , Andy Gross , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 0/8] drivers: phy: Constify static phy_ops structs Message-ID: <20200831090652.GK2639@vkoul-mobl> References: <20200823220025.17588-1-rikard.falkeborn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200823220025.17588-1-rikard.falkeborn@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24-08-20, 00:00, Rikard Falkeborn wrote: > This series constifies all static phy_ops structs in drivers/phy. > Typically the only usage is to pass the address of it to devm_phy_create() > which takes a const pointer. The lone exception is in > drivers/phy/qualcomm/phy-qcom-ipq4019-usb.c where the address of the > structs is assigned to the data-field in of_device_id, which is a const > void pointer. > > Making the structs const allows the compiler to put them in read-only > memory. > > The patches are all independent of each other, and have been > compile-tested only. Applied all, thanks -- ~Vinod