All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211.h: fix kernel-doc excesses
@ 2008-10-27 16:47 Randy Dunlap
  2008-10-27 16:52 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2008-10-27 16:47 UTC (permalink / raw)
  To: linux-wireless; +Cc: linville, johannes

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix mac80211.h kernel-doc: it had some extra parameters that were
no longer valid and incorrect format for a return value in 2 places.

Warning(lin2628-rc2//include/net/mac80211.h:1487): Excess function parameter or struct member 'control' description in 'ieee80211_beacon_get'
Warning(lin2628-rc2//include/net/mac80211.h:1596): Excess function parameter or struct member 'control' description in 'ieee80211_get_buffered_bc'
Warning(lin2628-rc2//include/net/mac80211.h:1632): Excess function parameter or struct member 'rc4key' description in 'ieee80211_get_tkip_key'
Warning(lin2628-rc2//include/net/mac80211.h:1735): Excess function parameter or struct member 'return' description in 'ieee80211_start_tx_ba_session'
Warning(lin2628-rc2//include/net/mac80211.h:1775): Excess function parameter or struct member 'return' description in 'ieee80211_stop_tx_ba_session'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 include/net/mac80211.h |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

--- lin2628-rc2.orig/include/net/mac80211.h
+++ lin2628-rc2/include/net/mac80211.h
@@ -1474,7 +1474,6 @@ void ieee80211_tx_status_irqsafe(struct 
  * ieee80211_beacon_get - beacon generation function
  * @hw: pointer obtained from ieee80211_alloc_hw().
  * @vif: &struct ieee80211_vif pointer from &struct ieee80211_if_init_conf.
- * @control: will be filled with information needed to send this beacon.
  *
  * If the beacon frames are generated by the host system (i.e., not in
  * hardware/firmware), the low-level driver uses this function to receive
@@ -1575,7 +1574,6 @@ __le16 ieee80211_generic_frame_duration(
  * ieee80211_get_buffered_bc - accessing buffered broadcast and multicast frames
  * @hw: pointer as obtained from ieee80211_alloc_hw().
  * @vif: &struct ieee80211_vif pointer from &struct ieee80211_if_init_conf.
- * @control: will be filled with information needed to send returned frame.
  *
  * Function for accessing buffered broadcast and multicast frames. If
  * hardware/firmware does not implement buffering of broadcast/multicast
@@ -1623,9 +1621,8 @@ unsigned int ieee80211_hdrlen(__le16 fc)
  *
  * @keyconf: the parameter passed with the set key
  * @skb: the skb for which the key is needed
- * @rc4key: a buffer to which the key will be written
  * @type: TBD
- * @key: TBD
+ * @key: a buffer to which the key will be written
  */
 void ieee80211_get_tkip_key(struct ieee80211_key_conf *keyconf,
 				struct sk_buff *skb,
@@ -1726,7 +1723,8 @@ void ieee80211_iterate_active_interfaces
  * @hw: pointer as obtained from ieee80211_alloc_hw().
  * @ra: receiver address of the BA session recipient
  * @tid: the TID to BA on.
- * @return: success if addBA request was sent, failure otherwise
+ *
+ * Return: success if addBA request was sent, failure otherwise
  *
  * Although mac80211/low level driver/user space application can estimate
  * the need to start aggregation on a certain RA/TID, the session level
@@ -1764,7 +1762,8 @@ void ieee80211_start_tx_ba_cb_irqsafe(st
  * @ra: receiver address of the BA session recipient
  * @tid: the TID to stop BA.
  * @initiator: if indicates initiator DELBA frame will be sent.
- * @return: error if no sta with matching da found, success otherwise
+ *
+ * Return: error if no sta with matching da found, success otherwise
  *
  * Although mac80211/low level driver/user space application can estimate
  * the need to stop aggregation on a certain RA/TID, the session level
-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mac80211.h: fix kernel-doc excesses
  2008-10-27 16:47 [PATCH] mac80211.h: fix kernel-doc excesses Randy Dunlap
@ 2008-10-27 16:52 ` Johannes Berg
  2008-10-27 16:54   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-10-27 16:52 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-wireless, linville

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

On Mon, 2008-10-27 at 09:47 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix mac80211.h kernel-doc: it had some extra parameters that were
> no longer valid and incorrect format for a return value in 2 places.
> 
> Warning(lin2628-rc2//include/net/mac80211.h:1487): Excess function
> parameter or struct member 'control' description in
> 'ieee80211_beacon_get'

Cool, is that new functionality? Thanks.

Acked-by: Johannes Berg <johannes@sipsolutions.net>

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mac80211.h: fix kernel-doc excesses
  2008-10-27 16:52 ` Johannes Berg
@ 2008-10-27 16:54   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2008-10-27 16:54 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, linville

On Mon, 27 Oct 2008 17:52:06 +0100
Johannes Berg <johannes@sipsolutions.net> wrote:

> On Mon, 2008-10-27 at 09:47 -0700, Randy Dunlap wrote:
> > From: Randy Dunlap <randy.dunlap@oracle.com>
> > 
> > Fix mac80211.h kernel-doc: it had some extra parameters that were
> > no longer valid and incorrect format for a return value in 2 places.
> > 
> > Warning(lin2628-rc2//include/net/mac80211.h:1487): Excess function
> > parameter or struct member 'control' description in
> > 'ieee80211_beacon_get'
> 
> Cool, is that new functionality? Thanks.

Yes, but it reports some false positives, so I haven't
merged it yet.

> Acked-by: Johannes Berg <johannes@sipsolutions.net>


-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-27 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 16:47 [PATCH] mac80211.h: fix kernel-doc excesses Randy Dunlap
2008-10-27 16:52 ` Johannes Berg
2008-10-27 16:54   ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.