diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2013-12-11 17:53:09 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-01-08 01:12:07 (GMT) |
commit | 1f4dc2cbe8d8227c8cab88a28a111cf66c6d0920 (patch) | |
tree | 3df2a7fe30acf3970ee178a7c6c0e487b8d78938 /drivers/staging | |
parent | 6e0d1b19fae72a064d7d7a0ad4146ec82086225e (diff) | |
download | linux-fsl-qoriq-1f4dc2cbe8d8227c8cab88a28a111cf66c6d0920.tar.xz |
fsl_qbman: fix a few spelling errors
Fix some spelling errors reported by codespell.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I4c2f89d218389b0019ae4ff80206e05b94d715e4
Reviewed-on: http://git.am.freescale.net:8181/7707
Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/fsl_qbman/bman_low.h | 4 | ||||
-rw-r--r-- | drivers/staging/fsl_qbman/fsl_usdpaa.c | 2 | ||||
-rw-r--r-- | drivers/staging/fsl_qbman/fsl_usdpaa_irq.c | 2 | ||||
-rw-r--r-- | drivers/staging/fsl_qbman/qman_high.c | 2 | ||||
-rw-r--r-- | drivers/staging/fsl_qbman/qman_low.h | 2 | ||||
-rw-r--r-- | drivers/staging/fsl_qbman/qman_test_hotpotato.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/fsl_qbman/bman_low.h b/drivers/staging/fsl_qbman/bman_low.h index 6f267d9..aea97ed 100644 --- a/drivers/staging/fsl_qbman/bman_low.h +++ b/drivers/staging/fsl_qbman/bman_low.h @@ -187,7 +187,7 @@ static inline void RCR_INC(struct bm_rcr *rcr) static inline int bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode, __maybe_unused enum bm_rcr_cmode cmode) { - /* This use of 'register', as well as all other occurances, is because + /* This use of 'register', as well as all other occurrences, is because * it has been observed to generate much faster code with gcc than is * otherwise the case. */ register struct bm_rcr *rcr = &portal->rcr; @@ -505,7 +505,7 @@ static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid) int aq_count = 0; bool stop = false; while (!stop) { - /* Aquire buffers until empty */ + /* Acquire buffers until empty */ bm_cmd = bm_mc_start(p); bm_cmd->acquire.bpid = bpid; bm_mc_commit(p, BM_MCC_VERB_CMD_ACQUIRE | 1); diff --git a/drivers/staging/fsl_qbman/fsl_usdpaa.c b/drivers/staging/fsl_qbman/fsl_usdpaa.c index 5667a21..630953c 100644 --- a/drivers/staging/fsl_qbman/fsl_usdpaa.c +++ b/drivers/staging/fsl_qbman/fsl_usdpaa.c @@ -898,7 +898,7 @@ static long ioctl_dma_map(struct file *fp, struct ctx *ctx, ret = -EINVAL; goto out; } - /* Verify there is sufficent space to do the mapping */ + /* Verify there is sufficient space to do the mapping */ down_write(¤t->mm->mmap_sem); next_addr = usdpaa_get_unmapped_area(fp, next_addr, i->len, 0, 0); up_write(¤t->mm->mmap_sem); diff --git a/drivers/staging/fsl_qbman/fsl_usdpaa_irq.c b/drivers/staging/fsl_qbman/fsl_usdpaa_irq.c index 54073fb..ca93593 100644 --- a/drivers/staging/fsl_qbman/fsl_usdpaa_irq.c +++ b/drivers/staging/fsl_qbman/fsl_usdpaa_irq.c @@ -31,7 +31,7 @@ */ /* define a device that allows USPDAA processes to open a file - decriptor and specify which IRQ it wants to montior using an ioctl() + descriptor and specify which IRQ it wants to montior using an ioctl() When an IRQ is received, the device becomes readable so that a process can use read() or select() type calls to monitor for IRQs */ diff --git a/drivers/staging/fsl_qbman/qman_high.c b/drivers/staging/fsl_qbman/qman_high.c index 5fecfc1..058f942 100644 --- a/drivers/staging/fsl_qbman/qman_high.c +++ b/drivers/staging/fsl_qbman/qman_high.c @@ -3198,7 +3198,7 @@ int qman_ceetm_bps2tokenrate(u32 bps, struct qm_ceetm_rate *token_rate, /* token-rate = bytes-per-second * update-reference-period * - * Where token-rate is N/8192 for a interger N, and + * Where token-rate is N/8192 for a integer N, and * update-reference-period is (2^22)/(PRES*QHz), where PRES * is the prescalar value and QHz is the QMan clock frequency. * So: diff --git a/drivers/staging/fsl_qbman/qman_low.h b/drivers/staging/fsl_qbman/qman_low.h index ea2dccc..17c0d5d 100644 --- a/drivers/staging/fsl_qbman/qman_low.h +++ b/drivers/staging/fsl_qbman/qman_low.h @@ -257,7 +257,7 @@ static inline int qm_eqcr_init(struct qm_portal *portal, unsigned int eq_stash_thresh, int eq_stash_prio) { - /* This use of 'register', as well as all other occurances, is because + /* This use of 'register', as well as all other occurrences, is because * it has been observed to generate much faster code with gcc than is * otherwise the case. */ register struct qm_eqcr *eqcr = &portal->eqcr; diff --git a/drivers/staging/fsl_qbman/qman_test_hotpotato.c b/drivers/staging/fsl_qbman/qman_test_hotpotato.c index 91e01d7..deeb1c7 100644 --- a/drivers/staging/fsl_qbman/qman_test_hotpotato.c +++ b/drivers/staging/fsl_qbman/qman_test_hotpotato.c @@ -42,7 +42,7 @@ * shuttle a "hot potato" frame around them such that every forwarding action * moves it from one cpu to another. (The use of more than one handler per cpu * is to allow enough handlers/FQs to truly test the significance of caching - - * ie. when cache-expiries are occuring.) + * ie. when cache-expiries are occurring.) * * The "hot potato" frame content will be HP_NUM_WORDS*4 bytes in size, and the * first and last words of the frame data will undergo a transformation step on |