2021-05-21 20:11:36

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] scsi: bfa: Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/scsi/bfa/bfa_svc.c:3176 bfa_fcport_send_enable() warn:
inconsistent indenting.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/scsi/bfa/bfa_svc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/bfa/bfa_svc.c b/drivers/scsi/bfa/bfa_svc.c
index 5387883..4e3cef0 100644
--- a/drivers/scsi/bfa/bfa_svc.c
+++ b/drivers/scsi/bfa/bfa_svc.c
@@ -3167,7 +3167,7 @@ struct bfa_lps_s *
m->port_cfg = fcport->cfg;
m->msgtag = fcport->msgtag;
m->port_cfg.maxfrsize = cpu_to_be16(fcport->cfg.maxfrsize);
- m->use_flash_cfg = fcport->use_flash_cfg;
+ m->use_flash_cfg = fcport->use_flash_cfg;
bfa_dma_be_addr_set(m->stats_dma_addr, fcport->stats_pa);
bfa_trc(fcport->bfa, m->stats_dma_addr.a32.addr_lo);
bfa_trc(fcport->bfa, m->stats_dma_addr.a32.addr_hi);
--
1.8.3.1


2021-05-21 21:04:01

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: bfa: Fix inconsistent indenting


Jiapeng,

> Eliminate the follow smatch warning:
>
> drivers/scsi/bfa/bfa_svc.c:3176 bfa_fcport_send_enable() warn:
> inconsistent indenting.

Applied to 5.14/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering

2021-05-26 04:32:25

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: bfa: Fix inconsistent indenting

On Fri, 21 May 2021 17:46:08 +0800, Jiapeng Chong wrote:

> Eliminate the follow smatch warning:
>
> drivers/scsi/bfa/bfa_svc.c:3176 bfa_fcport_send_enable() warn:
> inconsistent indenting.

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: bfa: Fix inconsistent indenting
https://git.kernel.org/mkp/scsi/c/8f942f9d4b06

--
Martin K. Petersen Oracle Linux Engineering