summaryrefslogtreecommitdiffstats
path: root/sys/dev
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/dev
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/dev')
-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
4 files changed, 4 insertions, 4 deletions
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]++;
OpenPOWER on IntegriCloud