2020-07-07 15:03:42

by Colin King

[permalink] [raw]
Subject: [PATCH][next] scsi: lpfc: fix inconsistent indenting

From: Colin Ian King <[email protected]>

Fix smatch warning:
drivers/scsi/lpfc/lpfc_sli.c:15156 lpfc_cq_poll_hdler() warn: inconsistent
indenting

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/scsi/lpfc/lpfc_sli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index e17675381cb8..92fc6527e7ee 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -15153,7 +15153,7 @@ static int lpfc_cq_poll_hdler(struct irq_poll *iop, int budget)
{
struct lpfc_queue *cq = container_of(iop, struct lpfc_queue, iop);

- __lpfc_sli4_hba_process_cq(cq, LPFC_IRQ_POLL);
+ __lpfc_sli4_hba_process_cq(cq, LPFC_IRQ_POLL);

return 1;
}
--
2.27.0


2020-07-07 17:01:09

by James Smart

[permalink] [raw]
Subject: Re: [PATCH][next] scsi: lpfc: fix inconsistent indenting

On 7/7/2020 8:00 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Fix smatch warning:
> drivers/scsi/lpfc/lpfc_sli.c:15156 lpfc_cq_poll_hdler() warn: inconsistent
> indenting
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/scsi/lpfc/lpfc_sli.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
> index e17675381cb8..92fc6527e7ee 100644
> --- a/drivers/scsi/lpfc/lpfc_sli.c
> +++ b/drivers/scsi/lpfc/lpfc_sli.c
> @@ -15153,7 +15153,7 @@ static int lpfc_cq_poll_hdler(struct irq_poll *iop, int budget)
> {
> struct lpfc_queue *cq = container_of(iop, struct lpfc_queue, iop);
>
> - __lpfc_sli4_hba_process_cq(cq, LPFC_IRQ_POLL);
> + __lpfc_sli4_hba_process_cq(cq, LPFC_IRQ_POLL);
>
> return 1;
> }

Reviewed-by: James Smart <[email protected]>

-- james

2020-07-08 06:11:26

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH][next] scsi: lpfc: fix inconsistent indenting

On Tue, 7 Jul 2020 16:00:18 +0100, Colin King wrote:

> Fix smatch warning:
> drivers/scsi/lpfc/lpfc_sli.c:15156 lpfc_cq_poll_hdler() warn: inconsistent
> indenting

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: lpfc: Fix inconsistent indenting
https://git.kernel.org/mkp/scsi/c/26e0b9aa3578

--
Martin K. Petersen Oracle Linux Engineering