summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-07-14 16:01:58 +0300
committerBjorn Andersson <andersson@kernel.org>2024-07-29 05:41:48 +0300
commitda3c15ea05d8257c1987e527004e6331126e9451 (patch)
tree3bc17ca263b8458f288551cdd58314ae57207032 /drivers/iommu
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
downloadlinux-da3c15ea05d8257c1987e527004e6331126e9451.tar.xz
clk: qcom: Constify struct freq_tbl
'struct freq_tbl' are not modified in these drivers. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig, as an example: Before: ====== text data bss dec hex filename 7595 43696 0 51291 c85b drivers/clk/qcom/mmcc-apq8084.o After: ===== text data bss dec hex filename 9867 41424 0 51291 c85b drivers/clk/qcom/mmcc-apq8084.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/e8aee66fa83a4e65f7e855eb8bdbc91275d6994b.1720962107.git.christophe.jaillet@wanadoo.fr Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions