linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream()
@ 2025-04-30  8:09 Dan Carpenter
  2025-05-01 13:35 ` Don.Brace
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dan Carpenter @ 2025-04-30  8:09 UTC (permalink / raw)
  To: Yi Zhang
  Cc: Don Brace, James E.J. Bottomley, Martin K. Petersen, storagedev,
	linux-scsi, linux-kernel, kernel-janitors

We accidentally intended this line an extra tab.  Delete the tab.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 drivers/scsi/smartpqi/smartpqi_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
index 93e6c777a01e..1d784ee7671c 100644
--- a/drivers/scsi/smartpqi/smartpqi_init.c
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
@@ -6004,7 +6004,7 @@ static bool pqi_is_parity_write_stream(struct pqi_ctrl_info *ctrl_info,
 			pqi_stream_data->next_lba = rmd.first_block +
 				rmd.block_cnt;
 			pqi_stream_data->last_accessed = jiffies;
-				per_cpu_ptr(device->raid_io_stats, raw_smp_processor_id())->write_stream_cnt++;
+			per_cpu_ptr(device->raid_io_stats, raw_smp_processor_id())->write_stream_cnt++;
 			return true;
 		}
 
-- 
2.47.2


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

* Re: [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream()
  2025-04-30  8:09 [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream() Dan Carpenter
@ 2025-05-01 13:35 ` Don.Brace
  2025-05-06  2:04 ` Martin K. Petersen
  2025-05-13  2:48 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Don.Brace @ 2025-05-01 13:35 UTC (permalink / raw)
  To: dan.carpenter, yi.zhang
  Cc: James.Bottomley, martin.petersen, storagedev, linux-scsi,
	linux-kernel, kernel-janitors


________________________________________
From: Dan Carpenter <dan.carpenter@linaro.org>
Sent: Wednesday, April 30, 2025 3:09 AM
To: Yi Zhang <yi.zhang@redhat.com>
Cc: Don Brace - C33706 <Don.Brace@microchip.com>; James E.J. Bottomley <James.Bottomley@hansenpartnership.com>; Martin K. Petersen <martin.petersen@oracle.com>; storagedev <storagedev@microchip.com>; linux-scsi@vger.kernel.org <linux-scsi@vger.kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>; kernel-janitors@vger.kernel.org <kernel-janitors@vger.kernel.org>
Subject: [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream()
 
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

We accidentally intended this line an extra tab.  Delete the tab.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>

Thank you for doing this Dan.
Don


---
 drivers/scsi/smartpqi/smartpqi_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
index 93e6c777a01e..1d784ee7671c 100644
--- a/drivers/scsi/smartpqi/smartpqi_init.c
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
@@ -6004,7 +6004,7 @@ static bool pqi_is_parity_write_stream(struct pqi_ctrl_info *ctrl_info,
                        pqi_stream_data->next_lba = rmd.first_block +
                                rmd.block_cnt;
                        pqi_stream_data->last_accessed = jiffies;
-                               per_cpu_ptr(device->raid_io_stats, raw_smp_processor_id())->write_stream_cnt++;
+                       per_cpu_ptr(device->raid_io_stats, raw_smp_processor_id())->write_stream_cnt++;
                        return true;
                }

--
2.47.2

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

* Re: [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream()
  2025-04-30  8:09 [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream() Dan Carpenter
  2025-05-01 13:35 ` Don.Brace
@ 2025-05-06  2:04 ` Martin K. Petersen
  2025-05-13  2:48 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2025-05-06  2:04 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Yi Zhang, Don Brace, James E.J. Bottomley, Martin K. Petersen,
	storagedev, linux-scsi, linux-kernel, kernel-janitors


Dan,

> We accidentally intended this line an extra tab.  Delete the tab.

Applied to 6.16/scsi-staging, thanks!

-- 
Martin K. Petersen

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

* Re: [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream()
  2025-04-30  8:09 [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream() Dan Carpenter
  2025-05-01 13:35 ` Don.Brace
  2025-05-06  2:04 ` Martin K. Petersen
@ 2025-05-13  2:48 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2025-05-13  2:48 UTC (permalink / raw)
  To: Yi Zhang, Dan Carpenter
  Cc: Martin K . Petersen, Don Brace, James E.J. Bottomley, storagedev,
	linux-scsi, linux-kernel, kernel-janitors

On Wed, 30 Apr 2025 11:09:16 +0300, Dan Carpenter wrote:

> We accidentally intended this line an extra tab.  Delete the tab.
> 
> 

Applied to 6.16/scsi-queue, thanks!

[1/1] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream()
      https://git.kernel.org/mkp/scsi/c/0e937fd51e8a

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2025-05-13  2:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30  8:09 [PATCH] scsi: smartpqi: Delete a stray tab in pqi_is_parity_write_stream() Dan Carpenter
2025-05-01 13:35 ` Don.Brace
2025-05-06  2:04 ` Martin K. Petersen
2025-05-13  2:48 ` Martin K. Petersen

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