2011-04-05 15:01:14

by Michal Marek

[permalink] [raw]
Subject: [PATCH 29/34] tipc: Drop __TIME__ usage

The kernel already prints its build timestamp during boot, no need to
repeat it in random drivers and produce different object files each
time.

Cc: Jon Maloy <[email protected]>
Cc: Allan Stephens <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Michal Marek <[email protected]>
---
net/tipc/core.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/tipc/core.c b/net/tipc/core.c
index e071579..33532fe 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -185,8 +185,7 @@ static int __init tipc_init(void)
if (tipc_log_resize(CONFIG_TIPC_LOG) != 0)
warn("Unable to create log buffer\n");

- info("Activated (version " TIPC_MOD_VER
- " compiled " __DATE__ " " __TIME__ ")\n");
+ info("Activated (version " TIPC_MOD_VER ")\n");

tipc_own_addr = 0;
tipc_remote_management = 1;
--
1.7.4.1


2011-04-05 22:25:24

by Paul Gortmaker

[permalink] [raw]
Subject: Re: [PATCH 29/34] tipc: Drop __TIME__ usage

On Tue, Apr 5, 2011 at 10:59 AM, Michal Marek <[email protected]> wrote:
> The kernel already prints its build timestamp during boot, no need to
> repeat it in random drivers and produce different object files each
> time.

I'll make sure this gets bundled into the next batch of tipc updates
I proxy to DaveM. The ccache users should be happier.

Thanks,
Paul.

>
> Cc: Jon Maloy <[email protected]>
> Cc: Allan Stephens <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Michal Marek <[email protected]>
> ---
> ?net/tipc/core.c | ? ?3 +--
> ?1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/net/tipc/core.c b/net/tipc/core.c
> index e071579..33532fe 100644
> --- a/net/tipc/core.c
> +++ b/net/tipc/core.c
> @@ -185,8 +185,7 @@ static int __init tipc_init(void)
> ? ? ? ?if (tipc_log_resize(CONFIG_TIPC_LOG) != 0)
> ? ? ? ? ? ? ? ?warn("Unable to create log buffer\n");
>
> - ? ? ? info("Activated (version " TIPC_MOD_VER
> - ? ? ? ? ? ?" compiled " __DATE__ " " __TIME__ ")\n");
> + ? ? ? info("Activated (version " TIPC_MOD_VER ")\n");
>
> ? ? ? ?tipc_own_addr = 0;
> ? ? ? ?tipc_remote_management = 1;
> --
> 1.7.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at ?http://www.tux.org/lkml/
>