All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Kaneda <erik.kaneda@intel.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>, linux-acpi@vger.kernel.org
Cc: Bob Moore <robert.moore@intel.com>, Erik Kaneda <erik.kaneda@intel.com>
Subject: [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header
Date: Fri, 14 Feb 2020 10:47:59 -0800	[thread overview]
Message-ID: <20200214184804.15114-6-erik.kaneda@intel.com> (raw)
In-Reply-To: <20200214184804.15114-1-erik.kaneda@intel.com>

From: Bob Moore <robert.moore@intel.com>

Update acpi_get_table_header to remove text stating that the caller
must unmap any returned memory.

ACPICA commit 4f3a235cf0044b2d91958b1f99b4ca824c63f948

Link: https://github.com/acpica/acpica/commit/4f3a235c
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/tbxface.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c
index f8403d480318..7490429ddbf6 100644
--- a/drivers/acpi/acpica/tbxface.c
+++ b/drivers/acpi/acpica/tbxface.c
@@ -202,14 +202,14 @@ ACPI_EXPORT_SYMBOL_INIT(acpi_reallocate_root_table)
  *
  * PARAMETERS:  signature           - ACPI signature of needed table
  *              instance            - Which instance (for SSDTs)
- *              out_table_header    - The pointer to the table header to fill
+ *              out_table_header    - The pointer to the where the table header
+ *                                    is returned
  *
- * RETURN:      Status and pointer to mapped table header
+ * RETURN:      Status and a copy of the table header
  *
- * DESCRIPTION: Finds an ACPI table header.
- *
- * NOTE:        Caller is responsible in unmapping the header with
- *              acpi_os_unmap_memory
+ * DESCRIPTION: Finds and returns an ACPI table header. Caller provides the
+ *              memory where a copy of the header is to be returned
+ *              (fixed length).
  *
  ******************************************************************************/
 acpi_status
-- 
2.21.0


  parent reply	other threads:[~2020-02-14 19:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
2020-02-14 18:47 ` [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree () Erik Kaneda
2020-02-14 18:47 ` [PATCH 02/10] ACPICA: ASL-ASL+ converter: make root file a parameter for cv_init_file_tree Erik Kaneda
2020-02-14 18:47 ` [PATCH 03/10] ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed events Erik Kaneda
2020-02-14 18:47 ` [PATCH 04/10] ACPICA: Enable sleep button on ACPI legacy wake Erik Kaneda
2020-02-14 18:47 ` Erik Kaneda [this message]
2020-02-14 18:48 ` [PATCH 06/10] ACPICA: cast the result of the pointer difference to u32 Erik Kaneda
2020-02-14 18:48 ` [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32 Erik Kaneda
2020-02-14 18:48 ` [PATCH 08/10] ACPICA: use acpi_size instead of u32 for prefix_path_length Erik Kaneda
2020-02-14 18:48 ` [PATCH 09/10] ACPICA: Fix a couple of typos Erik Kaneda
2020-02-14 18:48 ` [PATCH 10/10] ACPICA: Update version to 20200214 Version 20200214 Erik Kaneda
2020-02-16  9:22 ` [PATCH 00/10] ACPICA release 20200214 Rafael J. Wysocki

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=20200214184804.15114-6-erik.kaneda@intel.com \
    --to=erik.kaneda@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@intel.com \
    /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.