diff options
| author | Olaf Hering <olaf@aepfle.de> | 2013-05-29 05:29:07 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-01 23:34:30 -0400 |
| commit | cfc25993e81f3fa68481d062be634d33184d5eae (patch) | |
| tree | 659ced6211719358eccf0c47021b8b538d73434f /drivers | |
| parent | 9c5891bd4342349a200676d33f742dd1b864822c (diff) | |
Drivers: hv: remove HV_DRV_VERSION
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/hid/hid-hyperv.c | 1 | ||||
| -rw-r--r-- | drivers/hv/hv_balloon.c | 1 | ||||
| -rw-r--r-- | drivers/hv/hv_kvp.c | 2 | ||||
| -rw-r--r-- | drivers/hv/hv_util.c | 1 | ||||
| -rw-r--r-- | drivers/hv/vmbus_drv.c | 1 | ||||
| -rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 | ||||
| -rw-r--r-- | drivers/scsi/storvsc_drv.c | 1 | ||||
| -rw-r--r-- | drivers/video/hyperv_fb.c | 1 |
8 files changed, 2 insertions, 8 deletions
diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index 713217380b44..8fae6d1414cc 100644 --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c | |||
| @@ -590,6 +590,5 @@ static void __exit mousevsc_exit(void) | |||
| 590 | } | 590 | } |
| 591 | 591 | ||
| 592 | MODULE_LICENSE("GPL"); | 592 | MODULE_LICENSE("GPL"); |
| 593 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 594 | module_init(mousevsc_init); | 593 | module_init(mousevsc_init); |
| 595 | module_exit(mousevsc_exit); | 594 | module_exit(mousevsc_exit); |
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index 2d094cfdb1e0..7e17a5495e02 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c | |||
| @@ -1526,5 +1526,4 @@ static int __init init_balloon_drv(void) | |||
| 1526 | module_init(init_balloon_drv); | 1526 | module_init(init_balloon_drv); |
| 1527 | 1527 | ||
| 1528 | MODULE_DESCRIPTION("Hyper-V Balloon"); | 1528 | MODULE_DESCRIPTION("Hyper-V Balloon"); |
| 1529 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 1530 | MODULE_LICENSE("GPL"); | 1529 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c index 53127209a404..28b03325b872 100644 --- a/drivers/hv/hv_kvp.c +++ b/drivers/hv/hv_kvp.c | |||
| @@ -86,7 +86,9 @@ static u8 *recv_buffer; | |||
| 86 | /* | 86 | /* |
| 87 | * Register the kernel component with the user-level daemon. | 87 | * Register the kernel component with the user-level daemon. |
| 88 | * As part of this registration, pass the LIC version number. | 88 | * As part of this registration, pass the LIC version number. |
| 89 | * This number has no meaning, it satisfies the registration protocol. | ||
| 89 | */ | 90 | */ |
| 91 | #define HV_DRV_VERSION "3.1" | ||
| 90 | 92 | ||
| 91 | static void | 93 | static void |
| 92 | kvp_register(int reg_value) | 94 | kvp_register(int reg_value) |
diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c index c16164d4a28b..cb82233541b1 100644 --- a/drivers/hv/hv_util.c +++ b/drivers/hv/hv_util.c | |||
| @@ -395,5 +395,4 @@ module_init(init_hyperv_utils); | |||
| 395 | module_exit(exit_hyperv_utils); | 395 | module_exit(exit_hyperv_utils); |
| 396 | 396 | ||
| 397 | MODULE_DESCRIPTION("Hyper-V Utilities"); | 397 | MODULE_DESCRIPTION("Hyper-V Utilities"); |
| 398 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 399 | MODULE_LICENSE("GPL"); | 398 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index e8e071fc1d6d..f9fe46f52cfa 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c | |||
| @@ -816,7 +816,6 @@ static void __exit vmbus_exit(void) | |||
| 816 | 816 | ||
| 817 | 817 | ||
| 818 | MODULE_LICENSE("GPL"); | 818 | MODULE_LICENSE("GPL"); |
| 819 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 820 | 819 | ||
| 821 | subsys_initcall(hv_acpi_init); | 820 | subsys_initcall(hv_acpi_init); |
| 822 | module_exit(vmbus_exit); | 821 | module_exit(vmbus_exit); |
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index 23a0fff0df52..524f713f6017 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c | |||
| @@ -306,7 +306,6 @@ static void netvsc_get_drvinfo(struct net_device *net, | |||
| 306 | struct ethtool_drvinfo *info) | 306 | struct ethtool_drvinfo *info) |
| 307 | { | 307 | { |
| 308 | strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); | 308 | strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); |
| 309 | strlcpy(info->version, HV_DRV_VERSION, sizeof(info->version)); | ||
| 310 | strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); | 309 | strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); |
| 311 | } | 310 | } |
| 312 | 311 | ||
| @@ -529,7 +528,6 @@ static int __init netvsc_drv_init(void) | |||
| 529 | } | 528 | } |
| 530 | 529 | ||
| 531 | MODULE_LICENSE("GPL"); | 530 | MODULE_LICENSE("GPL"); |
| 532 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 533 | MODULE_DESCRIPTION("Microsoft Hyper-V network driver"); | 531 | MODULE_DESCRIPTION("Microsoft Hyper-V network driver"); |
| 534 | 532 | ||
| 535 | module_init(netvsc_drv_init); | 533 | module_init(netvsc_drv_init); |
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 83ec1aa85964..1a28f5632797 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c | |||
| @@ -1879,7 +1879,6 @@ static void __exit storvsc_drv_exit(void) | |||
| 1879 | } | 1879 | } |
| 1880 | 1880 | ||
| 1881 | MODULE_LICENSE("GPL"); | 1881 | MODULE_LICENSE("GPL"); |
| 1882 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 1883 | MODULE_DESCRIPTION("Microsoft Hyper-V virtual storage driver"); | 1882 | MODULE_DESCRIPTION("Microsoft Hyper-V virtual storage driver"); |
| 1884 | module_init(storvsc_drv_init); | 1883 | module_init(storvsc_drv_init); |
| 1885 | module_exit(storvsc_drv_exit); | 1884 | module_exit(storvsc_drv_exit); |
diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index d4d2c5fe2488..8ac99b87c07e 100644 --- a/drivers/video/hyperv_fb.c +++ b/drivers/video/hyperv_fb.c | |||
| @@ -825,5 +825,4 @@ module_init(hvfb_drv_init); | |||
| 825 | module_exit(hvfb_drv_exit); | 825 | module_exit(hvfb_drv_exit); |
| 826 | 826 | ||
| 827 | MODULE_LICENSE("GPL"); | 827 | MODULE_LICENSE("GPL"); |
| 828 | MODULE_VERSION(HV_DRV_VERSION); | ||
| 829 | MODULE_DESCRIPTION("Microsoft Hyper-V Synthetic Video Frame Buffer Driver"); | 828 | MODULE_DESCRIPTION("Microsoft Hyper-V Synthetic Video Frame Buffer Driver"); |
