skbuff.h: fix timestamps kernel-doc
Subsystems (2)
PATCH 1/1 skbuff.h: fix timestamps kernel-doc
From: Randy Dunlap <[email protected]>
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 '
--- include/linux/skbuff.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
include/linux/skbuff.h +2 -4
@@ -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
@@ -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
From: Randy Dunlap <[email protected]>
Date: Fri, 27 Feb 2009 10:46:38 -0800
Quoted 9 lines
From: Randy Dunlap <[email protected]>
Fix
skbuff.hkernel-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: 'unionskb_shared_tx'Signed-off-by Randy Dunlap <[email protected]>
Applied, thanks Randy.