From patchwork Tue Apr 5 14:59:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 687251 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p35F4FCR028336 for ; Tue, 5 Apr 2011 15:04:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834Ab1DEPBG (ORCPT ); Tue, 5 Apr 2011 11:01:06 -0400 Received: from cantor.suse.de ([195.135.220.2]:44471 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754158Ab1DEO7j (ORCPT ); Tue, 5 Apr 2011 10:59:39 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 507B09505C; Tue, 5 Apr 2011 16:59:36 +0200 (CEST) Received: by sepie.suse.cz (Postfix, from userid 10020) id EA212764C3; Tue, 5 Apr 2011 16:59:35 +0200 (CEST) From: Michal Marek To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH 30/34] rio: Drop __DATE__ usage Date: Tue, 5 Apr 2011 16:59:17 +0200 Message-Id: <1302015561-21047-31-git-send-email-mmarek@suse.cz> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1302015561-21047-1-git-send-email-mmarek@suse.cz> References: <1302015561-21047-1-git-send-email-mmarek@suse.cz> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 05 Apr 2011 15:04:21 +0000 (UTC) The kernel already prints its build timestamp during boot, no need to repeat it in random drivers and produce different object files each time. As the buildDate field is part of the userspace API, I replaced it with the date of the last code change. Cc: Greg Kroah-Hartman Signed-off-by: Michal Marek --- drivers/char/rio/rioinit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/rio/rioinit.c b/drivers/char/rio/rioinit.c index 24a282b..fb62b38 100644 --- a/drivers/char/rio/rioinit.c +++ b/drivers/char/rio/rioinit.c @@ -381,7 +381,7 @@ struct rioVersion *RIOVersid(void) { strlcpy(stVersion.version, "RIO driver for linux V1.0", sizeof(stVersion.version)); - strlcpy(stVersion.buildDate, __DATE__, + strlcpy(stVersion.buildDate, "Aug 15 2010", sizeof(stVersion.buildDate)); return &stVersion;