summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2026-05-16 12:08:28 +0300
committerDominique Martinet <asmadeus@codewreck.org>2026-05-19 14:55:53 +0300
commit9061075b4f0a897e25ce46c396698dd24f92f5cb (patch)
tree5f5fc9b0290b41cfb69bd9d3c8d3d832cbfa0d99 /scripts/basic
parent8fc518e489c1386fd0cf7f4256d055960ed6a2e4 (diff)
downloadlinux-9061075b4f0a897e25ce46c396698dd24f92f5cb.tar.xz
net/9p/usbg: Constify struct configfs_item_operations
'struct configfs_item_operations' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increases overall security, especially when the structure holds some function pointers. On a x86_64, with allmodconfig: Before: ====== text data bss dec hex filename 25167 9336 256 34759 87c7 net/9p/trans_usbg.o After: ===== text data bss dec hex filename 25231 9272 256 34759 87c7 net/9p/trans_usbg.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Message-ID: <2478bdabd7d169a686879c049f11dc307b5debbd.1778922467.git.christophe.jaillet@wanadoo.fr> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions