Commit cf48958e authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: Fix some comment fields

No functional change. Fixes some typos and linux divergences.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3b3ea775
...@@ -283,8 +283,8 @@ ...@@ -283,8 +283,8 @@
#define ACPI_INSERT_BITS(target, mask, source) target = ((target & (~(mask))) | (source & mask)) #define ACPI_INSERT_BITS(target, mask, source) target = ((target & (~(mask))) | (source & mask))
/* /*
* A struct acpi_namespace_node can appear in some contexts * An object of type struct acpi_namespace_node can appear in some contexts
* where a pointer to a union acpi_operand_object can also * where a pointer to an object of type union acpi_operand_object can also
* appear. This macro is used to distinguish them. * appear. This macro is used to distinguish them.
* *
* The "Descriptor" field is the first field in both structures. * The "Descriptor" field is the first field in both structures.
......
...@@ -113,8 +113,8 @@ struct acpi_object_integer { ...@@ -113,8 +113,8 @@ struct acpi_object_integer {
}; };
/* /*
* Note: The String and Buffer object must be identical through the Pointer * Note: The String and Buffer object must be identical through the
* and length elements. There is code that depends on this. * pointer and length elements. There is code that depends on this.
* *
* Fields common to both Strings and Buffers * Fields common to both Strings and Buffers
*/ */
......
...@@ -395,8 +395,8 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, ...@@ -395,8 +395,8 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc,
* *
* RETURN: Status * RETURN: Status
* *
* DESCRIPTION: Construct a union acpi_operand_object of type def_field and * DESCRIPTION: Construct an object of type union acpi_operand_object with a
* connect it to the parent Node. * subtype of def_field and connect it to the parent Node.
* *
******************************************************************************/ ******************************************************************************/
......
...@@ -147,7 +147,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr, ...@@ -147,7 +147,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
stack_desc = *stack_ptr; stack_desc = *stack_ptr;
/* This is a union acpi_operand_object */ /* This is an object of type union acpi_operand_object */
switch (stack_desc->common.type) { switch (stack_desc->common.type) {
case ACPI_TYPE_LOCAL_REFERENCE: case ACPI_TYPE_LOCAL_REFERENCE:
......
...@@ -63,7 +63,7 @@ acpi_ex_store_object_to_index(union acpi_operand_object *val_desc, ...@@ -63,7 +63,7 @@ acpi_ex_store_object_to_index(union acpi_operand_object *val_desc,
* *
* PARAMETERS: *source_desc - Value to be stored * PARAMETERS: *source_desc - Value to be stored
* *dest_desc - Where to store it. Must be an NS node * *dest_desc - Where to store it. Must be an NS node
* or a union acpi_operand_object of type * or union acpi_operand_object of type
* Reference; * Reference;
* walk_state - Current walk state * walk_state - Current walk state
* *
......
...@@ -190,8 +190,8 @@ acpi_rs_create_resource_list(union acpi_operand_object *aml_buffer, ...@@ -190,8 +190,8 @@ acpi_rs_create_resource_list(union acpi_operand_object *aml_buffer,
* *
* FUNCTION: acpi_rs_create_pci_routing_table * FUNCTION: acpi_rs_create_pci_routing_table
* *
* PARAMETERS: package_object - Pointer to a union acpi_operand_object * PARAMETERS: package_object - Pointer to a package containing one
* package * of more ACPI_OPERAND_OBJECTs
* output_buffer - Pointer to the user's buffer * output_buffer - Pointer to the user's buffer
* *
* RETURN: Status AE_OK if okay, else a valid acpi_status code. * RETURN: Status AE_OK if okay, else a valid acpi_status code.
......
...@@ -247,8 +247,9 @@ struct acpi_fixed_event_info acpi_gbl_fixed_event_info[ACPI_NUM_FIXED_EVENTS] = ...@@ -247,8 +247,9 @@ struct acpi_fixed_event_info acpi_gbl_fixed_event_info[ACPI_NUM_FIXED_EVENTS] =
* *
* RETURN: Status * RETURN: Status
* *
* DESCRIPTION: Init library globals. All globals that require specific * DESCRIPTION: Initialize ACPICA globals. All globals that require specific
* initialization should be initialized here! * initialization should be initialized here. This allows for
* a warm restart.
* *
******************************************************************************/ ******************************************************************************/
......
...@@ -327,7 +327,7 @@ union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size) ...@@ -327,7 +327,7 @@ union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size)
* *
* RETURN: TRUE if object is valid, FALSE otherwise * RETURN: TRUE if object is valid, FALSE otherwise
* *
* DESCRIPTION: Validate a pointer to be a union acpi_operand_object * DESCRIPTION: Validate a pointer to be of type union acpi_operand_object
* *
******************************************************************************/ ******************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment