Skip to content

Commit 808df6a

Browse files
Tariq Toukandavem330
authored andcommitted
net/mlx4_en: Bump driver version
Remove date and bump version for mlx4_en driver. Signed-off-by: Tariq Toukan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cea2a6d commit 808df6a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

drivers/net/ethernet/mellanox/mlx4/en_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ mlx4_en_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo)
8989
struct mlx4_en_dev *mdev = priv->mdev;
9090

9191
strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
92-
strlcpy(drvinfo->version, DRV_VERSION " (" DRV_RELDATE ")",
92+
strlcpy(drvinfo->version, DRV_VERSION,
9393
sizeof(drvinfo->version));
9494
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
9595
"%d.%d.%d",

drivers/net/ethernet/mellanox/mlx4/en_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
MODULE_AUTHOR("Liran Liss, Yevgeny Petrilin");
4747
MODULE_DESCRIPTION("Mellanox ConnectX HCA Ethernet driver");
4848
MODULE_LICENSE("Dual BSD/GPL");
49-
MODULE_VERSION(DRV_VERSION " ("DRV_RELDATE")");
49+
MODULE_VERSION(DRV_VERSION);
5050

5151
static const char mlx4_en_version[] =
5252
DRV_NAME ": Mellanox ConnectX HCA Ethernet driver v"
53-
DRV_VERSION " (" DRV_RELDATE ")\n";
53+
DRV_VERSION "\n";
5454

5555
#define MLX4_EN_PARM_INT(X, def_val, desc) \
5656
static unsigned int X = def_val;\

drivers/net/ethernet/mellanox/mlx4/mlx4_en.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
#include "mlx4_stats.h"
5959

6060
#define DRV_NAME "mlx4_en"
61-
#define DRV_VERSION "2.2-1"
62-
#define DRV_RELDATE "Feb 2014"
61+
#define DRV_VERSION "4.0-0"
6362

6463
#define MLX4_EN_MSG_LEVEL (NETIF_MSG_LINK | NETIF_MSG_IFDOWN)
6564

0 commit comments

Comments
 (0)