summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/fsl_qbman/bman_low.h4
-rw-r--r--drivers/staging/fsl_qbman/fsl_usdpaa.c2
-rw-r--r--drivers/staging/fsl_qbman/fsl_usdpaa_irq.c2
-rw-r--r--drivers/staging/fsl_qbman/qman_high.c2
-rw-r--r--drivers/staging/fsl_qbman/qman_low.h2
-rw-r--r--drivers/staging/fsl_qbman/qman_test_hotpotato.c2
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(&current->mm->mmap_sem);
next_addr = usdpaa_get_unmapped_area(fp, next_addr, i->len, 0, 0);
up_write(&current->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