Driver: Vmxnet3: Change the hex constant to its decimal equivalent
authorShrikrishna Khare <skhare@vmware.com>
Fri, 6 Feb 2015 21:48:28 +0000 (13:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2015 00:55:01 +0000 (16:55 -0800)
The hex constant chosen for VMXNET3_REV1_MAGIC is offensive,
replace it with its decimal equivalent.

Signed-off-by: Shrikrishna Khare <skhare@vmware.com>
Reviewed-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_int.h

index 25b6fa4810b556a26b9d61ae153477b37a3e19e1..3718d024f63858b27cceb1fdd319d4c5915e9b4b 100644 (file)
@@ -393,7 +393,7 @@ struct Vmxnet3_DriverInfo {
 };
 
 
-#define VMXNET3_REV1_MAGIC  0xbabefee1
+#define VMXNET3_REV1_MAGIC  3133079265u
 
 /*
  * QueueDescPA must be 128 bytes aligned. It points to an array of
index 406144b436bfab576e3958eacda27d1a3a7abe47..cd71c77f78f2f5aeaa7165cbe83e71c0e25587c3 100644 (file)
 /*
  * Version numbers
  */
-#define VMXNET3_DRIVER_VERSION_STRING   "1.3.3.0-k"
+#define VMXNET3_DRIVER_VERSION_STRING   "1.3.4.0-k"
 
 /* a 32-bit int, each byte encode a verion number in VMXNET3_DRIVER_VERSION */
-#define VMXNET3_DRIVER_VERSION_NUM      0x01030300
+#define VMXNET3_DRIVER_VERSION_NUM      0x01030400
 
 #if defined(CONFIG_PCI_MSI)
        /* RSS only makes sense if MSI-X is supported. */