summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-05-29 00:25:07 +0200
committerJens Axboe <axboe@kernel.dk>2020-06-11 09:10:05 -0600
commit6acbd9619b153f2881c91e84cd36a9a2ce124565 (patch)
treeb0001be13cd43eb34e402daae291573337065234 /lib
parent108a58585b196e31822c597891f2c83cea7aeb4a (diff)
downloadlinux-next-6acbd9619b153f2881c91e84cd36a9a2ce124565.tar.gz
nvme-tcp: constify nvme_tcp_mq_ops and nvme_tcp_admin_mq_ops
nvme_tcp_mq_ops and nvme_tcp_admin_mq_ops are never modified and can be made const to allow the compiler to put them in read-only memory. Before: text data bss dec hex filename 53102 6885 576 60563 ec93 drivers/nvme/host/tcp.o After: text data bss dec hex filename 53422 6565 576 60563 ec93 drivers/nvme/host/tcp.o Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Acked-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions