diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-04-19 11:29:17 +0300 |
---|---|---|
committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-05-16 20:34:16 +0300 |
commit | bd8402eec9aa3f9d6c797bd51b3c5b4b029673af (patch) | |
tree | 7218f8da2d184c38f92ea723a196e24313d4a058 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2ef2d31925f0414ff0f37862b6c33f62b49089c5 (diff) | |
download | linux-bd8402eec9aa3f9d6c797bd51b3c5b4b029673af.tar.xz |
wifi: ath10k: Constify structures in hw.c
Structures defined in hw.c are not modified in this driver.
Constifying these structures 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
10357 951 0 11308 2c2c drivers/net/wireless/ath/ath10k/hw.o
After:
=====
text data bss dec hex filename
11125 203 0 11328 2c40 drivers/net/wireless/ath/ath10k/hw.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Baochen Qiang <quic_bqiang@quicinc.com>
Link: https://patch.msgid.link/504b4d5276d13f5f9c3bffcfdaf244006312c22b.1745051315.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions