2021-05-07 12:35:13

by Yang Li

[permalink] [raw]
Subject: [PATCH] crypto: cavium/nitrox - Fix kernel-doc

Fix function name in nitrox_reqmgr.c kernel-doc comment
to remove a warning.

drivers/crypto/cavium/nitrox/nitrox_reqmgr.c:382: warning: expecting
prototype for nitrox_se_request(). Prototype was for
nitrox_process_se_request() instead

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/crypto/cavium/nitrox/nitrox_reqmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/cavium/nitrox/nitrox_reqmgr.c b/drivers/crypto/cavium/nitrox/nitrox_reqmgr.c
index bc35d4c..4434c92 100644
--- a/drivers/crypto/cavium/nitrox/nitrox_reqmgr.c
+++ b/drivers/crypto/cavium/nitrox/nitrox_reqmgr.c
@@ -369,7 +369,7 @@ static int nitrox_enqueue_request(struct nitrox_softreq *sr)
}

/**
- * nitrox_se_request - Send request to SE core
+ * nitrox_process_se_request - Send request to SE core
* @ndev: NITROX device
* @req: Crypto request
*
--
1.8.3.1


2021-05-14 11:37:21

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: cavium/nitrox - Fix kernel-doc

On Fri, May 07, 2021 at 05:58:07PM +0800, Yang Li wrote:
> Fix function name in nitrox_reqmgr.c kernel-doc comment
> to remove a warning.
>
> drivers/crypto/cavium/nitrox/nitrox_reqmgr.c:382: warning: expecting
> prototype for nitrox_se_request(). Prototype was for
> nitrox_process_se_request() instead
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> drivers/crypto/cavium/nitrox/nitrox_reqmgr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt