From 0ce527f58f50015e18026c0084b91847a03be2ee Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 27 Apr 2015 12:28:55 -0700 Subject: [PATCH] datapath: Stop using __DATE__ and __TIME__ in startup string. An increasing number of distributions ship with GCC 4.9 (including Fedora and Ubuntu) that has -Werror=date-time. This causes kernel compilation to fail because the builds are not exactly reproducible. This simply removes the use of those constants, which was already done for the upstream Linux version of the module. It retains the version string, however, which should provide the same information in most cases. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- datapath/datapath.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index 15e8c233a..ebf515eee 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -2149,8 +2149,7 @@ static int __init dp_init(void) BUILD_BUG_ON(sizeof(struct ovs_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); - pr_info("Open vSwitch switching datapath %s, built "__DATE__" "__TIME__"\n", - VERSION); + pr_info("Open vSwitch switching datapath %s\n", VERSION); err = ovs_flow_init(); if (err) -- 2.20.1