Re: Docbook update

From: Sam Ravnborg (sam@ravnborg.org)
Date: Sat Jun 07 2003 - 03:05:28 EST


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1316.1.3 -> 1.1316.1.4
# kernel/kmod.c 1.27 -> 1.28
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/06/07 sam@mars.ravnborg.org 1.1316.1.4
# docbook: Move definition of MODULENAME_SIZE
#
# The location between the comment and the prototype confused kernel-doc.
# Kernel-doc requires the prototype to follow after the comment section.
# --------------------------------------------
#
diff -Nru a/kernel/kmod.c b/kernel/kmod.c
--- a/kernel/kmod.c Sat Jun 7 09:53:37 2003
+++ b/kernel/kmod.c Sat Jun 7 09:53:37 2003
@@ -58,9 +58,9 @@
  * If module auto-loading support is disabled then this function
  * becomes a no-operation.
  */
-#define MODULENAME_SIZE 32
 int request_module(const char *fmt, ...)
 {
+#define MODULENAME_SIZE 32
         va_list args;
         char module_name[MODULENAME_SIZE];
         unsigned int max_modprobes;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:32 EST