]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm-verity: fix section mismatch error
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 21 Jan 2026 13:02:20 +0000 (14:02 +0100)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 21 Jan 2026 13:06:23 +0000 (14:06 +0100)
commit0f1e16b3a8634d540fb0c7a11ca13412d2902974
tree1f59ff9212262c3440b1a528b4c19a29a4fac4cb
parent83c10e8dd43628d0bf86486616556cd749a3c310
dm-verity: fix section mismatch error

The function "__init dm_verity_init" was calling "__exit
dm_verity_verify_sig_exit" and this triggered section mismatch error.

Fix this by dropping the "__exit" tag on dm_verity_verify_sig_exit.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Fixes: 033724b1c627A ("dm-verity: add dm-verity keyring")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601210645.11u5Myme-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202601211041.pcTzwcdp-lkp@intel.com/
drivers/md/dm-verity-verify-sig.c
drivers/md/dm-verity-verify-sig.h