Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1171768
| From | "Zheng, Lv" <lv.zheng@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH v2 02/28] ACPICA: Linuxize: Replace __FUNCTION__ with __func__. |
| Date | 2015-06-25 02:30 +0200 |
| Message-ID | <pF3df-zY-5@gated-at.bofh.it> (permalink) |
| References | <pCVjP-3H9-3@gated-at.bofh.it> <pEJex-5H5-3@gated-at.bofh.it> <pEJey-5H5-21@gated-at.bofh.it> <pESrw-1Td-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, > From: Christoph Hellwig [mailto:hch@infradead.org] > Sent: Wednesday, June 24, 2015 8:56 PM > > 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. This patch description is used in ACPICA upstream. For ACPICA code base, __FUNCTION__ is only used for its MSVC builds. And __func__ is converted from __FUNCTION__ by the linuxize release script. See the original commit here: https://github.com/acpica/acpica/commit/cb3d1c79 So this is simply an automated release output. Without this merged, source code differences between Linux upstream and ACPICA upstream will hurt the automation. Thanks and best regards -Lv -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 02/28] ACPICA: Linuxize: Replace __FUNCTION__ with __func__. Lv Zheng <lv.zheng@intel.com> - 2015-06-24 05:10 +0200 RE: [PATCH v2 02/28] ACPICA: Linuxize: Replace __FUNCTION__ with __func__. "Zheng, Lv" <lv.zheng@intel.com> - 2015-06-25 02:30 +0200
csiph-web