Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1340868
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/6] staging: lustre: move module info to end of libcfs module.c file |
| Date | 2016-02-23 18:00 +0100 |
| Message-ID | <r5otA-86u-23@gated-at.bofh.it> (permalink) |
| References | <r5ojT-831-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] staging: lustre: update modinfo data James Simmons <jsimmons@infradead.org> - 2016-02-23 17:50 +0100 [PATCH 3/6] staging: lustre: update the MODULE_VERSION for all lustre modules James Simmons <jsimmons@infradead.org> - 2016-02-23 17:50 +0100 [PATCH 6/6] staging: lustre: update format for lnet_lib_init/exit comment James Simmons <jsimmons@infradead.org> - 2016-02-23 17:50 +0100 [PATCH 1/6] staging: lustre: move module info to end of libcfs module.c file James Simmons <jsimmons@infradead.org> - 2016-02-23 18:00 +0100 [PATCH 2/6] staging: lustre: add missing MODULE_AUTHOR for LNet selftest module James Simmons <jsimmons@infradead.org> - 2016-02-23 18:00 +0100 [PATCH 4/6] staging: lustre: update the MODULE_DESCRIPTION for all lustre modules James Simmons <jsimmons@infradead.org> - 2016-02-23 18:00 +0100
csiph-web