-
Notifications
You must be signed in to change notification settings - Fork 0
null_blk: Constify struct configfs_item_operations and configfs_group_operations #437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linus-master_base
Are you sure you want to change the base?
Conversation
|
Upstream branch: d26143b |
4a5ddea to
0ab4e8c
Compare
|
Upstream branch: aacb0a6 |
2ef9579 to
157c088
Compare
0ab4e8c to
a2a6d78
Compare
|
Upstream branch: aacb0a6 |
157c088 to
4d0b04d
Compare
a2a6d78 to
f962a4d
Compare
|
Upstream branch: 623fb99 |
4d0b04d to
3d882bf
Compare
f962a4d to
06634b5
Compare
|
Upstream branch: b543459 |
3d882bf to
1ba3850
Compare
06634b5 to
8a473ad
Compare
|
Upstream branch: 944aacb |
…_operations 'struct configfs_item_operations' and 'configfs_group_operations' are not modified in this driver. Constifying these structures 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 100263 37808 2752 140823 22617 drivers/block/null_blk/main.o After: ===== text data bss dec hex filename 100423 37648 2752 140823 22617 drivers/block/null_blk/main.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
1ba3850 to
26f87f5
Compare
Pull request for series with
subject: null_blk: Constify struct configfs_item_operations and configfs_group_operations
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1037073