From: Dean Nelson <dnelson at redhat.com>
To: devel@acpica.org
Subject: Re: [Devel] ACPICA version 20150619 released
Date: Fri, 19 Jun 2015 09:30:18 -0500 [thread overview]
Message-ID: <5584277A.7030509@redhat.com> (raw)
In-Reply-To: 94F2FBAB4432B54E8AACC7DFDE6C92E37D3037D9@ORSMSX112.amr.corp.intel.com
[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]
On 06/19/2015 09:15 AM, Moore, Robert wrote:
> 19 June 2015. Summary of changes for version 20150619:
>
> This release is available at https://acpica.org/downloads
Please excuse my ignorance, but why are the download files named
*.tar_0.gz ? Why the '_0' ?
Also I noticed that the git-repo with the latest commit being...
commit d7a940bb308d001b5d2b196174fee36c7daa61d6
Author: Robert Moore <Robert.Moore(a)intel.com>
AuthorDate: Thu Jun 18 08:13:39 2015 -0700
Commit: Robert Moore <Robert.Moore(a)intel.com>
CommitDate: Thu Jun 18 08:13:39 2015 -0700
Update version to 20150619.
differs from the two source code tarballs with regard to
source/compiler/asllookup.c by the git-diff file that I've
attached. But I don't see that patch mentioned in the git-repo.
So where did those changes come from? And do they really belong
in the tarballs? And if yes, why aren't they in the git-repo?
Thanks,
Dean
>
> Two regressions in version 20150616 have been addressed:
>
> Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, etc.)
> This update changes ACPICA to only use the standard headers for functions, or
> (optionally) the local prototypes for the local versions of the C library functions.
> Across the source code, this required some additional casts for some Clib invocations
> for portability. Moved all local prototypes to a new file, acclib.h
>
> Fixes several problems with recent changes to the handling of the FACS table that
> could cause some systems not to boot.
>
>
> _______________________________________________
> Devel mailing list
> Devel(a)acpica.org
> https://lists.acpica.org/mailman/listinfo/devel
>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: difference.patch --]
[-- Type: text/x-patch, Size: 1448 bytes --]
diff --git a/source/compiler/asllookup.c b/source/compiler/asllookup.c
index 4a7539a..9c60d03 100644
--- a/source/compiler/asllookup.c
+++ b/source/compiler/asllookup.c
@@ -181,6 +181,13 @@ LkFindUnreferencedObjects (
* if they are not referenced.
*
******************************************************************************/
+typedef struct asl_method_local
+{
+ UINT32 Flags;
+ ACPI_PARSE_OBJECT *Op;
+
+} ASL_METHOD_LOCAL;
+
static ACPI_STATUS
LkIsObjectUsed (
@@ -191,6 +198,8 @@ LkIsObjectUsed (
{
ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle);
ACPI_NAMESPACE_NODE *Next;
+ ASL_METHOD_LOCAL *MethodLocals;
+ UINT32 i;
/* Referenced flag is set during the namespace xref */
@@ -217,6 +226,24 @@ LkIsObjectUsed (
return (AE_OK);
+ case ACPI_TYPE_METHOD:
+
+ /* Check for Locals that are set but never used */
+
+ MethodLocals = (ASL_METHOD_LOCAL *) Node->Object;
+ for (i = 0; i < ACPI_METHOD_NUM_LOCALS; i++)
+ {
+ if (MethodLocals[i].Flags & ANOBJ_IS_REFERENCED)
+ {
+ sprintf (MsgBuffer, "Local%u",
+ i);
+
+ AslError (ASL_REMARK, ASL_MSG_LOCAL_NOT_USED,
+ MethodLocals[i].Op, MsgBuffer);
+ }
+ }
+ break;
+
default:
break;
next reply other threads:[~2015-06-19 14:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 14:30 Dean Nelson [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-06-19 15:08 [Devel] ACPICA version 20150619 released Moore, Robert
2015-06-19 14:15 Moore, Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5584277A.7030509@redhat.com \
--to=devel@acpica.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.