]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
staging/rdma/hfi1: Fix misspellings
authorJubin John <jubin.john@intel.com>
Mon, 15 Feb 2016 04:20:58 +0000 (20:20 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:39 +0000 (20:45 -0500)
Fix misspelled word based on checkpatch check:
CHECK: 'ffoo' may be misspelled - perhaps 'foo'?

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/qsfp.c
drivers/staging/rdma/hfi1/sdma.c

index 233958d8061d587dcc9b024378ff7f3e6fab7385..53e3273fdf730df5b76e80ec2aba6a5901683dab 100644 (file)
@@ -8080,7 +8080,7 @@ static inline int check_packet_present(struct hfi1_ctxtdata *rcd)
  * Receive packet IRQ handler.  This routine expects to be on its own IRQ.
  * This routine will try to handle packets immediately (latency), but if
  * it finds too many, it will invoke the thread handler (bandwitdh).  The
- * chip receive interupt is *not* cleared down until this or the thread (if
+ * chip receive interrupt is *not* cleared down until this or the thread (if
  * invoked) is finished.  The intent is to avoid extra interrupts while we
  * are processing packets anyway.
  */
index aa9c62b0d2af8a1cd249f456c49ba220eec46447..bdb1504b2ade13ba71cb7e174e330b9cc1198f37 100644 (file)
@@ -216,7 +216,7 @@ int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
 
        while (count < len) {
                /*
-                * Set the qsfp page based on a zero-based addresss
+                * Set the qsfp page based on a zero-based address
                 * and a page size of QSFP_PAGESIZE bytes.
                 */
                page = (u8)(addr / QSFP_PAGESIZE);
index c8c0aace70ffa2306db94545136de340ecc3c39a..cd818de47c66f34c9c776b9d58365c344656fbaf 100644 (file)
@@ -2739,7 +2739,7 @@ enomem:
  * This function calls _extend_sdma_tx_descs to extend or allocate
  * coalesce buffer. If there is a allocated coalesce buffer, it will
  * copy the input packet data into the coalesce buffer. It also adds
- * coalesce buffer descriptor once whe whole packet is received.
+ * coalesce buffer descriptor once when whole packet is received.
  *
  * Return:
  * <0 - error