Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure

@@ -1,15 +1,14 @@
-
 /******************************************************************************
  *
  * Module Name: exstoren - AML Interpreter object store support,
  *                        Store to Node (namespace object)
  *
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2011, Intel Corp.
+ * Copyright (C) 2000 - 2014, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:

@@ -93,15 +92,13 @@
     case ACPI_TYPE_LOCAL_INDEX_FIELD:
         /*
          * These cases all require only Integers or values that
          * can be converted to Integers (Strings or Buffers)
          */
-
     case ACPI_TYPE_INTEGER:
     case ACPI_TYPE_STRING:
     case ACPI_TYPE_BUFFER:
-
         /*
          * Stores into a Field/Region or into a Integer/Buffer/String
          * are all essentially the same.  This case handles the
          * "interchangeable" types Integer, String, and Buffer.
          */

@@ -139,26 +136,22 @@
                 AcpiUtGetTypeName (TargetType)));
             Status = AE_AML_OPERAND_TYPE;
         }
         break;
 
-
     case ACPI_TYPE_LOCAL_ALIAS:
     case ACPI_TYPE_LOCAL_METHOD_ALIAS:
-
         /*
          * All aliases should have been resolved earlier, during the
          * operand resolution phase.
          */
         ACPI_ERROR ((AE_INFO, "Store into an unresolved Alias object"));
         Status = AE_AML_INTERNAL;
         break;
 
-
     case ACPI_TYPE_PACKAGE:
     default:
-
         /*
          * All other types than Alias and the various Fields come here,
          * including the untyped case - ACPI_TYPE_ANY.
          */
         break;

@@ -268,11 +261,11 @@
 
         DestDesc->Integer.Value = ActualSrcDesc->Integer.Value;
 
         /* Truncate value if we are executing from a 32-bit ACPI table */
 
-        AcpiExTruncateFor32bitTable (DestDesc);
+        (void) AcpiExTruncateFor32bitTable (DestDesc);
         break;
 
     case ACPI_TYPE_STRING:
 
         Status = AcpiExStoreStringToString (ActualSrcDesc, DestDesc);

@@ -308,7 +301,5 @@
     }
 
     *NewDesc = DestDesc;
     return_ACPI_STATUS (Status);
 }
-
-