Skip to contentSkip to conversation

Driver: Vmxnet3: Change the hex constant to its decimal equivalent

PATCH Applied Shrikrishna Khare 2 participants 2 messages Feb 6, 2015 – Feb 9, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Driver: Vmxnet3: Change the hex constant to its decimal equivalent

The hex constant chosen for VMXNET3_REV1_MAGIC is offensive, replace it with its decimal equivalent.

---
 drivers/net/vmxnet3/vmxnet3_defs.h |    2 +-
 drivers/net/vmxnet3/vmxnet3_int.h  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/vmxnet3/vmxnet3_defs.h +1 -1
index 25b6fa4..3718d02 100644
@@ -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
drivers/net/vmxnet3/vmxnet3_int.h +2 -2
index 406144b..cd71c77 100644
@@ -69,10 +69,10 @@
 /*
  * 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. */
Signature · 1 line
1.7.4.1