Skip to content

Commit 464fa2b

Browse files
acpibobrafaeljw
authored andcommitted
ACPICA: Table Manager: Update comments in a function header
Update acpi_get_table_header to remove text stating that the caller must unmap any returned memory. ACPICA commit 4f3a235cf0044b2d91958b1f99b4ca824c63f948 Link: acpica/acpica@4f3a235c Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent a1dc35b commit 464fa2b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/acpi/acpica/tbxface.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,14 @@ ACPI_EXPORT_SYMBOL_INIT(acpi_reallocate_root_table)
202202
*
203203
* PARAMETERS: signature - ACPI signature of needed table
204204
* instance - Which instance (for SSDTs)
205-
* out_table_header - The pointer to the table header to fill
205+
* out_table_header - The pointer to the where the table header
206+
* is returned
206207
*
207-
* RETURN: Status and pointer to mapped table header
208+
* RETURN: Status and a copy of the table header
208209
*
209-
* DESCRIPTION: Finds an ACPI table header.
210-
*
211-
* NOTE: Caller is responsible in unmapping the header with
212-
* acpi_os_unmap_memory
210+
* DESCRIPTION: Finds and returns an ACPI table header. Caller provides the
211+
* memory where a copy of the header is to be returned
212+
* (fixed length).
213213
*
214214
******************************************************************************/
215215
acpi_status

0 commit comments

Comments
 (0)