nvmet: fix a format specifier in nvmet_auth_ctrl_exponential
dh_keysize is a size_t, use the proper format specifier for printing it. Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Hannes Reinecke <hare@sues.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
ee8cd008b7
commit
7b1aae1aee
@ -488,7 +488,7 @@ int nvmet_auth_ctrl_exponential(struct nvmet_req *req,
|
||||
return -ENOKEY;
|
||||
}
|
||||
if (buf_size != ctrl->dh_keysize) {
|
||||
pr_warn("ctrl %d DH public key size mismatch, need %lu is %d\n",
|
||||
pr_warn("ctrl %d DH public key size mismatch, need %zu is %d\n",
|
||||
ctrl->cntlid, ctrl->dh_keysize, buf_size);
|
||||
ret = -EINVAL;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user