summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-06-02 17:27:34 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-25 10:16:07 +0300
commitcd7a060df5b7b03966af0f3474571bf85fadafaf (patch)
treee7366b41c32cdcbe55e2b9386c7e9282c214b3a7 /scripts/lib/kdoc/kdoc_files.py
parentc5a85ed88e043474161bbfe54002c89c1cb50ee2 (diff)
downloadlinux-cd7a060df5b7b03966af0f3474571bf85fadafaf.tar.xz
media: venus: Constify struct dec_bufsize_ops and enc_bufsize_ops
"struct dec_bufsize_ops and "struct enc_bufsize_ops" 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 12494 822 0 13316 3404 drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.o After: text data bss dec hex filename 12766 566 0 13332 3414 drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions