summaryrefslogtreecommitdiff
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-07-11 22:34:52 +0300
committerVinod Koul <vkoul@kernel.org>2024-07-31 14:35:44 +0300
commit29f33f0b442c092d7180b511d8bef871f3be9fed (patch)
treef07568b8adf8953e51b8c79aa59b5b2963072f37 /crypto/algif_skcipher.c
parentceb6e0435075ad8b44c78a12dbdc3ec1fb4ec301 (diff)
downloadlinux-29f33f0b442c092d7180b511d8bef871f3be9fed.tar.xz
phy: cadence: Sierra: Constify struct cdns_reg_pairs
'struct cdns_reg_pairs' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: ====== text data bss dec hex filename 60489 4342 16 64847 fd4f drivers/phy/cadence/phy-cadence-sierra.o After: ===== text data bss dec hex filename 60521 4310 16 64847 fd4f drivers/phy/cadence/phy-cadence-sierra.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/c57ee8206ebba8c222d7d954335654384072b9ac.1720723132.git.christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions