diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-14 14:15:25 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-07-15 10:24:21 -0300 |
commit | 887cd308fd46a1c6956e9ccda1aaca830edc8ed7 (patch) | |
tree | 15fc6c04f1bba42e4c4bed3400e334dd46fde012 /MAINTAINERS | |
parent | 1df03a4b44146c4f720d793915747272c7773a3e (diff) | |
download | lwn-887cd308fd46a1c6956e9ccda1aaca830edc8ed7.tar.gz lwn-887cd308fd46a1c6956e9ccda1aaca830edc8ed7.zip |
IB/hfi1: Constify struct flag_table
'struct flag_table' are 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
302932 40271 112 343315 53d13 drivers/infiniband/hw/hfi1/chip.o
After:
=====
text data bss dec hex filename
311636 31567 112 343315 53d13 drivers/infiniband/hw/hfi1/chip.o
Link: https://lore.kernel.org/r/782b6a648bfbbf2bb83f81a73c0460b5bb7642a1.1720959310.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions