Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp735010lqo; Fri, 10 May 2024 13:14:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDNnUhnOcpfVTODjfH0Ne5JsMbsk5DbU56SfEPSyZE8TvvvA9l0bmZD3cGx7JzqBdgglpe3j89rdLY4XFsRdlgr033N9wD+yzY4x4vmQ== X-Google-Smtp-Source: AGHT+IFG3x1TaVQwodnYUZrfBV7KdpR86uxrZCxdmIP1K8SFcrcuxHVrB+Ijqe7n7mEmnXAmSLZ2 X-Received: by 2002:a05:622a:588:b0:43a:4bb7:409a with SMTP id d75a77b69052e-43dfdae12ecmr35241811cf.19.1715372088780; Fri, 10 May 2024 13:14:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715372088; cv=pass; d=google.com; s=arc-20160816; b=kdHplVGdTqtn/NXfbR4BWpykvoAUPfSMB5CuMmJ4w46Zdko40aPHrpIVLCg8bb+NvW CcAWZNDavjwEcEr7OT+WzL51snt7MVAVDV2aaTEJu5DWCEIcB5GblsLWsFAtAJlofwGD nb4hG/5MS0j8IVk671emb1AlNH1H+iNAhrzS6wVHTCA6LZThDNbjQrUQfn89CY2eMqqm eSnDQQYeUXIh7PcMofbSaAkQNp7lrWBaIYu8llAsT7tkhyyXLQBEMXsn9qu33G73c4Mn 6P54rla2Cx4DKMl0lKAGnJ930uoi953lrfIaZsxTX5WOUhi4/eXsznLBpmXlLyu6avDq htDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=Trn9ssUDZ6aIlqhyhA++2WUVJBJ6D8G3EYC64MZaMtI=; fh=bRIXdOSCNMBWrBSEEM6vfh7PKN72zJnYv3vW0ayBYm0=; b=g3oAst+t+cpmWiJfxweky3oO+lID+VfnTiQ9jr+j/YNXD/ibyKU7byAFBIkNekleDg 4THegQkMYMnGxAT9JgWJjafPx5/65A8L/9/GvV56WQ1fjREv+Brp4mNl+KsZjb3+Ym/3 OMs4YZc5rm2nfmTFPoMRiqWWxrolRXpwDT71SwZDQKOKLFMJ9txif0/ZKjD5zQie6s0/ GJSXde0EfAifIC6s+tsufTvH971+Pto2J1oZcNqQoMHy6TcXkMsyCsXgDsFuS5/r+Kc3 YmVHkp7blnHBUbANbRg0C/QuMHSh+rphLwqfhZKYNUrWjJEkKhv5k0Zi5gnX19rOoWqZ CHZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oJmBQRxU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176164-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 d75a77b69052e-43df549ed66si45434721cf.73.2024.05.10.13.14.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 13:14:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176164-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=oJmBQRxU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176164-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 1AA8C1C22633 for ; Fri, 10 May 2024 20:14:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B6224E1D9; Fri, 10 May 2024 20:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oJmBQRxU" 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 9A7EF47F73; Fri, 10 May 2024 20:14:40 +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=1715372080; cv=none; b=Zh7J+0PUJS+Jmov+MWGlqqv+IUNS03anu7VMoIW+kVQ4vkn+VSjxa99xOozP5KGaMaOHdqUnRhF8NKSEIx6R43BhsX/g13KDtNVMt/JWxXJuC7JdY1sH1VzBUKINU2d3LQENHrP05j8Plj91ysw0A16Hkvfe03v81O1XrKENzy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715372080; c=relaxed/simple; bh=U4DW9JqSs0oVsAPG6aqUd27s/QWxPrQQplbdlUqbnVc=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=VjRayMJpWd9vP4yTaSYPeyOH2+uObUHf8A9l5hpV8IYRcPFcN5/XEPUe4bySANubIxZ+9PqVtIZH+6YS3Z/n74y9Ec/sL1RDpSMf66Qw6fIIsRA55Dfl+OpQN7kVOKLxyWaw1MyThyqLkVsX3wg0hyYvi9naG5n4Y8QEGiIuXds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oJmBQRxU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 104B8C113CC; Fri, 10 May 2024 20:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715372080; bh=U4DW9JqSs0oVsAPG6aqUd27s/QWxPrQQplbdlUqbnVc=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=oJmBQRxUQcfG/JDui5VMWP8tBOTGYrznL33+mujJDRLzHHf+q/5hkgqDr2ZKC0L4E emdhvuALFF80c3rdUw9BPfq2PqridfT5ptXQYHHxZCTghEpOKrrTgJp9cqkd3xTsNi Vn0gn2UusAVFgnCLdym0gY7m8xy+ojXQmGwoGTQe3KAkds9SIN7CQFowmMtQlg0ClI +Gt2VBEmEVXpkvs5HZg4wgREXdl726Skr6fgVpFhl0uaf01A9qxQG1WxeM4mxOA4cV J/0b257ioHJm+F4mGOzuIAQmnZfHgsURlmq409H7/duE+v20j02m+0iFki3KKcdPSx iRfQSp+mfTRwg== Message-ID: <27cd559d7cc47fe38437570e57ec7a99.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: References: Subject: Re: [PATCH] clk: qcom: Constify struct pll_vco From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org To: Bjorn Andersson , Christophe JAILLET , Michael Turquette Date: Fri, 10 May 2024 13:14:37 -0700 User-Agent: alot/0.10 Quoting Christophe JAILLET (2024-05-10 09:50:00) > pll_vco structure are never modified. They are used as .vco_table in > "struct clk_alpha_pll". >=20 > And in this structure, we have: > const struct pll_vco *vco_table; >=20 > Constifying these structures moves some data to a read-only section, so > increase overall security. >=20 > On a x86_64, with allmodconfig: > Before: > text data bss dec hex filename > 9905 47576 0 57481 e089 drivers/clk/qcom/mmcc-msm8994.o >=20 > After: > text data bss dec hex filename > 10033 47440 0 57473 e081 drivers/clk/qcom/mmcc-msm8994.o >=20 > Signed-off-by: Christophe JAILLET > --- Acked-by: Stephen Boyd