]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm table: Constify static struct blk_ksm_ll_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 26 May 2021 21:06:37 +0000 (23:06 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 1 Jun 2021 21:57:47 +0000 (17:57 -0400)
commit2de432b84c21e7cd806fb1d0a594a1aaa21b4de7
tree3c17ba13210b4bf3e1ab0dfa203e12d1c22a6254
parent77e40164cb61cda2c2ef1ed4653dc585b87748b8
dm table: Constify static struct blk_ksm_ll_ops

The only usage of dm_ksm_ll_ops is to make a copy of it to the ksm_ll_ops
field in the blk_keyslot_manager struct. Make it const to allow the
compiler to put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c