]> Gentwo Git Trees - linux/.git/commit
net: xilinx: axienet: Fix kernel-doc warnings for missing return descriptions
authorSuraj Gupta <suraj.gupta2@amd.com>
Fri, 19 Sep 2025 10:37:54 +0000 (16:07 +0530)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Sep 2025 23:37:36 +0000 (16:37 -0700)
commit312e6a58f764627037032160ed8c671885f31360
tree595c4f1965ab03b578ac1503b3bc7f2a1498c3cd
parentab528156eca2d8264bc29f85e4a347556a4d52ba
net: xilinx: axienet: Fix kernel-doc warnings for missing return descriptions

Add missing "Return:" sections to kernel-doc comments for four functions:
- axienet_calc_cr()
- axienet_device_reset()
- axienet_free_tx_chain()
- axienet_dim_coalesce_count_rx()

Also standardize the return documentation format by replacing inline
"Returns" text with proper "Return:" tags as per kernel documentation
guidelines.

Fixes below kernel-doc warnings:
- Warning: No description found for return value of 'axienet_calc_cr'
- Warning: No description found for return value of 'axienet_device_reset'
- Warning: No description found for return value of 'axienet_free_tx_chain'
- Warning: No description found for return value of
'axienet_dim_coalesce_count_rx'

Signed-off-by: Suraj Gupta <suraj.gupta2@amd.com>
Link: https://patch.msgid.link/20250919103754.434711-1-suraj.gupta2@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c