]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Drivers: hv: Change the hex constant to a decimal constant
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 18 Jul 2012 22:57:25 +0000 (15:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 22:27:33 +0000 (15:27 -0700)
The hex constant chosen for HV_LINUX_GUEST_ID_HI was offensive, update to use
the decimal equivalent instead.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hyperv_vmbus.h

index b9426a6592ee558f9b4945346818de30a4c3816e..0614ff3a7d7e2ece52e0a4e487b60f96c9bc521d 100644 (file)
@@ -411,7 +411,7 @@ enum {
 #define HV_PRESENT_BIT                 0x80000000
 
 #define HV_LINUX_GUEST_ID_LO           0x00000000
-#define HV_LINUX_GUEST_ID_HI           0xB16B00B5
+#define HV_LINUX_GUEST_ID_HI           2976579765
 #define HV_LINUX_GUEST_ID              (((u64)HV_LINUX_GUEST_ID_HI << 32) | \
                                           HV_LINUX_GUEST_ID_LO)