diff options
author | Max Gurtovoy <[email protected]> | 2020-06-01 20:05:20 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-06-11 09:10:05 -0600 |
commit | a40aae6bbf8dea09fbe6353a5635f4027c43c796 (patch) | |
tree | 46e968df2c8af994e5e2eb8da7ad2aa92c6ed96d /scripts/gdb/linux/modules.py | |
parent | 6acbd9619b153f2881c91e84cd36a9a2ce124565 (diff) |
nvmet-tcp: constify nvmet_tcp_ops
nvmet_tcp_ops is never modified and can be made const to allow the
compiler to put it in read-only memory, as done in other transports.
Before:
text data bss dec hex filename
16164 160 12 16336 3fd0 drivers/nvme/target/tcp.o
After:
text data bss dec hex filename
16277 64 12 16353 3fe1 drivers/nvme/target/tcp.o
Signed-off-by: Max Gurtovoy <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Israel Rukshin <[email protected]>
Acked-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions