From aeb27b06e1a56c1f38ccc3a3d21545e86e79df8c Mon Sep 17 00:00:00 2001 From: andvar Date: Thu, 17 Aug 2023 14:19:49 +0000 Subject: [PATCH] fix typos in comments. --- sys/dev/ic/ciss.c | 10 +++++----- sys/rump/include/machine/intr.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/dev/ic/ciss.c b/sys/dev/ic/ciss.c index 00c4c6a0a75c..68019e220dfd 100644 --- a/sys/dev/ic/ciss.c +++ b/sys/dev/ic/ciss.c @@ -1,4 +1,4 @@ -/* $NetBSD: ciss.c,v 1.54 2022/05/29 10:43:46 rin Exp $ */ +/* $NetBSD: ciss.c,v 1.55 2023/08/17 14:19:50 andvar Exp $ */ /* $OpenBSD: ciss.c,v 1.68 2013/05/30 16:15:02 deraadt Exp $ */ /* @@ -19,7 +19,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ciss.c,v 1.54 2022/05/29 10:43:46 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ciss.c,v 1.55 2023/08/17 14:19:50 andvar Exp $"); #include "bio.h" @@ -665,7 +665,7 @@ ciss_wait(struct ciss_softc *sc, struct ciss_ccb *ccb, int ms) } /* - * submit a command and optionally wait for completition. + * submit a command and optionally wait for completion. * wait arg abuses XS_CTL_POLL|XS_CTL_NOSLEEP flags to request * to wait (XS_CTL_POLL) and to allow tsleep() (!XS_CTL_NOSLEEP) * instead of busy loop waiting @@ -1233,7 +1233,7 @@ ciss_scsi_cmd(struct scsipi_channel *chan, scsipi_adapter_req_t req, case ADAPTER_REQ_SET_XFER_MODE: /* * We can't change the transfer mode, but at least let - * scsipi know what the adapter has negociated. + * scsipi know what the adapter has negotiated. */ xm = (struct scsipi_xfer_mode *)arg; xm->xm_mode |= PERIPH_CAP_TQING; @@ -1533,7 +1533,7 @@ ciss_ioctl_vol(struct ciss_softc *sc, struct bioc_vol *bv) bv->bv_size = blks * (u_quad_t)le16toh(ldid->blksize); bv->bv_level = ciss_level[ldid->type]; /* - * XXX Should only return bv_nodisk for logigal volume that we've associated + * XXX Should only return bv_nodisk for logical volume that we've associated * the physical drives to: either the 1st degraded, rebuilding, or failed * volume else volume 0? */ diff --git a/sys/rump/include/machine/intr.h b/sys/rump/include/machine/intr.h index 9348c18785a3..2d33c203b8fb 100644 --- a/sys/rump/include/machine/intr.h +++ b/sys/rump/include/machine/intr.h @@ -1,4 +1,4 @@ -/* $NetBSD: intr.h,v 1.22 2018/04/19 21:50:10 christos Exp $ */ +/* $NetBSD: intr.h,v 1.23 2023/08/17 14:19:49 andvar Exp $ */ /* * Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved. @@ -57,7 +57,7 @@ makeiplcookie(ipl_t ipl) #define spl0() ((void)0) /* - * IPL_* does not mean anything to a run-to-completition rump kernel, + * IPL_* does not mean anything to a run-to-completion rump kernel, * but we sometimes assert a "not higher than" condition, so we assign * different values (following spl(9)). */