Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343705

[PATCH v2 1/6] staging: lustre: move module info to end of libcfs module.c file

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH v2 1/6] staging: lustre: move module info to end of libcfs module.c file
Date 2016-02-26 02:20 +0100
Message-ID <r6feA-40K-41@gated-at.bofh.it> (permalink)
References <r6fey-40K-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Move the MODULE_* field in module.c that belongs to libcfs to the
end of the file like it is done for other kernel drivers.

Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 drivers/staging/lustre/lustre/libcfs/module.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/lustre/lustre/libcfs/module.c b/drivers/staging/lustre/lustre/libcfs/module.c
index 05e2c56..de6688e 100644
--- a/drivers/staging/lustre/lustre/libcfs/module.c
+++ b/drivers/staging/lustre/lustre/libcfs/module.c
@@ -66,10 +66,6 @@
 #include "../../include/linux/lnet/lnet.h"
 #include "tracefile.h"
 
-MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
-MODULE_DESCRIPTION("Portals v3.1");
-MODULE_LICENSE("GPL");
-
 static struct dentry *lnet_debugfs_root;
 
 /* called when opening /dev/device */
@@ -668,7 +664,10 @@ static void exit_libcfs_module(void)
 		pr_err("LustreError: libcfs_debug_cleanup: %d\n", rc);
 }
 
+MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
+MODULE_DESCRIPTION("Portals v3.1");
 MODULE_VERSION("1.0.0");
+MODULE_LICENSE("GPL");
 
 module_init(init_libcfs_module);
 module_exit(exit_libcfs_module);
-- 
1.7.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/6] staging: lustre: update modinfo data James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 2/6] staging: lustre: add missing MODULE_AUTHOR for LNet selftest module James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 6/6] staging: lustre: update comment for lnet_lib_init/exit James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 5/6] staging: lustre: make module_init/exit naming consistent James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 4/6] staging: lustre: update the MODULE_DESCRIPTION for all lustre modules James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 1/6] staging: lustre: move module info to end of libcfs module.c file James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  Re: [PATCH v2 0/6] staging: lustre: update modinfo data Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-26 07:10 +0100
    Re: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo  data "Drokin, Oleg" <oleg.drokin@intel.com> - 2016-02-26 07:20 +0100
      Re: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo data Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-26 07:30 +0100
        RE: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo  data "Simmons, James A." <simmonsja@ornl.gov> - 2016-02-26 16:50 +0100
          Re: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo data 'Greg Kroah-Hartman' <gregkh@linuxfoundation.org> - 2016-02-26 17:40 +0100

csiph-web