On Sun, Apr 11, 2021 at 05:05:56PM -0700, Randy Dunlap wrote: > Fix function name in chacha.c kernel-doc comment to remove a warning. > > Convert af_alg.c to kernel-doc notation to eliminate many kernel-doc > warnings. > > ../lib/crypto/chacha.c:77: warning: expecting prototype for chacha_block(). Prototype was for chacha_block_generic() instead > chacha.c:104: warning: Excess function parameter 'out' description in 'hchacha_block_generic' > > af_alg.c:498: warning: Function parameter or member 'sk' not described in 'af_alg_alloc_tsgl' > ../crypto/af_alg.c:539: warning: expecting prototype for aead_count_tsgl(). Prototype was for af_alg_count_tsgl() instead > ../crypto/af_alg.c:596: warning: expecting prototype for aead_pull_tsgl(). Prototype was for af_alg_pull_tsgl() instead > af_alg.c:663: warning: Function parameter or member 'areq' not described in 'af_alg_free_areq_sgls' > af_alg.c:700: warning: Function parameter or member 'sk' not described in 'af_alg_wait_for_wmem' > af_alg.c:700: warning: Function parameter or member 'flags' not described in 'af_alg_wait_for_wmem' > af_alg.c:731: warning: Function parameter or member 'sk' not described in 'af_alg_wmem_wakeup' > af_alg.c:757: warning: Function parameter or member 'sk' not described in 'af_alg_wait_for_data' > af_alg.c:757: warning: Function parameter or member 'flags' not described in 'af_alg_wait_for_data' > af_alg.c:757: warning: Function parameter or member 'min' not described in 'af_alg_wait_for_data' > af_alg.c:796: warning: Function parameter or member 'sk' not described in 'af_alg_data_wakeup' > af_alg.c:832: warning: Function parameter or member 'sock' not described in 'af_alg_sendmsg' > af_alg.c:832: warning: Function parameter or member 'msg' not described in 'af_alg_sendmsg' > af_alg.c:832: warning: Function parameter or member 'size' not described in 'af_alg_sendmsg' > af_alg.c:832: warning: Function parameter or member 'ivsize' not described in 'af_alg_sendmsg' > af_alg.c:985: warning: Function parameter or member 'sock' not described in 'af_alg_sendpage' > af_alg.c:985: warning: Function parameter or member 'page' not described in 'af_alg_sendpage' > af_alg.c:985: warning: Function parameter or member 'offset' not described in 'af_alg_sendpage' > af_alg.c:985: warning: Function parameter or member 'size' not described in 'af_alg_sendpage' > af_alg.c:985: warning: Function parameter or member 'flags' not described in 'af_alg_sendpage' > af_alg.c:1040: warning: Function parameter or member 'areq' not described in 'af_alg_free_resources' > af_alg.c:1059: warning: Function parameter or member '_req' not described in 'af_alg_async_cb' > af_alg.c:1059: warning: Function parameter or member 'err' not described in 'af_alg_async_cb' > af_alg.c:1083: warning: Function parameter or member 'file' not described in 'af_alg_poll' > af_alg.c:1083: warning: Function parameter or member 'sock' not described in 'af_alg_poll' > af_alg.c:1083: warning: Function parameter or member 'wait' not described in 'af_alg_poll' > af_alg.c:1114: warning: Function parameter or member 'sk' not described in 'af_alg_alloc_areq' > af_alg.c:1114: warning: Function parameter or member 'areqlen' not described in 'af_alg_alloc_areq' > af_alg.c:1146: warning: Function parameter or member 'sk' not described in 'af_alg_get_rsgl' > af_alg.c:1146: warning: Function parameter or member 'msg' not described in 'af_alg_get_rsgl' > af_alg.c:1146: warning: Function parameter or member 'flags' not described in 'af_alg_get_rsgl' > af_alg.c:1146: warning: Function parameter or member 'areq' not described in 'af_alg_get_rsgl' > af_alg.c:1146: warning: Function parameter or member 'maxsize' not described in 'af_alg_get_rsgl' > af_alg.c:1146: warning: Function parameter or member 'outlen' not described in 'af_alg_get_rsgl' > > > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx > --- > crypto/af_alg.c | 94 +++++++++++++++++++++++------------------- > lib/crypto/chacha.c | 4 - > 2 files changed, 55 insertions(+), 43 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt