Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: mac80211: describe return values in kernel-doc

Add descriptions for two return values for two functions
that are missing them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230920211508.79307c341723.Ibae386f0354f2e215d4955752ac378acc2466b51@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

+4
+2
net/mac80211/tx.c
··· 4474 4474 * @dev: incoming interface 4475 4475 * 4476 4476 * On failure skb will be freed. 4477 + * 4478 + * Returns: the netdev TX status (but really only %NETDEV_TX_OK) 4477 4479 */ 4478 4480 netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, 4479 4481 struct net_device *dev)
+2
net/mac80211/util.c
··· 4146 4146 * This function calculates the RX timestamp at the given MPDU offset, taking 4147 4147 * into account what the RX timestamp was. An offset of 0 will just normalize 4148 4148 * the timestamp to TSF at beginning of MPDU reception. 4149 + * 4150 + * Returns: the calculated timestamp 4149 4151 */ 4150 4152 u64 ieee80211_calculate_rx_timestamp(struct ieee80211_local *local, 4151 4153 struct ieee80211_rx_status *status,