]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
scripts/spelling.txt: add "comsume(r)" pattern and fix typo instances
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 22:29:25 +0000 (14:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:47 +0000 (18:43 -0800)
Fix typos and add the following to the scripts/spelling.txt:

  comsume||consume
  comsumer||consumer
  comsuming||consuming

I see some variable names with this pattern, but this commit is only
touching comment blocks to avoid unexpected impact.

Link: http://lkml.kernel.org/r/1481573103-11329-19-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hid/hid-kye.c
drivers/misc/vmw_vmci/vmci_queue_pair.c
drivers/net/ethernet/sis/sis900.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/tty/serial/ioc4_serial.c
fs/ext4/extents_status.c
mm/page-writeback.c
scripts/spelling.txt

index 0dd1167b2c9b5f87b3e7ca3c828e38b171c043fb..9c113f62472d8495db054e0aac99014fc6b570d4 100644 (file)
@@ -487,7 +487,7 @@ static __u8 *kye_consumer_control_fixup(struct hid_device *hdev, __u8 *rdesc,
                unsigned int *rsize, int offset, const char *device_name) {
        /*
         * the fixup that need to be done:
-        *   - change Usage Maximum in the Comsumer Control
+        *   - change Usage Maximum in the Consumer Control
         *     (report ID 3) to a reasonable value
         */
        if (*rsize >= offset + 31 &&
index f84a4275ca294af9fb2ca8b6ac15bcb9b20bf69f..498c0854305f5a5ac0fa6f5d2b481c479e5714ff 100644 (file)
@@ -2928,7 +2928,7 @@ int vmci_qpair_get_produce_indexes(const struct vmci_qp *qpair,
 EXPORT_SYMBOL_GPL(vmci_qpair_get_produce_indexes);
 
 /*
- * vmci_qpair_get_consume_indexes() - Retrieves the indexes of the comsumer.
+ * vmci_qpair_get_consume_indexes() - Retrieves the indexes of the consumer.
  * @qpair:      Pointer to the queue pair struct.
  * @consumer_tail:      Reference used for storing consumer tail index.
  * @producer_head:      Reference used for storing the producer head index.
index 19a458716f1ae11cb6e27100834771d0ff5fc6f6..1b6f6171d0788e74b939622d284880f5c083742e 100644 (file)
@@ -176,7 +176,7 @@ struct sis900_private {
 
        u32 msg_enable;
 
-       unsigned int cur_rx, dirty_rx; /* producer/comsumer pointers for Tx/Rx ring */
+       unsigned int cur_rx, dirty_rx; /* producer/consumer pointers for Tx/Rx ring */
        unsigned int cur_tx, dirty_tx;
 
        /* The saved address of a sent/receive-in-place packet buffer */
index 9ec3d5be5aa02604d738d7a0d959592298587525..8e886caf245430d9a9a1108ac7ea30b4ad10ddf3 100644 (file)
@@ -12079,7 +12079,7 @@ lpfc_sli4_sp_handle_els_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq,
  * @phba: Pointer to HBA context object.
  * @wcqe: Pointer to work-queue completion queue entry.
  *
- * This routine handles slow-path WQ entry comsumed event by invoking the
+ * This routine handles slow-path WQ entry consumed event by invoking the
  * proper WQ release routine to the slow-path WQ.
  **/
 static void
@@ -12451,7 +12451,7 @@ lpfc_sli4_fp_handle_fcp_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq,
  * @cq: Pointer to completion queue.
  * @wcqe: Pointer to work-queue completion queue entry.
  *
- * This routine handles an fast-path WQ entry comsumed event by invoking the
+ * This routine handles an fast-path WQ entry consumed event by invoking the
  * proper WQ release routine to the slow-path WQ.
  **/
 static void
index 6ad26f802b511b0e5d78afd6bfa50ed349c60cc5..f96bcf9bee2591258409b1477cc63a6b83266ec3 100644 (file)
 #define IOC4_SSCR_PAUSE_STATE   0x40000000  /* Sets when PAUSE takes effect */
 #define IOC4_SSCR_RESET                0x80000000  /* Reset DMA channels */
 
-/* All producer/comsumer pointers are the same bitfield */
+/* All producer/consumer pointers are the same bitfield */
 #define IOC4_PROD_CONS_PTR_4K   0x00000ff8     /* For 4K buffers */
 #define IOC4_PROD_CONS_PTR_1K   0x000003f8     /* For 1K buffers */
 #define IOC4_PROD_CONS_PTR_OFF           3
index 37e059202cd2fa333dff053b327d8faf85f9d4ac..e7f12a204cbcaee34d75b4ae1675127ff68c6d5c 100644 (file)
@@ -84,7 +84,7 @@
  *   --        writeout
  *     Writeout looks up whole page cache to see if a buffer is
  *     mapped, If there are not very many delayed buffers, then it is
- *     time comsuming.
+ *     time consuming.
  *
  * With extent status tree implementation, FIEMAP, SEEK_HOLE/DATA,
  * bigalloc and writeout can figure out if a block or a range of
index ae6e601f0a58e976d57969c09be4d8185ba8be4c..26a60818a8fcf769a051d6af675e4ab37513852a 100644 (file)
@@ -1797,7 +1797,7 @@ pause:
                 * pages exceeds dirty_thresh, give the other good wb's a pipe
                 * to go through, so that tasks on them still remain responsive.
                 *
-                * In theory 1 page is enough to keep the comsumer-producer
+                * In theory 1 page is enough to keep the consumer-producer
                 * pipe going: the flusher cleans 1 page => the task dirties 1
                 * more page. However wb_dirty has accounting errors.  So use
                 * the larger and more IO friendly wb_stat_error.
index b350689e2e61fc0b2b5e78e6e703d886219af04f..f9564f6ece20fdec008cc0aa9e43a042dff4257d 100644 (file)
@@ -244,6 +244,9 @@ commited||committed
 commiting||committing
 committ||commit
 commoditiy||commodity
+comsume||consume
+comsumer||consumer
+comsuming||consuming
 compability||compatibility
 compaibility||compatibility
 compatability||compatibility