Drivers: hv: Change the hex constant to a decimal constant
Subsystems (2)
PATCH 1/1 Drivers: hv: Change the hex constant to a decimal constant
The hex constant chosen for HV_LINUX_GUEST_ID_HI was offensive, update to use the decimal equivalent instead.
Signed-off-by K. Y. Srinivasan <[email protected]>
Reviewed-by Haiyang Zhang <[email protected]>
--- drivers/hv/hyperv_vmbus.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hv/hyperv_vmbus.h +1 -1
@@ -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)
Signature · 1 line
1.7.4.1
Quoted 5 lines · K. Y. Srinivasan
The hex constant chosen for
HV_LINUX_GUEST_ID_HIwas offensive, update to use the decimal equivalent instead.Signed-off-by K. Y. Srinivasan <[email protected]>Reviewed-by Haiyang Zhang <[email protected]>
Acked-by Jeff Garzik <[email protected]>