Skip to content

Commit

Permalink
skbuff.h: fix timestamps kernel-doc
Browse files Browse the repository at this point in the history
Fix skbuff.h kernel-doc for timestamps: must include "struct" keyword,
otherwise there are kernel-doc errors:

Error(linux-next-20090227//include/linux/skbuff.h:161): cannot understand prototype: 'struct skb_shared_hwtstamps '
Error(linux-next-20090227//include/linux/skbuff.h:177): cannot understand prototype: 'union skb_shared_tx '

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Mar 2, 2009
1 parent 94f52cd commit d3a21be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/linux/skbuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ struct skb_frag_struct {
#define HAVE_HW_TIME_STAMP

/**
* skb_shared_hwtstamps - hardware time stamps
*
* struct skb_shared_hwtstamps - hardware time stamps
* @hwtstamp: hardware time stamp transformed into duration
* since arbitrary point in time
* @syststamp: hwtstamp transformed to system time base
Expand Down Expand Up @@ -164,8 +163,7 @@ struct skb_shared_hwtstamps {
};

/**
* skb_shared_tx - instructions for time stamping of outgoing packets
*
* struct skb_shared_tx - instructions for time stamping of outgoing packets
* @hardware: generate hardware time stamp
* @software: generate software time stamp
* @in_progress: device driver is going to provide
Expand Down

0 comments on commit d3a21be

Please sign in to comment.