diff mbox series

[next] scsi: lpfc: fix inconsistent indenting

Message ID 20200707150018.823350-1-colin.king@canonical.com (mailing list archive)
State Mainlined
Commit 26e0b9aa35784ca1c9e8207ee9a6001c22058fde
Headers show
Series [next] scsi: lpfc: fix inconsistent indenting | expand

Commit Message

Colin King July 7, 2020, 3 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/lpfc/lpfc_sli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Smart July 7, 2020, 5 p.m. UTC | #1
On 7/7/2020 8:00 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Fix smatch warning:
> drivers/scsi/lpfc/lpfc_sli.c:15156 lpfc_cq_poll_hdler() warn: inconsistent
> indenting
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   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 <james.smart@broadcom.com>

-- james
Martin K. Petersen July 8, 2020, 6:06 a.m. UTC | #2
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
diff mbox series

Patch

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;
 }