staging: lustre: add missing MODULE_AUTHOR for LNet selftest module

For several lustre modules the MODULE_VERSION has the wrong value,
located in the wrong place in the source code, or completely missing.
This patch brings it up to date.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204
Reviewed-on: http://review.whamcloud.com/16729
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
James Simmons 2016-02-26 11:36:03 -05:00 committed by Greg Kroah-Hartman
parent 9911da0f43
commit 5b0e50b964
17 changed files with 19 additions and 8 deletions

View File

@ -42,6 +42,8 @@
#include "curproc.h"
#define LIBCFS_VERSION "0.7.0"
#define LOWEST_BIT_SET(x) ((x) & ~((x) - 1))
/*

View File

@ -39,6 +39,8 @@
* @{
*/
#define LNET_VERSION "0.6.0"
/** \addtogroup lnet_addr
* @{
*/

View File

@ -2868,6 +2868,7 @@ static int __init kiblnd_module_init(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Kernel OpenIB gen2 LND v2.00");
MODULE_VERSION("2.7.0");
MODULE_LICENSE("GPL");
module_init(kiblnd_module_init);

View File

@ -2926,8 +2926,8 @@ ksocknal_module_init(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Kernel TCP Socket LND v3.0.0");
MODULE_VERSION("2.7.0");
MODULE_LICENSE("GPL");
MODULE_VERSION("3.0.0");
module_init(ksocknal_module_init);
module_exit(ksocknal_module_fini);

View File

@ -225,8 +225,8 @@ fini_lnet(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("LNet v3.1");
MODULE_VERSION(LNET_VERSION);
MODULE_LICENSE("GPL");
MODULE_VERSION("1.0.0");
module_init(init_lnet);
module_exit(fini_lnet);

View File

@ -150,8 +150,8 @@ error:
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("LNet Selftest");
MODULE_VERSION("2.7.0");
MODULE_LICENSE("GPL");
MODULE_VERSION("0.9.0");
module_init(lnet_selftest_init);
module_exit(lnet_selftest_fini);

View File

@ -466,8 +466,8 @@ static void __exit fid_mod_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre FID Module");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
MODULE_VERSION("0.1.0");
module_init(fid_mod_init);
module_exit(fid_mod_exit);

View File

@ -501,6 +501,7 @@ static void __exit fld_mod_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre FLD");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(fld_mod_init)

View File

@ -666,7 +666,7 @@ static void exit_libcfs_module(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Portals v3.1");
MODULE_VERSION("1.0.0");
MODULE_VERSION(LIBCFS_VERSION);
MODULE_LICENSE("GPL");
module_init(init_libcfs_module);

View File

@ -878,4 +878,5 @@ module_param(max_loop, int, 0444);
MODULE_PARM_DESC(max_loop, "maximum of lloop_device");
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre virtual block device");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");

View File

@ -210,6 +210,7 @@ static void __exit exit_lustre_lite(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Lite Client File System");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(init_lustre_lite);

View File

@ -2784,6 +2784,7 @@ static void lmv_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Logical Metadata Volume OBD driver");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(lmv_init);

View File

@ -2537,6 +2537,7 @@ static void /*__exit*/ mdc_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Metadata Client");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(mdc_init);

View File

@ -1748,6 +1748,7 @@ static void /*__exit*/ mgc_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Management Client");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(mgc_init);

View File

@ -577,8 +577,8 @@ static void cleanup_obdclass(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Class Driver Build Version: " LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(init_obdclass);
module_exit(cleanup_obdclass);

View File

@ -1890,8 +1890,8 @@ static void /*__exit*/ obdecho_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Testing Echo OBD driver");
MODULE_LICENSE("GPL");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
module_init(obdecho_init);
module_exit(obdecho_exit);

View File

@ -162,8 +162,8 @@ static void __exit ptlrpc_exit(void)
MODULE_AUTHOR("OpenSFS, Inc. <http://www.lustre.org/>");
MODULE_DESCRIPTION("Lustre Request Processor and Lock Management");
MODULE_VERSION(LUSTRE_VERSION_STRING);
MODULE_LICENSE("GPL");
MODULE_VERSION("1.0.0");
module_init(ptlrpc_init);
module_exit(ptlrpc_exit);