diff options
author | Aashish Sharma <shraash@google.com> | 2022-02-11 13:15:38 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2022-02-22 17:27:56 +0100 |
commit | 6fc51504388c1a1a53db8faafe9fff78fccc7c87 (patch) | |
tree | 41687e699ded5166557c2905fadba626c6386247 /drivers/md/dm-thin.c | |
parent | dm: fix use-after-free in dm_cleanup_zoned_dev() (diff) | |
download | linux-6fc51504388c1a1a53db8faafe9fff78fccc7c87.tar.xz linux-6fc51504388c1a1a53db8faafe9fff78fccc7c87.zip |
dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
Explicitly convert unsigned int in the right of the conditional
expression to int to match the left side operand and the return type,
fixing the following compiler warning:
drivers/md/dm-crypt.c:2593:43: warning: signed and unsigned
type in conditional expression [-Wsign-compare]
Fixes: c538f6ec9f56 ("dm crypt: add ability to use keys from the kernel key retention service")
Signed-off-by: Aashish Sharma <shraash@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin.c')
0 files changed, 0 insertions, 0 deletions