mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-04 04:37:39 -04:00
crypto: acomp - repair kernel-doc warnings
Correct kernel-doc: - add the @extra function parameter - add "_extra" to the mismatched function name - spell the "cmpl" parameter correctly to avoid these warnings: Warning: include/crypto/acompress.h:251 function parameter 'extra' not described in 'acomp_request_alloc_extra' Warning: include/crypto/acompress.h:251 expecting prototype for acomp_request_alloc(). Prototype was for acomp_request_alloc_extra() instead Warning: include/crypto/acompress.h:327 function parameter 'cmpl' not described in 'acomp_request_set_callback' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -240,9 +240,10 @@ static inline const char *crypto_acomp_driver_name(struct crypto_acomp *tfm)
|
||||
}
|
||||
|
||||
/**
|
||||
* acomp_request_alloc() -- allocates asynchronous (de)compression request
|
||||
* acomp_request_alloc_extra() -- allocates asynchronous (de)compression request
|
||||
*
|
||||
* @tfm: ACOMPRESS tfm handle allocated with crypto_alloc_acomp()
|
||||
* @extra: amount of extra memory
|
||||
* @gfp: gfp to pass to kzalloc (defaults to GFP_KERNEL)
|
||||
*
|
||||
* Return: allocated handle in case of success or NULL in case of an error
|
||||
@@ -318,7 +319,7 @@ static inline void acomp_request_free(struct acomp_req *req)
|
||||
*
|
||||
* @req: request that the callback will be set for
|
||||
* @flgs: specify for instance if the operation may backlog
|
||||
* @cmlp: callback which will be called
|
||||
* @cmpl: callback which will be called
|
||||
* @data: private data used by the caller
|
||||
*/
|
||||
static inline void acomp_request_set_callback(struct acomp_req *req,
|
||||
|
||||
Reference in New Issue
Block a user