Skip to contentSkip to conversation

net: description of dma_cookie cause make xmldocs warning

PATCH Applied Masanari Iida 5 participants 5 messages Oct 8, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: description of dma_cookie cause make xmldocs warning

In commit 7bced397510ab569d31de4c70b39e13355046387, dma_cookie was removed from struct skbuff. But the description of dma_cookie still exist. So the "make xmldocs" output following warning.

Warning(.//include/linux/skbuff.h:609): Excess struct/union /enum/typedef member 'dma_cookie' description in 'sk_buff'

Remove description of dma_cookie fix the symptom.

---
 include/linux/skbuff.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/skbuff.h +0 -2
index a17ba08..9a86644 100644
@@ -459,8 +459,6 @@ static inline u32 skb_mstamp_us_delta(const struct skb_mstamp *t1,
  *	@wifi_acked_valid: wifi_acked was set
  *	@wifi_acked: whether frame was acked on wifi or not
  *	@no_fcs:  Request NIC to treat last 4 bytes as Ethernet FCS
- *	@dma_cookie: a cookie to one of several possible DMA operations
- *		done by skb DMA functions
   *	@napi_id: id of the NAPI struct this skb came from
  *	@secmark: security marking
  *	@mark: Generic packet mark
Signature · 1 line
2.1.1.273.g97b8860
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Masanari Iida

In commit 7bced397510ab569d31de4c70b39e13355046387, dma_cookie was removed from struct skbuff. But the description of dma_cookie still exist. So the "make xmldocs" output following warning.

Warning(.//include/linux/skbuff.h:609): Excess struct/union /enum/typedef member 'dma_cookie' description in 'sk_buff'

Remove description of dma_cookie fix the symptom.

#2 lore raw
In reply to Masanari Iida

Hello.

Quoted 1 line · Masanari Iida

In commit 7bced397510ab569d31de4c70b39e13355046387,

Please also specify that commit's summary line in parens.

Quoted 10 lines

dma_cookie was removed from struct skbuff.
But the description of dma_cookie still exist.
So the "make xmldocs" output following warning.

Warning(.//include/linux/skbuff.h:609): Excess struct/union /enum/typedef member 'dma_cookie' description in 'sk_buff'

Remove description of dma_cookie fix the symptom.

WBR, Sergei

#3 lore raw
Quoted 7 lines · Sergei Shtylyov

Hello.

Quoted 1 line · Masanari Iida

In commit 7bced397510ab569d31de4c70b39e13355046387,

Please also specify that commit's summary line in parens.

Note that this information is useful for backports and bug fixes.

In this particular case (documentation), there is no chance we'll backport this patch to any prior stable kernel

maintainer Applied
#4 lore raw
In reply to Masanari Iida

From: Masanari Iida <[email protected]>
Date: Wed, 8 Oct 2014 23:53:39 +0900

Quoted 11 lines

In commit 7bced397510ab569d31de4c70b39e13355046387, dma_cookie was removed from struct skbuff. But the description of dma_cookie still exist. So the "make xmldocs" output following warning.

Warning(.//include/linux/skbuff.h:609): Excess struct/union /enum/typedef member 'dma_cookie' description in 'sk_buff'

Remove description of dma_cookie fix the symptom.

Applied.