On Sun, Sep 12, 2021 at 06:31:34PM -0700, Eric Biggers wrote: > diff --git a/block/blk-integrity.c b/block/blk-integrity.c > index 69a12177dfb62..db656d12050f7 100644 > --- a/block/blk-integrity.c > +++ b/block/blk-integrity.c > @@ -411,7 +411,7 @@ void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template > #ifdef CONFIG_BLK_INLINE_ENCRYPTION > if (disk->queue->ksm) { > pr_warn("blk-integrity: Integrity and hardware inline encryption are not supported together. Disabling hardware inline encryption.\n"); > - blk_ksm_unregister(disk->queue); > + blk_crypto_unregister(disk->queue); > } > #endif > } Note, there is a build error here when CONFIG_BLK_DEV_INTEGRITY=y, so I'll have to send a new version even if there are no other comments. - Eric