diff mbox series

scsi: aacraid: Clean up some inconsistent indenting

Message ID 20220309005031.126504-1-jiapeng.chong@linux.alibaba.com
State New
Headers show
Series scsi: aacraid: Clean up some inconsistent indenting | expand

Commit Message

Jiapeng Chong March 9, 2022, 12:50 a.m. UTC
Eliminate the follow smatch warning:

drivers/scsi/aacraid/linit.c:867 aac_eh_tmf_hard_reset_fib() warn:
inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/scsi/aacraid/linit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen March 15, 2022, 3:48 a.m. UTC | #1
Jiapeng,

> Eliminate the follow smatch warning:
>
> drivers/scsi/aacraid/linit.c:867 aac_eh_tmf_hard_reset_fib() warn:
> inconsistent indenting.

Applied to 5.18/scsi-staging, thanks!
Martin K. Petersen March 19, 2022, 3:56 a.m. UTC | #2
On Wed, 9 Mar 2022 08:50:31 +0800, Jiapeng Chong wrote:

> Eliminate the follow smatch warning:
> 
> drivers/scsi/aacraid/linit.c:867 aac_eh_tmf_hard_reset_fib() warn:
> inconsistent indenting.
> 
> 

Applied to 5.18/scsi-queue, thanks!

[1/1] scsi: aacraid: Clean up some inconsistent indenting
      https://git.kernel.org/mkp/scsi/c/f089ce7bb5ee
diff mbox series

Patch

diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index b91b72b923ec..9c27bc37e5de 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -864,7 +864,7 @@  static u8 aac_eh_tmf_hard_reset_fib(struct aac_hba_map_info *info,
 	rst->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE);
 	fib->hbacmd_size = sizeof(*rst);
 
-       return HBA_IU_TYPE_SATA_REQ;
+	return HBA_IU_TYPE_SATA_REQ;
 }
 
 static void aac_tmf_callback(void *context, struct fib *fibptr)