summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2013-04-17 11:40:10 +0000
committergabor <gabor@FreeBSD.org>2013-04-17 11:40:10 +0000
commitd3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75 (patch)
tree6c2aee498f9e11d960770edc4c69d81c03d3cc25 /sys
parent534bc4664d43755c6bed54f3c55baaddc569aba3 (diff)
downloadFreeBSD-src-d3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75.zip
FreeBSD-src-d3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75.tar.gz
- Correct mispellings of the word occurrence
Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/include/sysarch.h2
-rw-r--r--sys/arm/xscale/ixp425/ixp425_npe.c2
-rw-r--r--sys/cam/scsi/scsi_pass.c2
-rw-r--r--sys/cam/scsi/scsi_target.c2
-rw-r--r--sys/dev/cxgb/common/cxgb_t3_hw.c2
-rw-r--r--sys/dev/msk/if_msk.c2
-rw-r--r--sys/dev/ppbus/ppbconf.c2
-rw-r--r--sys/dev/rndtest/rndtest.c2
-rw-r--r--sys/kern/vfs_mount.c2
-rw-r--r--sys/ufs/ffs/ffs_balloc.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/sys/arm/include/sysarch.h b/sys/arm/include/sysarch.h
index b0de6db..95d0211 100644
--- a/sys/arm/include/sysarch.h
+++ b/sys/arm/include/sysarch.h
@@ -47,7 +47,7 @@
* update the cpu_switch() (and cpu_throw()) code as well.
* In addition, code in arm/include/atomic.h and arm/include/asmacros.h
* assumes that ARM_RAS_END is at ARM_RAS_START+4, so be sure to update those
- * if ARM_RAS_END moves in relation to ARM_RAS_START (look for occurrances
+ * if ARM_RAS_END moves in relation to ARM_RAS_START (look for occurrences
* of ldr/str rm,[rn, #4]).
*/
diff --git a/sys/arm/xscale/ixp425/ixp425_npe.c b/sys/arm/xscale/ixp425/ixp425_npe.c
index da8384d..0ccc7d0 100644
--- a/sys/arm/xscale/ixp425/ixp425_npe.c
+++ b/sys/arm/xscale/ixp425/ixp425_npe.c
@@ -419,7 +419,7 @@ ixpnpe_stop(struct ixpnpe_softc *sc)
/*
* Indicates the start of an NPE Image, in new NPE Image Library format.
- * 2 consecutive occurances indicates the end of the NPE Image Library
+ * 2 consecutive occurrences indicates the end of the NPE Image Library
*/
#define NPE_IMAGE_MARKER 0xfeedf00d
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c
index 56bb17c..eb5a57d 100644
--- a/sys/cam/scsi/scsi_pass.c
+++ b/sys/cam/scsi/scsi_pass.c
@@ -694,7 +694,7 @@ passsendccb(struct cam_periph *periph, union ccb *ccb, union ccb *inccb)
* match CCBs. For the SCSI, ATA and ADVINFO CCBs, we only pass the
* CCB in if there's actually data to map. cam_periph_mapmem() will
* do the right thing, even if there isn't data to map, but since CCBs
- * without data are a reasonably common occurance (e.g. test unit
+ * without data are a reasonably common occurrence (e.g. test unit
* ready), it will save a few cycles if we check for it here.
*
* XXX What happens if a sg list is supplied? We don't filter that
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c
index 963b4e6..56ff8a9 100644
--- a/sys/cam/scsi/scsi_target.c
+++ b/sys/cam/scsi/scsi_target.c
@@ -734,7 +734,7 @@ targsendccb(struct targ_softc *softc, union ccb *ccb,
* match CCBs. For the SCSI CCBs, we only pass the CCB in if
* there's actually data to map. cam_periph_mapmem() will do the
* right thing, even if there isn't data to map, but since CCBs
- * without data are a reasonably common occurance (e.g. test unit
+ * without data are a reasonably common occurrence (e.g. test unit
* ready), it will save a few cycles if we check for it here.
*/
if (((ccb_h->flags & CAM_DATA_MASK) == CAM_DATA_VADDR)
diff --git a/sys/dev/cxgb/common/cxgb_t3_hw.c b/sys/dev/cxgb/common/cxgb_t3_hw.c
index 9ad7379..32aab35 100644
--- a/sys/dev/cxgb/common/cxgb_t3_hw.c
+++ b/sys/dev/cxgb/common/cxgb_t3_hw.c
@@ -1727,7 +1727,7 @@ struct intr_info {
* @reg: the interrupt status register to process
* @mask: a mask to apply to the interrupt status
* @acts: table of interrupt actions
- * @stats: statistics counters tracking interrupt occurences
+ * @stats: statistics counters tracking interrupt occurrences
*
* A table driven interrupt handler that applies a set of masks to an
* interrupt status word and performs the corresponding actions if the
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c
index 664575c..3c5aab5 100644
--- a/sys/dev/msk/if_msk.c
+++ b/sys/dev/msk/if_msk.c
@@ -3526,7 +3526,7 @@ msk_intr_hwerr(struct msk_softc *sc)
* On PCI Express bus bridges are called root complexes (RC).
* PCI Express errors are recognized by the root complex too,
* which requests the system to handle the problem. After
- * error occurence it may be that no access to the adapter
+ * error occurrence it may be that no access to the adapter
* may be performed any longer.
*/
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c
index 65a26e0..ef513c1 100644
--- a/sys/dev/ppbus/ppbconf.c
+++ b/sys/dev/ppbus/ppbconf.c
@@ -172,7 +172,7 @@ static char *pnp_classes[] = {
/*
* search_token()
*
- * Search the first occurence of a token within a string
+ * Search the first occurrence of a token within a string
*/
static char *
search_token(char *str, int slen, char *token)
diff --git a/sys/dev/rndtest/rndtest.c b/sys/dev/rndtest/rndtest.c
index 4e42aa8..13ecdd6 100644
--- a/sys/dev/rndtest/rndtest.c
+++ b/sys/dev/rndtest/rndtest.c
@@ -360,7 +360,7 @@ rndtest_chi_4(struct rndtest_state *rsp)
for (i = 0; i < RNDTEST_CHI4_K; i++)
freq[i] = 0;
- /* Get number of occurances of each 4 bit pattern */
+ /* Get number of occurrences of each 4 bit pattern */
for (i = 0; i < RNDTEST_NBYTES; i++) {
freq[(rsp->rs_buf[i] >> 4) & RNDTEST_CHI4_K_MASK]++;
freq[(rsp->rs_buf[i] >> 0) & RNDTEST_CHI4_K_MASK]++;
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index c1ed6c9..448fdbb 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -232,7 +232,7 @@ vfs_equalopts(const char *opt1, const char *opt2)
/*
* If a mount option is specified several times,
* (with or without the "no" prefix) only keep
- * the last occurence of it.
+ * the last occurrence of it.
*/
static void
vfs_sanitizeopts(struct vfsoptlist *opts)
diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c
index 771f8eb..c57c5e3 100644
--- a/sys/ufs/ffs/ffs_balloc.c
+++ b/sys/ufs/ffs/ffs_balloc.c
@@ -453,7 +453,7 @@ fail:
* We have to sync it at the end so that the soft updates code
* does not find any untracked changes. Although this is really
* slow, running out of disk space is not expected to be a common
- * occurence. The error return from fsync is ignored as we already
+ * occurrence. The error return from fsync is ignored as we already
* have an error to return to the user.
*
* XXX Still have to journal the free below
OpenPOWER on IntegriCloud