Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752751AbbFXM4G (ORCPT ); Wed, 24 Jun 2015 08:56:06 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:56946 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751973AbbFXM4A (ORCPT ); Wed, 24 Jun 2015 08:56:00 -0400 Date: Wed, 24 Jun 2015 05:55:59 -0700 From: Christoph Hellwig To: Lv Zheng Cc: "Rafael J. Wysocki" , Len Brown , Lv Zheng , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v2 02/28] ACPICA: Linuxize: Replace __FUNCTION__ with __func__. Message-ID: <20150624125559.GA8144@infradead.org> References: <9572a1ad1d35f3c68979610a389063813fd2d2c5.1435114811.git.lv.zheng@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9572a1ad1d35f3c68979610a389063813fd2d2c5.1435114811.git.lv.zheng@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 727 Lines: 16 On Wed, Jun 24, 2015 at 11:02:03AM +0800, Lv Zheng wrote: > ACPICA commit cb3d1c79f862cd368d749c9b8d9dced40111b0d0 > > __FUNCTION__ is MSVC only, in Linux, it is __func__. Lv Zheng. > > In ACPICA, this is achieved by string replacement in release script and > this patch contains the source code difference between the Linux upstream > and ACPICA that is caused by the back porting. __func__ is in C99 and never. __FUNCTION__ is an old extension supported by various compilers. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/