linux-acpi.vger.kernel.org archive mirror
 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: Sven Barth <sb@miray.de>, Bob Moore <robert.moore@intel.com>,
	Erik Kaneda <erik.kaneda@intel.com>
Subject: [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32
Date: Fri, 14 Feb 2020 10:48:01 -0800	[thread overview]
Message-ID: <20200214184804.15114-8-erik.kaneda@intel.com> (raw)
In-Reply-To: <20200214184804.15114-1-erik.kaneda@intel.com>

From: Sven Barth <sb@miray.de>

ACPICA commit d216e4c8d886d7fb82697948c4fee8a5777a1a5a

Link: https://github.com/acpica/acpica/commit/d216e4c8
Signed-off-by: Sven Barth <sb@miray.de>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/nsnames.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c
index 370bbc867745..832b79c4b008 100644
--- a/drivers/acpi/acpica/nsnames.c
+++ b/drivers/acpi/acpica/nsnames.c
@@ -164,7 +164,7 @@ acpi_ns_handle_to_pathname(acpi_handle target_handle,
 	/* Build the path in the caller buffer */
 
 	(void)acpi_ns_build_normalized_path(node, buffer->pointer,
-					    required_size, no_trailing);
+					    (u32)required_size, no_trailing);
 
 	ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%s [%X]\n",
 			  (char *)buffer->pointer, (u32) required_size));
@@ -315,7 +315,7 @@ char *acpi_ns_get_normalized_pathname(struct acpi_namespace_node *node,
 
 	/* Build the path in the allocated buffer */
 
-	(void)acpi_ns_build_normalized_path(node, name_buffer, size,
+	(void)acpi_ns_build_normalized_path(node, name_buffer, (u32)size,
 					    no_trailing);
 
 	ACPI_DEBUG_PRINT_RAW((ACPI_DB_NAMES, "%s: Path \"%s\"\n",
-- 
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 ` [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header Erik Kaneda
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 ` Erik Kaneda [this message]
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-8-erik.kaneda@intel.com \
    --to=erik.kaneda@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@intel.com \
    --cc=sb@miray.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).