mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6 1/2] Fix documentation build failure
@ 2005-02-14 20:00 Sergey Vlasov
  2005-02-14 20:10 ` [PATCH 2.6 2/2] " Sergey Vlasov
  2005-02-14 22:36 ` [PATCH 2.6 1/2] " David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Sergey Vlasov @ 2005-02-14 20:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev

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

Hello!

In linux-2.6.11-rc4-bk2 building of the documentation (make htmldocs)
fails on "DOCPROC Documentation/DocBook/kernel-api.sgml" because of
these errors:

Error(/home/vsu/src/linux-2.6.11-rc4-bk2/include/linux/skbuff.h:936): cannot understand prototype: '#ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB '
Error(/home/vsu/src/linux-2.6.11-rc4-bk2/drivers/video/fbmem.c:1265): cannot understand prototype: 'const char *global_mode_option; '

This patch fixes htmldocs build failure on include/linux/skbuff.h; it
does not change any code.  I think this patch should be merged before
the 2.6.11 release.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>


--- linux-2.6.11-rc4-bk2/include/linux/skbuff.h.doc-build	2005-02-14 20:12:37 +0300
+++ linux-2.6.11-rc4-bk2/include/linux/skbuff.h	2005-02-14 22:46:20 +0300
@@ -921,6 +921,7 @@ static inline void __skb_queue_purge(str
 		kfree_skb(skb);
 }
 
+#ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB
 /**
  *	__dev_alloc_skb - allocate an skbuff for sending
  *	@length: length to allocate
@@ -933,7 +934,6 @@ static inline void __skb_queue_purge(str
  *
  *	%NULL is returned in there is no free memory.
  */
-#ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB
 static inline struct sk_buff *__dev_alloc_skb(unsigned int length,
 					      int gfp_mask)
 {


-- 
Sergey Vlasov

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* [PATCH 2.6 2/2] Fix documentation build failure
  2005-02-14 20:00 [PATCH 2.6 1/2] Fix documentation build failure Sergey Vlasov
@ 2005-02-14 20:10 ` Sergey Vlasov
  2005-02-14 22:36 ` [PATCH 2.6 1/2] " David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2005-02-14 20:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fbdev-devel

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

Hello!

In linux-2.6.11-rc4-bk2 building of the documentation (make htmldocs)
fails on "DOCPROC Documentation/DocBook/kernel-api.sgml" because of
these errors:

Error(/home/vsu/src/linux-2.6.11-rc4-bk2/include/linux/skbuff.h:936): cannot understand prototype: '#ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB '
Error(/home/vsu/src/linux-2.6.11-rc4-bk2/drivers/video/fbmem.c:1265): cannot understand prototype: 'const char *global_mode_option; '

This patch fixes htmldocs build failure on drivers/video/fbmem.c.
I think this patch (or an equivalent one) should be merged before the
2.6.11 release.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>


--- linux-2.6.11-rc4-bk2/drivers/video/fbmem.c.doc-build	2005-02-14 20:12:33 +0300
+++ linux-2.6.11-rc4-bk2/drivers/video/fbmem.c	2005-02-14 23:02:45 +0300
@@ -1261,9 +1261,6 @@ int fb_get_options(char *name, char **op
  *	Returns zero.
  *
  */
-
-extern const char *global_mode_option;
-
 int __init video_setup(char *options)
 {
 	int i, global = 0;
@@ -1277,6 +1274,8 @@ int __init video_setup(char *options)
  	}
 
  	if (!global && !strstr(options, "fb:")) {
+		extern const char *global_mode_option;
+
  		global_mode_option = options;
  		global = 1;
  	}


-- 
Sergey Vlasov

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH 2.6 1/2] Fix documentation build failure
  2005-02-14 20:00 [PATCH 2.6 1/2] Fix documentation build failure Sergey Vlasov
  2005-02-14 20:10 ` [PATCH 2.6 2/2] " Sergey Vlasov
@ 2005-02-14 22:36 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2005-02-14 22:36 UTC (permalink / raw)
  To: Sergey Vlasov; +Cc: linux-kernel, netdev

On Mon, 14 Feb 2005 23:00:17 +0300
Sergey Vlasov <vsu@altlinux.ru> wrote:

> In linux-2.6.11-rc4-bk2 building of the documentation (make htmldocs)
> fails on "DOCPROC Documentation/DocBook/kernel-api.sgml" because of
> these errors:
> 
> Error(/home/vsu/src/linux-2.6.11-rc4-bk2/include/linux/skbuff.h:936): cannot understand prototype: '#ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB '
> Error(/home/vsu/src/linux-2.6.11-rc4-bk2/drivers/video/fbmem.c:1265): cannot understand prototype: 'const char *global_mode_option; '

I think the htmldoc parser should be fixed instead.

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

end of thread, other threads:[~2005-02-14 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-14 20:00 [PATCH 2.6 1/2] Fix documentation build failure Sergey Vlasov
2005-02-14 20:10 ` [PATCH 2.6 2/2] " Sergey Vlasov
2005-02-14 22:36 ` [PATCH 2.6 1/2] " David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®