All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: asus-wireless: Fix format specifier
@ 2018-05-22 21:29 João Paulo Rechi Vita
  2018-05-31 10:35 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: João Paulo Rechi Vita @ 2018-05-22 21:29 UTC (permalink / raw)
  To: João Paulo Rechi Vita, Corentin Chary, Darren Hart, Andy Shevchenko
  Cc: linux, platform-driver-x86, acpi4asus-user, linux-kernel

From: João Paulo Rechi Vita <jprvita@gmail.com>

u64 should be printed with %llx instead of %x and cast to uint.

Signed-off-by: João Paulo Rechi Vita <jprvita@gmail.com>
---
 drivers/platform/x86/asus-wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/asus-wireless.c b/drivers/platform/x86/asus-wireless.c
index f086469ea740..6afd011de9e5 100644
--- a/drivers/platform/x86/asus-wireless.c
+++ b/drivers/platform/x86/asus-wireless.c
@@ -72,7 +72,7 @@ static u64 asus_wireless_method(acpi_handle handle, const char *method,
 		acpi_handle_err(handle,
 				"Failed to eval method %s, param %#x (%d)\n",
 				method, param, s);
-	acpi_handle_debug(handle, "%s returned %#x\n", method, (uint) ret);
+	acpi_handle_debug(handle, "%s returned %#llx\n", method, ret);
 	return ret;
 }
 
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] platform/x86: asus-wireless: Fix format specifier
  2018-05-22 21:29 [PATCH] platform/x86: asus-wireless: Fix format specifier João Paulo Rechi Vita
@ 2018-05-31 10:35 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2018-05-31 10:35 UTC (permalink / raw)
  To: João Paulo Rechi Vita
  Cc: Corentin Chary, Darren Hart, Andy Shevchenko,
	Linux Upstreaming Team, Platform Driver, acpi4asus-user,
	Linux Kernel Mailing List

On Wed, May 23, 2018 at 12:29 AM, João Paulo Rechi Vita
<jprvita@gmail.com> wrote:
> From: João Paulo Rechi Vita <jprvita@gmail.com>
>
> u64 should be printed with %llx instead of %x and cast to uint.
>

Pushed to my review and testing queue, thanks!

> Signed-off-by: João Paulo Rechi Vita <jprvita@gmail.com>
> ---
>  drivers/platform/x86/asus-wireless.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/asus-wireless.c b/drivers/platform/x86/asus-wireless.c
> index f086469ea740..6afd011de9e5 100644
> --- a/drivers/platform/x86/asus-wireless.c
> +++ b/drivers/platform/x86/asus-wireless.c
> @@ -72,7 +72,7 @@ static u64 asus_wireless_method(acpi_handle handle, const char *method,
>                 acpi_handle_err(handle,
>                                 "Failed to eval method %s, param %#x (%d)\n",
>                                 method, param, s);
> -       acpi_handle_debug(handle, "%s returned %#x\n", method, (uint) ret);
> +       acpi_handle_debug(handle, "%s returned %#llx\n", method, ret);
>         return ret;
>  }
>
> --
> 2.17.0
>



-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-31 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22 21:29 [PATCH] platform/x86: asus-wireless: Fix format specifier João Paulo Rechi Vita
2018-05-31 10:35 ` Andy Shevchenko

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.