aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2024-09-04 09:15:53 +0800
committerWei Liu <[email protected]>2024-09-05 15:04:49 +0000
commit895384881ec960aa4c602397a69f0a44a8169405 (patch)
treeda21d237b5559d4b1f0329a4bdb78e754004e7e6 /lib/netdev-notifier-error-inject.c
parent5e5cc1eb65256e6017e3deec04f9806f2f317853 (diff)
hv: vmbus: Constify struct kobj_type and struct attribute_group
vmbus_chan_group and vmbus_chan_type are not modified. They are only used in the helpers which take a const type parameter. Constifying these structures and moving them to a read-only section can increase over all security. ``` [Before] text data bss dec hex filename 20568 4699 48 25315 62e3 drivers/hv/vmbus_drv.o [After] text data bss dec hex filename 20696 4571 48 25315 62e3 drivers/hv/vmbus_drv.o ``` Signed-off-by: Hongbo Li <[email protected]> Reviewed-by: Naman Jain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]> Message-ID: <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions