linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: imu: adis: Add a missing '\n' in a log message
@ 2020-04-10 17:12 Christophe JAILLET
  2020-04-12 10:00 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2020-04-10 17:12 UTC (permalink / raw)
  To: alexandru.ardelean, lars, Michael.Hennerich, stefan.popa, jic23,
	knaack.h, pmeerw
  Cc: linux-iio, linux-kernel, kernel-janitors, Christophe JAILLET

Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.

Fixes: 1fd456702692 ("iio: imu: adis: add support product ID check in adis_initial_startup")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/iio/imu/adis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/imu/adis.c b/drivers/iio/imu/adis.c
index a8afd01de4f3..2e7d0d337f8f 100644
--- a/drivers/iio/imu/adis.c
+++ b/drivers/iio/imu/adis.c
@@ -419,7 +419,7 @@ int __adis_initial_startup(struct adis *adis)
 
 	if (prod_id != adis->data->prod_id)
 		dev_warn(&adis->spi->dev,
-			 "Device ID(%u) and product ID(%u) do not match.",
+			 "Device ID(%u) and product ID(%u) do not match.\n",
 			 adis->data->prod_id, prod_id);
 
 	return 0;
-- 
2.20.1


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

* Re: [PATCH] iio: imu: adis: Add a missing '\n' in a log message
  2020-04-10 17:12 [PATCH] iio: imu: adis: Add a missing '\n' in a log message Christophe JAILLET
@ 2020-04-12 10:00 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2020-04-12 10:00 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: alexandru.ardelean, lars, Michael.Hennerich, stefan.popa,
	knaack.h, pmeerw, linux-iio, linux-kernel, kernel-janitors

On Fri, 10 Apr 2020 19:12:24 +0200
Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:

> Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.
> 
> Fixes: 1fd456702692 ("iio: imu: adis: add support product ID check in adis_initial_startup")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied thanks,

Jonathan

> ---
>  drivers/iio/imu/adis.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/imu/adis.c b/drivers/iio/imu/adis.c
> index a8afd01de4f3..2e7d0d337f8f 100644
> --- a/drivers/iio/imu/adis.c
> +++ b/drivers/iio/imu/adis.c
> @@ -419,7 +419,7 @@ int __adis_initial_startup(struct adis *adis)
>  
>  	if (prod_id != adis->data->prod_id)
>  		dev_warn(&adis->spi->dev,
> -			 "Device ID(%u) and product ID(%u) do not match.",
> +			 "Device ID(%u) and product ID(%u) do not match.\n",
>  			 adis->data->prod_id, prod_id);
>  
>  	return 0;


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

end of thread, other threads:[~2020-04-12 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 17:12 [PATCH] iio: imu: adis: Add a missing '\n' in a log message Christophe JAILLET
2020-04-12 10:00 ` Jonathan Cameron

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