Messages in this thread Patch in this message | | | Date | Fri, 21 Jan 2022 16:29:52 +0800 | From | kernel test robot <> | Subject | [RFC PATCH] virtio-crypto: virtio_crypto_rsa_do_req() can be static |
| |
drivers/crypto/virtio/virtio_crypto_akcipher_algo.c:276:5: warning: symbol 'virtio_crypto_rsa_do_req' was not declared. Should it be static?
Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> --- virtio_crypto_akcipher_algo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/virtio/virtio_crypto_akcipher_algo.c b/drivers/crypto/virtio/virtio_crypto_akcipher_algo.c index eebccf71b2fab..2b3f8780b7551 100644 --- a/drivers/crypto/virtio/virtio_crypto_akcipher_algo.c +++ b/drivers/crypto/virtio/virtio_crypto_akcipher_algo.c @@ -273,7 +273,7 @@ static int __virtio_crypto_akcipher_do_req(struct virtio_crypto_akcipher_request return -ENOMEM; } -int virtio_crypto_rsa_do_req(struct crypto_engine *engine, void *vreq) +static int virtio_crypto_rsa_do_req(struct crypto_engine *engine, void *vreq) { struct akcipher_request *req = container_of(vreq, struct akcipher_request, base); struct virtio_crypto_akcipher_request *vc_akcipher_req = akcipher_request_ctx(req);
| |