From patchwork Fri Dec 12 10:51:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 5481741 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2C7FB9F1D4 for ; Fri, 12 Dec 2014 10:52:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A026201BB for ; Fri, 12 Dec 2014 10:52:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6E35A20172 for ; Fri, 12 Dec 2014 10:52:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966182AbaLLKwF (ORCPT ); Fri, 12 Dec 2014 05:52:05 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:42654 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966169AbaLLKv7 (ORCPT ); Fri, 12 Dec 2014 05:51:59 -0500 Received: by mail-lb0-f176.google.com with SMTP id p9so5593314lbv.21 for ; Fri, 12 Dec 2014 02:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aEyBd7yIijgxObzI1mRdIO2NmQkv59UfvDdHIQDCUDA=; b=TL7jzSHsgPsnW40xQRTUoYO0vIiERPTchfUFKX/ppC8ujgNrSqNIWMKKXTN6k5A9Lb xR9UzgI8koxbJLdbJbnPvx83lPLk+/sO7AQcuj930dIcfm2WV4ccEB3YVPSIAzOYOlTH TGOy5uduwd0FzJw+1nDsnxV2TbgKZN+BojgLE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aEyBd7yIijgxObzI1mRdIO2NmQkv59UfvDdHIQDCUDA=; b=EuNFx1GBeleB4o2IR88xbhDO+Kmq37IjXCuhPPhjSPgjJqXDTvvErHdVbXi19GWT/P ahvz0l4VKqwfXYO+ABD5zTfeQgM/smoV2RhP9Ezwk27MvY0Zb4Lku9RlJSEppI64fpxh X5eBoZ94kY6MtT6iJmTXVIaiSeww6s/X6IN8XYAAPbq+GWkiP3oij8mtyWD01XGSrdPa qxirIzCxcHZjkOcEE+Ce5Z2Ss7qI1vsyLCmoCxmSgXDYpUcD0KJjwF409Tz/m5hY3nq4 8+DDSDkFWZcnLebEUgfHTCza1CKoU0M9C5G1yj44pbEfqI8P1xApKZXBK5JZnLgbIKCK I7eA== X-Gm-Message-State: ALoCoQl3am/2dhe5QWPguh2Fe8RFEF6WPkvAUpCxdu/EkTdSvbiQv5ZXs76APtL9kSjHEtwK7xUX X-Received: by 10.152.44.167 with SMTP id f7mr15014789lam.30.1418381517605; Fri, 12 Dec 2014 02:51:57 -0800 (PST) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id ao10sm298224lac.8.2014.12.12.02.51.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Dec 2014 02:51:57 -0800 (PST) From: Rasmus Villemoes To: Lv Zheng Cc: Rasmus Villemoes , linux-acpi@vger.kernel.org, devel@acpica.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] ACPICA: Remove use of __DATE__ macro Date: Fri, 12 Dec 2014 11:51:28 +0100 Message-Id: <1418381488-25123-3-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418381488-25123-1-git-send-email-linux@rasmusvillemoes.dk> References: <1418381488-25123-1-git-send-email-linux@rasmusvillemoes.dk> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The macro __DATE__ and friends is not allowed in the kernel. Also, including the build time in output doesn't seem to provide any value. Signed-off-by: Rasmus Villemoes --- drivers/acpi/acpica/acapps.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/acpi/acpica/acapps.h b/drivers/acpi/acpica/acapps.h index 3d2c88289da9..f72826176ebe 100644 --- a/drivers/acpi/acpica/acapps.h +++ b/drivers/acpi/acpica/acapps.h @@ -64,15 +64,15 @@ /* Macros for signons and file headers */ #define ACPI_COMMON_SIGNON(utility_name) \ - "\n%s\n%s version %8.8X%s [%s]\n%s\n\n", \ + "\n%s\n%s version %8.8X%s\n%s\n\n", \ ACPICA_NAME, \ - utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, __DATE__, \ + utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, \ ACPICA_COPYRIGHT #define ACPI_COMMON_HEADER(utility_name, prefix) \ - "%s%s\n%s%s version %8.8X%s [%s]\n%s%s\n%s\n", \ + "%s%s\n%s%s version %8.8X%s\n%s%s\n%s\n", \ prefix, ACPICA_NAME, \ - prefix, utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, __DATE__, \ + prefix, utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, \ prefix, ACPICA_COPYRIGHT, \ prefix