mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] scsi: mpt3sas: Remove trailing space after \n newline
@ 2024-09-02 14:36 Colin Ian King
  2024-09-02 17:14 ` Christophe JAILLET
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2024-09-02 14:36 UTC (permalink / raw)
  To: Sathya Prakash, Sreekanth Reddy, Suganath Prabu Subramani,
	James E . J . Bottomley, Martin K . Petersen,
	MPT-FusionLinux.pdl, linux-scsi
  Cc: kernel-janitors, linux-kernel

There is a extraneous space after a newline in an ioc_info message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/scsi/mpt3sas/mpt3sas_base.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 9a24f7776d64..ebe4cbbc16e4 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -8899,8 +8899,8 @@ _base_check_ioc_facts_changes(struct MPT3SAS_ADAPTER *ioc)
 		if (!device_remove_in_progress) {
 			ioc_info(ioc,
 			    "Unable to allocate the memory for "
-			    "device_remove_in_progress of sz: %d\n "
-			    , pd_handles_sz);
+			    "device_remove_in_progress of sz: %d\n",
+			    pd_handles_sz);
 			return -ENOMEM;
 		}
 		memset(device_remove_in_progress +
-- 
2.39.2


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

* Re: [PATCH][next] scsi: mpt3sas: Remove trailing space after \n newline
  2024-09-02 14:36 [PATCH][next] scsi: mpt3sas: Remove trailing space after \n newline Colin Ian King
@ 2024-09-02 17:14 ` Christophe JAILLET
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe JAILLET @ 2024-09-02 17:14 UTC (permalink / raw)
  To: Colin Ian King, Sathya Prakash, Sreekanth Reddy,
	Suganath Prabu Subramani, James E . J . Bottomley,
	Martin K . Petersen, MPT-FusionLinux.pdl, linux-scsi
  Cc: kernel-janitors, linux-kernel

Le 02/09/2024 à 16:36, Colin Ian King a écrit :
> There is a extraneous space after a newline in an ioc_info message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>   drivers/scsi/mpt3sas/mpt3sas_base.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
> index 9a24f7776d64..ebe4cbbc16e4 100644
> --- a/drivers/scsi/mpt3sas/mpt3sas_base.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
> @@ -8899,8 +8899,8 @@ _base_check_ioc_facts_changes(struct MPT3SAS_ADAPTER *ioc)
>   		if (!device_remove_in_progress) {
>   			ioc_info(ioc,
>   			    "Unable to allocate the memory for "
> -			    "device_remove_in_progress of sz: %d\n "
> -			    , pd_handles_sz);
> +			    "device_remove_in_progress of sz: %d\n",

Hi,

I think that the 2 parts of the string should be put on the same line.

Another call just a few lines above is already written like that.

CJ

> +			    pd_handles_sz);
>   			return -ENOMEM;
>   		}
>   		memset(device_remove_in_progress +


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

end of thread, other threads:[~2024-09-02 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-02 14:36 [PATCH][next] scsi: mpt3sas: Remove trailing space after \n newline Colin Ian King
2024-09-02 17:14 ` Christophe JAILLET

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

all inboxes | Powered by JetHome®