crypto: caam - Fix kerneldoc
Fix kerneldoc warnings like: drivers/crypto/caam/caamalg_qi2.c:73: warning: cannot understand function prototype: 'struct caam_ctx' drivers/crypto/caam/caamalg_qi2.c:2962: warning: cannot understand function prototype: 'struct caam_hash_ctx' drivers/crypto/caam/ctrl.c:449: warning: Function parameter or member 'ctrl' not described in 'caam_get_era' Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Родитель
24efcec291
Коммит
319936bf8f
|
@ -373,6 +373,7 @@ EXPORT_SYMBOL(cnstr_shdsc_aead_encap);
|
||||||
* with OP_ALG_AAI_HMAC_PRECOMP.
|
* with OP_ALG_AAI_HMAC_PRECOMP.
|
||||||
* @ivsize: initialization vector size
|
* @ivsize: initialization vector size
|
||||||
* @icvsize: integrity check value (ICV) size (truncated or full)
|
* @icvsize: integrity check value (ICV) size (truncated or full)
|
||||||
|
* @geniv: whether to generate Encrypted Chain IV
|
||||||
* @is_rfc3686: true when ctr(aes) is wrapped by rfc3686 template
|
* @is_rfc3686: true when ctr(aes) is wrapped by rfc3686 template
|
||||||
* @nonce: pointer to rfc3686 nonce
|
* @nonce: pointer to rfc3686 nonce
|
||||||
* @ctx1_iv_off: IV offset in CONTEXT1 register
|
* @ctx1_iv_off: IV offset in CONTEXT1 register
|
||||||
|
|
|
@ -59,7 +59,7 @@ struct caam_skcipher_alg {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* caam_ctx - per-session context
|
* struct caam_ctx - per-session context
|
||||||
* @flc: Flow Contexts array
|
* @flc: Flow Contexts array
|
||||||
* @key: [authentication key], encryption key
|
* @key: [authentication key], encryption key
|
||||||
* @flc_dma: I/O virtual addresses of the Flow Contexts
|
* @flc_dma: I/O virtual addresses of the Flow Contexts
|
||||||
|
@ -2951,7 +2951,7 @@ enum hash_optype {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* caam_hash_ctx - ahash per-session context
|
* struct caam_hash_ctx - ahash per-session context
|
||||||
* @flc: Flow Contexts array
|
* @flc: Flow Contexts array
|
||||||
* @key: authentication key
|
* @key: authentication key
|
||||||
* @flc_dma: I/O virtual addresses of the Flow Contexts
|
* @flc_dma: I/O virtual addresses of the Flow Contexts
|
||||||
|
|
|
@ -443,7 +443,9 @@ static int caam_get_era_from_hw(struct caam_ctrl __iomem *ctrl)
|
||||||
* by u-boot.
|
* by u-boot.
|
||||||
* In case this property is not passed an attempt to retrieve the CAAM
|
* In case this property is not passed an attempt to retrieve the CAAM
|
||||||
* era via register reads will be made.
|
* era via register reads will be made.
|
||||||
**/
|
*
|
||||||
|
* @ctrl: controller region
|
||||||
|
*/
|
||||||
static int caam_get_era(struct caam_ctrl __iomem *ctrl)
|
static int caam_get_era(struct caam_ctrl __iomem *ctrl)
|
||||||
{
|
{
|
||||||
struct device_node *caam_node;
|
struct device_node *caam_node;
|
||||||
|
|
|
@ -324,7 +324,7 @@ EXPORT_SYMBOL(caam_jr_alloc);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* caam_jr_free() - Free the Job Ring
|
* caam_jr_free() - Free the Job Ring
|
||||||
* @rdev - points to the dev that identifies the Job ring to
|
* @rdev: points to the dev that identifies the Job ring to
|
||||||
* be released.
|
* be released.
|
||||||
**/
|
**/
|
||||||
void caam_jr_free(struct device *rdev)
|
void caam_jr_free(struct device *rdev)
|
||||||
|
@ -349,15 +349,15 @@ EXPORT_SYMBOL(caam_jr_free);
|
||||||
* of this request. This has the form:
|
* of this request. This has the form:
|
||||||
* callback(struct device *dev, u32 *desc, u32 stat, void *arg)
|
* callback(struct device *dev, u32 *desc, u32 stat, void *arg)
|
||||||
* where:
|
* where:
|
||||||
* @dev: contains the job ring device that processed this
|
* dev: contains the job ring device that processed this
|
||||||
* response.
|
* response.
|
||||||
* @desc: descriptor that initiated the request, same as
|
* desc: descriptor that initiated the request, same as
|
||||||
* "desc" being argued to caam_jr_enqueue().
|
* "desc" being argued to caam_jr_enqueue().
|
||||||
* @status: untranslated status received from CAAM. See the
|
* status: untranslated status received from CAAM. See the
|
||||||
* reference manual for a detailed description of
|
* reference manual for a detailed description of
|
||||||
* error meaning, or see the JRSTA definitions in the
|
* error meaning, or see the JRSTA definitions in the
|
||||||
* register header file
|
* register header file
|
||||||
* @areq: optional pointer to an argument passed with the
|
* areq: optional pointer to an argument passed with the
|
||||||
* original request
|
* original request
|
||||||
* @areq: optional pointer to a user argument for use at callback
|
* @areq: optional pointer to a user argument for use at callback
|
||||||
* time.
|
* time.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче