On Tue, Jul 06, 2021 at 10:29:35PM -0700, Satya Tangirala wrote: > From: Satya Tangirala <satyat@xxxxxxxxxx> > > This function checks if a given keyslot manager supports any encryption > mode/data unit size combination (and returns true if there is no such > supported combination). Helps clean up code a little. > > Signed-off-by: Satya Tangirala <satyat@xxxxxxxxxx> > --- > block/keyslot-manager.c | 31 +++++++++++++++++++++++++++++++ > drivers/md/dm-table.c | 11 +---------- > include/linux/keyslot-manager.h | 2 ++ > 3 files changed, 34 insertions(+), 10 deletions(-) Reviewed-by: Eric Biggers <ebiggers@xxxxxxxxxx> - Eric