From 07b2e5c92a943dd158089775684ecbfeb9891e65 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 22 Dec 2016 18:26:21 +0000 Subject: [PATCH] mlx: avoid use of __DATE__ to make build reproducible Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D8886 --- sys/dev/mlx4/mlx4_core/mlx4.h | 2 +- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/mlx4/mlx4_core/mlx4.h b/sys/dev/mlx4/mlx4_core/mlx4.h index ad22f741b1a..73f99f6d26d 100644 --- a/sys/dev/mlx4/mlx4_core/mlx4.h +++ b/sys/dev/mlx4/mlx4_core/mlx4.h @@ -52,7 +52,7 @@ #define DRV_NAME "mlx4_core" #define PFX DRV_NAME ": " #define DRV_VERSION "2.1.6" -#define DRV_RELDATE __DATE__ +#define DRV_RELDATE "Sep 30 2016" #define DRV_STACK_NAME "Linux-MLNX_OFED" #define DRV_STACK_VERSION "2.1" diff --git a/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c b/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c index 8066f791e68..e511290c2fc 100644 --- a/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c +++ b/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c @@ -59,7 +59,7 @@ #define DRV_NAME MLX4_IB_DRV_NAME #define DRV_VERSION "1.0" -#define DRV_RELDATE __DATE__ +#define DRV_RELDATE "Sep 30 2016" #define MLX4_IB_DRIVER_PROC_DIR_NAME "driver/mlx4_ib" #define MLX4_IB_MRS_PROC_DIR_NAME "mrs"