]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Drivers: hv: remove HV_DRV_VERSION
authorOlaf Hering <olaf@aepfle.de>
Wed, 29 May 2013 09:29:07 +0000 (11:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2013 03:34:30 +0000 (11:34 +0800)
Remove HV_DRV_VERSION, it has no meaning for upstream drivers.

Initially it was supposed to show the "Linux Integration Services"
version, now it is not in sync anymore with the out-of-tree drivers
available from the MSFT website.

The only place where a version string is still required is the KVP
command "IntegrationServicesVersion" which is handled by
tools/hv/hv_kvp_daemon.c. To satisfy such KVP request from the host pass
the current string to the daemon during KVP userland registration.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-hyperv.c
drivers/hv/hv_balloon.c
drivers/hv/hv_kvp.c
drivers/hv/hv_util.c
drivers/hv/vmbus_drv.c
drivers/net/hyperv/netvsc_drv.c
drivers/scsi/storvsc_drv.c
drivers/video/hyperv_fb.c
include/linux/hyperv.h

index 713217380b4494d0e1f7882522a051fe1e405fb8..8fae6d1414cca83bc7af2386b7db5dc4cbd3f27b 100644 (file)
@@ -590,6 +590,5 @@ static void __exit mousevsc_exit(void)
 }
 
 MODULE_LICENSE("GPL");
-MODULE_VERSION(HV_DRV_VERSION);
 module_init(mousevsc_init);
 module_exit(mousevsc_exit);
index 2d094cfdb1e0b4c2c21b2ab95296dbea4d11ce82..7e17a5495e029cc02b127f4c0cb997b43aa09dfe 100644 (file)
@@ -1526,5 +1526,4 @@ static int __init init_balloon_drv(void)
 module_init(init_balloon_drv);
 
 MODULE_DESCRIPTION("Hyper-V Balloon");
-MODULE_VERSION(HV_DRV_VERSION);
 MODULE_LICENSE("GPL");
index 53127209a40479866ccdaeee57c75fa26a8926a0..28b03325b8729ffdf2d3356538dc2515b5af5de2 100644 (file)
@@ -86,7 +86,9 @@ static u8 *recv_buffer;
 /*
  * Register the kernel component with the user-level daemon.
  * As part of this registration, pass the LIC version number.
+ * This number has no meaning, it satisfies the registration protocol.
  */
+#define HV_DRV_VERSION           "3.1"
 
 static void
 kvp_register(int reg_value)
index c16164d4a28b22b1b4ebc88032b1228642e97a8f..cb82233541b196a53177007ebb4520a9e4112442 100644 (file)
@@ -395,5 +395,4 @@ module_init(init_hyperv_utils);
 module_exit(exit_hyperv_utils);
 
 MODULE_DESCRIPTION("Hyper-V Utilities");
-MODULE_VERSION(HV_DRV_VERSION);
 MODULE_LICENSE("GPL");
index e8e071fc1d6d1ab265d858772fc94bbd5cd8930c..f9fe46f52cfa35d3d006260ed6a082f41466ef58 100644 (file)
@@ -816,7 +816,6 @@ static void __exit vmbus_exit(void)
 
 
 MODULE_LICENSE("GPL");
-MODULE_VERSION(HV_DRV_VERSION);
 
 subsys_initcall(hv_acpi_init);
 module_exit(vmbus_exit);
index 23a0fff0df52eaf6cc3a9992e9ec45350a1c9084..524f713f60170b2d5632bbac6958ae0529a80b1c 100644 (file)
@@ -306,7 +306,6 @@ static void netvsc_get_drvinfo(struct net_device *net,
                               struct ethtool_drvinfo *info)
 {
        strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver));
-       strlcpy(info->version, HV_DRV_VERSION, sizeof(info->version));
        strlcpy(info->fw_version, "N/A", sizeof(info->fw_version));
 }
 
@@ -529,7 +528,6 @@ static int __init netvsc_drv_init(void)
 }
 
 MODULE_LICENSE("GPL");
-MODULE_VERSION(HV_DRV_VERSION);
 MODULE_DESCRIPTION("Microsoft Hyper-V network driver");
 
 module_init(netvsc_drv_init);
index 83ec1aa85964c73c547bc3f3eb2586d3b6d73dc7..1a28f5632797ed2da2f27c0752013e3c7e4dde5d 100644 (file)
@@ -1879,7 +1879,6 @@ static void __exit storvsc_drv_exit(void)
 }
 
 MODULE_LICENSE("GPL");
-MODULE_VERSION(HV_DRV_VERSION);
 MODULE_DESCRIPTION("Microsoft Hyper-V virtual storage driver");
 module_init(storvsc_drv_init);
 module_exit(storvsc_drv_exit);
index d4d2c5fe24882c045c55ac19e310e5f4638c08e0..8ac99b87c07e07b9737934fcb380e6ab3f7855f7 100644 (file)
@@ -825,5 +825,4 @@ module_init(hvfb_drv_init);
 module_exit(hvfb_drv_exit);
 
 MODULE_LICENSE("GPL");
-MODULE_VERSION(HV_DRV_VERSION);
 MODULE_DESCRIPTION("Microsoft Hyper-V Synthetic Video Frame Buffer Driver");
index 49949079cf47d0e0ac29f727f59fbb23a011b9f7..a3b8b2e2d24438129df020cc8d7af78562123cad 100644 (file)
@@ -463,27 +463,6 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi,
        *read = dsize - *write;
 }
 
-
-/*
- * We use the same version numbering for all Hyper-V modules.
- *
- * Definition of versioning is as follows;
- *
- *     Major Number    Changes for these scenarios;
- *                     1.      When a new version of Windows Hyper-V
- *                             is released.
- *                     2.      A Major change has occurred in the
- *                             Linux IC's.
- *                     (For example the merge for the first time
- *                     into the kernel) Every time the Major Number
- *                     changes, the Revision number is reset to 0.
- *     Minor Number    Changes when new functionality is added
- *                     to the Linux IC's that is not a bug fix.
- *
- * 3.1 - Added completed hv_utils driver. Shutdown/Heartbeat/Timesync
- */
-#define HV_DRV_VERSION           "3.1"
-
 /*
  * VMBUS version is 32 bit entity broken up into
  * two 16 bit quantities: major_number. minor_number.