diff options
author | Simon Horman <horms@kernel.org> | 2024-02-21 20:46:21 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-24 03:23:50 +0300 |
commit | 3e596599372e7823d08c658fde85bfc8bae9ba83 (patch) | |
tree | 4b4be0c453e8814d0f2a10dde6b327ecd7246d4b /tools/net/ynl/lib/ynl.py | |
parent | 025f8ad20f2e3264d11683aa9cbbf0083eefbdcd (diff) | |
download | linux-3e596599372e7823d08c658fde85bfc8bae9ba83.tar.xz |
ps3/gelic: minor Kernel Doc corrections
* Update the Kernel Doc for gelic_descr_set_tx_cmdstat()
and gelic_net_setup_netdev() so that documented name
and the actual name of the function match.
* Move define of GELIC_ALIGN() so that it is no longer
between gelic_alloc_card_net() and it's Kernel Doc.
* Document netdev parameter of gelic_alloc_card_net()
in a way consistent to the documentation of other netdev parameters
in this file.
Addresses the following warnings flagged by ./scripts/kernel-doc -none:
.../ps3_gelic_net.c:711: warning: expecting prototype for gelic_net_set_txdescr_cmdstat(). Prototype was for gelic_descr_set_tx_cmdstat() instead
.../ps3_gelic_net.c:1474: warning: expecting prototype for gelic_ether_setup_netdev(). Prototype was for gelic_net_setup_netdev() instead
.../ps3_gelic_net.c:1528: warning: expecting prototype for gelic_alloc_card_net(). Prototype was for GELIC_ALIGN() instead
.../ps3_gelic_net.c:1531: warning: Function parameter or struct member 'netdev' not described in 'gelic_alloc_card_net'
Signed-off-by: Simon Horman <horms@kernel.org>
Acked-by: Geoff Levand <geoff@infradead.org>
Link: https://lore.kernel.org/r/20240221-ps3-gelic-kdoc-v1-1-7629216d1340@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions