linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output
@ 2016-08-06 17:27 Alexander Kuleshov
  2016-08-08  0:55 ` Zheng, Lv
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kuleshov @ 2016-08-06 17:27 UTC (permalink / raw)
  To: Robert Moore
  Cc: Lv Zheng, Rafael J . Wysocki, Len Brown, linux-acpi, devel,
	linux-kernel, Alexander Kuleshov

as the ACPI_INFO already prints `\n` in the end itself.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 drivers/acpi/acpica/tbxfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c
index ac71abc..e7119b7 100644
--- a/drivers/acpi/acpica/tbxfload.c
+++ b/drivers/acpi/acpica/tbxfload.c
@@ -240,7 +240,7 @@ acpi_status acpi_tb_load_namespace(void)
 	}
 
 	if (!tables_failed) {
-		ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded\n", tables_loaded));
+		ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded", tables_loaded));
 	} else {
 		ACPI_ERROR((AE_INFO,
 			    "%u table load failures, %u successful",
-- 
2.8.0.rc3.1353.gea9bdc0

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

* RE: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output
  2016-08-06 17:27 [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output Alexander Kuleshov
@ 2016-08-08  0:55 ` Zheng, Lv
  2016-08-08 21:38   ` Moore, Robert
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng, Lv @ 2016-08-08  0:55 UTC (permalink / raw)
  To: Alexander Kuleshov, Moore, Robert
  Cc: Wysocki, Rafael J, Len Brown, linux-acpi@vger.kernel.org,
	devel@acpica.org, linux-kernel@vger.kernel.org

> From: Alexander Kuleshov [mailto:kuleshovmail@gmail.com]
> Subject: [PATCH] ACPICA: Remove unnecessary '\n' in the end of
> ACPI_INFO output
> 
> as the ACPI_INFO already prints `\n` in the end itself.
[Lv Zheng] 
Looks good.
Acked-by: Lv Zheng <lv.zheng@intel.com>
However this patch should go through ACPICA upstream.

Thanks
-Lv

> 
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
>  drivers/acpi/acpica/tbxfload.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c
> index ac71abc..e7119b7 100644
> --- a/drivers/acpi/acpica/tbxfload.c
> +++ b/drivers/acpi/acpica/tbxfload.c
> @@ -240,7 +240,7 @@ acpi_status acpi_tb_load_namespace(void)
>  	}
> 
>  	if (!tables_failed) {
> -		ACPI_INFO(("%u ACPI AML tables successfully acquired and
> loaded\n", tables_loaded));
> +		ACPI_INFO(("%u ACPI AML tables successfully acquired and
> loaded", tables_loaded));
>  	} else {
>  		ACPI_ERROR((AE_INFO,
>  			    "%u table load failures, %u successful",
> --
> 2.8.0.rc3.1353.gea9bdc0

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

* RE: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output
  2016-08-08  0:55 ` Zheng, Lv
@ 2016-08-08 21:38   ` Moore, Robert
  0 siblings, 0 replies; 3+ messages in thread
From: Moore, Robert @ 2016-08-08 21:38 UTC (permalink / raw)
  To: Zheng, Lv, Alexander Kuleshov
  Cc: Wysocki, Rafael J, Len Brown, linux-acpi@vger.kernel.org,
	devel@acpica.org, linux-kernel@vger.kernel.org

I put that \n in there to break up the output from AcpiExec. This comes up every year or so, I think I'll give up -- without really seeing the harm in an extra \n.



> -----Original Message-----
> From: Zheng, Lv
> Sent: Sunday, August 7, 2016 5:56 PM
> To: Alexander Kuleshov <kuleshovmail@gmail.com>; Moore, Robert
> <robert.moore@intel.com>
> Cc: Wysocki, Rafael J <rafael.j.wysocki@intel.com>; Len Brown
> <lenb@kernel.org>; linux-acpi@vger.kernel.org; devel@acpica.org; linux-
> kernel@vger.kernel.org
> Subject: RE: [PATCH] ACPICA: Remove unnecessary '\n' in the end of
> ACPI_INFO output
> 
> > From: Alexander Kuleshov [mailto:kuleshovmail@gmail.com]
> > Subject: [PATCH] ACPICA: Remove unnecessary '\n' in the end of
> > ACPI_INFO output
> >
> > as the ACPI_INFO already prints `\n` in the end itself.
> [Lv Zheng]
> Looks good.
> Acked-by: Lv Zheng <lv.zheng@intel.com>
> However this patch should go through ACPICA upstream.
> 
> Thanks
> -Lv
> 
> >
> > Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> > ---
> >  drivers/acpi/acpica/tbxfload.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/acpi/acpica/tbxfload.c
> > b/drivers/acpi/acpica/tbxfload.c index ac71abc..e7119b7 100644
> > --- a/drivers/acpi/acpica/tbxfload.c
> > +++ b/drivers/acpi/acpica/tbxfload.c
> > @@ -240,7 +240,7 @@ acpi_status acpi_tb_load_namespace(void)
> >  	}
> >
> >  	if (!tables_failed) {
> > -		ACPI_INFO(("%u ACPI AML tables successfully acquired and
> > loaded\n", tables_loaded));
> > +		ACPI_INFO(("%u ACPI AML tables successfully acquired and
> > loaded", tables_loaded));
> >  	} else {
> >  		ACPI_ERROR((AE_INFO,
> >  			    "%u table load failures, %u successful",
> > --
> > 2.8.0.rc3.1353.gea9bdc0

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

end of thread, other threads:[~2016-08-08 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-06 17:27 [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output Alexander Kuleshov
2016-08-08  0:55 ` Zheng, Lv
2016-08-08 21:38   ` Moore, Robert

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).