public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drivers: acpi: Fix label indentation and leading comma formatting issues
@ 2023-09-28 21:48 Jonathan Bergh
  2023-10-03 19:06 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Bergh @ 2023-09-28 21:48 UTC (permalink / raw)
  To: lenb, rafael; +Cc: linux-acpi, linux-kernel, Jonathan Bergh

Fixed the following formatting issues flagged by checkpatch
in utils.c:
 * Remove incorrect indentation before goto label
 * Remove whitespace ahead of comma in parameter list

Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
---
 drivers/acpi/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c
index 2ea14648a661..300646bf8ba7 100644
--- a/drivers/acpi/utils.c
+++ b/drivers/acpi/utils.c
@@ -399,7 +399,7 @@ acpi_evaluate_reference(acpi_handle handle,
 		acpi_handle_debug(list->handles[i], "Found in reference list\n");
 	}
 
-      end:
+end:
 	if (ACPI_FAILURE(status)) {
 		list->count = 0;
 		//kfree(list->handles);
@@ -523,7 +523,7 @@ acpi_handle_printk(const char *level, acpi_handle handle, const char *fmt, ...)
 	vaf.va = &args;
 
 	path = acpi_handle_path(handle);
-	printk("%sACPI: %s: %pV", level, path ? path : "<n/a>" , &vaf);
+	printk("%sACPI: %s: %pV", level, path ? path : "<n/a>", &vaf);
 
 	va_end(args);
 	kfree(path);
-- 
2.34.1


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

* Re: [PATCH 1/2] drivers: acpi: Fix label indentation and leading comma formatting issues
  2023-09-28 21:48 [PATCH 1/2] drivers: acpi: Fix label indentation and leading comma formatting issues Jonathan Bergh
@ 2023-10-03 19:06 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2023-10-03 19:06 UTC (permalink / raw)
  To: Jonathan Bergh; +Cc: lenb, rafael, linux-acpi, linux-kernel

On Thu, Sep 28, 2023 at 11:48 PM Jonathan Bergh
<bergh.jonathan@gmail.com> wrote:
>
> Fixed the following formatting issues flagged by checkpatch
> in utils.c:
>  * Remove incorrect indentation before goto label
>  * Remove whitespace ahead of comma in parameter list
>
> Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
> ---
>  drivers/acpi/utils.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c
> index 2ea14648a661..300646bf8ba7 100644
> --- a/drivers/acpi/utils.c
> +++ b/drivers/acpi/utils.c
> @@ -399,7 +399,7 @@ acpi_evaluate_reference(acpi_handle handle,
>                 acpi_handle_debug(list->handles[i], "Found in reference list\n");
>         }
>
> -      end:
> +end:
>         if (ACPI_FAILURE(status)) {
>                 list->count = 0;
>                 //kfree(list->handles);
> @@ -523,7 +523,7 @@ acpi_handle_printk(const char *level, acpi_handle handle, const char *fmt, ...)
>         vaf.va = &args;
>
>         path = acpi_handle_path(handle);
> -       printk("%sACPI: %s: %pV", level, path ? path : "<n/a>" , &vaf);
> +       printk("%sACPI: %s: %pV", level, path ? path : "<n/a>", &vaf);
>
>         va_end(args);
>         kfree(path);
> --

Applied as 6.7 material along with the [2/2] with edis in subjects and
changelogs.

Thanks!

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

end of thread, other threads:[~2023-10-03 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28 21:48 [PATCH 1/2] drivers: acpi: Fix label indentation and leading comma formatting issues Jonathan Bergh
2023-10-03 19:06 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox