git: 782e8223681a - stable/12 - cam: Fix typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 06:33:41 UTC
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=782e8223681a1011ff9cc5d8f468e0dc6760ce3c

commit 782e8223681a1011ff9cc5d8f468e0dc6760ce3c
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 08:13:35 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 06:26:10 +0000

    cam: Fix typos in source code comments
    
    - s/paniced/panicked/
    
    (cherry picked from commit 49dace1d465dd99b72a73a9d373137be7816e2f0)
---
 sys/cam/ata/ata_da.c   | 4 ++--
 sys/cam/nvme/nvme_da.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
index 5780a69855f9..1105dfcf1baf 100644
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -3440,7 +3440,7 @@ adaflush(void)
 	CAM_PERIPH_FOREACH(periph, &adadriver) {
 		softc = (struct ada_softc *)periph->softc;
 		if (SCHEDULER_STOPPED()) {
-			/* If we paniced with the lock held, do not recurse. */
+			/* If we panicked with the lock held, do not recurse. */
 			if (!cam_periph_owned(periph) &&
 			    (softc->flags & ADA_FLAG_OPEN)) {
 				adadump(softc->disk, NULL, 0, 0, 0);
@@ -3492,7 +3492,7 @@ adaspindown(uint8_t cmd, int flags)
 	int mode;
 
 	CAM_PERIPH_FOREACH(periph, &adadriver) {
-		/* If we paniced with lock held - not recurse here. */
+		/* If we panicked with lock held - not recurse here. */
 		if (cam_periph_owned(periph))
 			continue;
 		cam_periph_lock(periph);
diff --git a/sys/cam/nvme/nvme_da.c b/sys/cam/nvme/nvme_da.c
index 7d41d1bfa8c9..7cce883e0a1e 100644
--- a/sys/cam/nvme/nvme_da.c
+++ b/sys/cam/nvme/nvme_da.c
@@ -1253,7 +1253,7 @@ ndaflush(void)
 
 		if (SCHEDULER_STOPPED()) {
 			/*
-			 * If we paniced with the lock held or the periph is not
+			 * If we panicked with the lock held or the periph is not
 			 * open, do not recurse.  Otherwise, call ndadump since
 			 * that avoids the sleeping cam_periph_getccb does if no
 			 * CCBs are available.