Skip to content

Commit a63e404

Browse files
rddunlapkuba-moo
authored andcommitted
net: cfg802154: fix kernel-doc notation warnings
Add an enum heading to the kernel-doc comments to prevent kernel-doc warnings. cfg802154.h:174: warning: Cannot understand * @WPAN_PHY_FLAG_TRANSMIT_POWER: Indicates that transceiver will support on line 174 - I thought it was a doc line cfg802154.h:192: warning: Enum value 'WPAN_PHY_FLAG_TXPOWER' not described in enum 'wpan_phy_flags' cfg802154.h:192: warning: Excess enum value 'WPAN_PHY_FLAG_TRANSMIT_POWER' description in 'wpan_phy_flags' Fixes: edea8f7 ("cfg802154: introduce wpan phy flags") Signed-off-by: Randy Dunlap <[email protected]> Cc: Alexander Aring <[email protected]> Cc: Stefan Schmidt <[email protected]> Cc: Marcel Holtmann <[email protected]> Acked-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a66557c commit a63e404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/net/cfg802154.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ wpan_phy_cca_cmp(const struct wpan_phy_cca *a, const struct wpan_phy_cca *b)
170170
}
171171

172172
/**
173-
* @WPAN_PHY_FLAG_TRANSMIT_POWER: Indicates that transceiver will support
173+
* enum wpan_phy_flags - WPAN PHY state flags
174+
* @WPAN_PHY_FLAG_TXPOWER: Indicates that transceiver will support
174175
* transmit power setting.
175176
* @WPAN_PHY_FLAG_CCA_ED_LEVEL: Indicates that transceiver will support cca ed
176177
* level setting.

0 commit comments

Comments
 (0)