linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: sym53c8xx_2: remove unneeded semicolon
@ 2020-09-11  9:10 Jason Yan
  2020-09-15 21:33 ` Martin K. Petersen
  2020-09-22  3:57 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Yan @ 2020-09-11  9:10 UTC (permalink / raw)
  To: willy, jejb, martin.petersen, yanaijie, linux-scsi; +Cc: Hulk Robot

This addresses the following coccinelle warning:

drivers/scsi/sym53c8xx_2/sym_fw.c:372:3-4: Unneeded semicolon
drivers/scsi/sym53c8xx_2/sym_fw.c:480:3-4: Unneeded semicolon
drivers/scsi/sym53c8xx_2/sym_fw.c:536:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/scsi/sym53c8xx_2/sym_fw.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c
index c6db61b61de3..c536d2a9a657 100644
--- a/drivers/scsi/sym53c8xx_2/sym_fw.c
+++ b/drivers/scsi/sym53c8xx_2/sym_fw.c
@@ -369,7 +369,7 @@ void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len)
 				sym_name(np), (int) (cur-start));
 			++cur;
 			continue;
-		};
+		}
 
 		/*
 		 *  We use the bogus value 0xf00ff00f ;-)
@@ -477,7 +477,7 @@ void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len)
 		default:
 			relocs = 0;
 			break;
-		};
+		}
 
 		/*
 		 *  Scriptify:) the opcode.
@@ -533,5 +533,5 @@ void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len)
 
 			*cur++ = cpu_to_scr(new);
 		}
-	};
+	}
 }
-- 
2.25.4


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

* Re: [PATCH] scsi: sym53c8xx_2: remove unneeded semicolon
  2020-09-11  9:10 [PATCH] scsi: sym53c8xx_2: remove unneeded semicolon Jason Yan
@ 2020-09-15 21:33 ` Martin K. Petersen
  2020-09-22  3:57 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-09-15 21:33 UTC (permalink / raw)
  To: Jason Yan; +Cc: willy, jejb, martin.petersen, linux-scsi, Hulk Robot


Jason,

> This addresses the following coccinelle warning:
>
> drivers/scsi/sym53c8xx_2/sym_fw.c:372:3-4: Unneeded semicolon
> drivers/scsi/sym53c8xx_2/sym_fw.c:480:3-4: Unneeded semicolon
> drivers/scsi/sym53c8xx_2/sym_fw.c:536:2-3: Unneeded semicolon

Applied to 5.10/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Re: [PATCH] scsi: sym53c8xx_2: remove unneeded semicolon
  2020-09-11  9:10 [PATCH] scsi: sym53c8xx_2: remove unneeded semicolon Jason Yan
  2020-09-15 21:33 ` Martin K. Petersen
@ 2020-09-22  3:57 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-09-22  3:57 UTC (permalink / raw)
  To: linux-scsi, Jason Yan, jejb, willy; +Cc: Martin K . Petersen, Hulk Robot

On Fri, 11 Sep 2020 17:10:31 +0800, Jason Yan wrote:

> This addresses the following coccinelle warning:
> 
> drivers/scsi/sym53c8xx_2/sym_fw.c:372:3-4: Unneeded semicolon
> drivers/scsi/sym53c8xx_2/sym_fw.c:480:3-4: Unneeded semicolon
> drivers/scsi/sym53c8xx_2/sym_fw.c:536:2-3: Unneeded semicolon

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: sym53c8xx_2: Remove unneeded semicolon
      https://git.kernel.org/mkp/scsi/c/8d4089cdc313

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2020-09-22  3:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11  9:10 [PATCH] scsi: sym53c8xx_2: remove unneeded semicolon Jason Yan
2020-09-15 21:33 ` Martin K. Petersen
2020-09-22  3:57 ` 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).