mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
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. Signed-off-by: Shrikrishna Khare <skhare@vmware.com> Reviewed-by: Shreyas Bhatewara <sbhatewara@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
567e4b7973
commit
dd83829ed9
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user