diff mbox series

[next] scsi: mpt3sas: Remove trailing space after \n newline

Message ID 20240902143645.309537-1-colin.i.king@gmail.com (mailing list archive)
State Superseded
Headers show
Series [next] scsi: mpt3sas: Remove trailing space after \n newline | expand

Commit Message

Colin Ian King Sept. 2, 2024, 2:36 p.m. UTC
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(-)

Comments

Christophe JAILLET Sept. 2, 2024, 5:14 p.m. UTC | #1
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 +
diff mbox series

Patch

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 +