treewide: fix comment/printk/variable typos
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Sat, 1 Sep 2012 17:31:09 +0000 (10:31 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sat, 1 Sep 2012 17:33:05 +0000 (10:33 -0700)
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
22 files changed:
drivers/dma/intel_mid_dma.c
drivers/net/ethernet/3com/typhoon.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
drivers/net/wireless/rtlwifi/rtl8192de/fw.c
drivers/scsi/bfa/bfa_ioc.c
drivers/scsi/bfa/bfa_ioc.h
drivers/scsi/isci/init.c
drivers/scsi/isci/request.c
drivers/scsi/isci/task.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/video/exynos/exynos_mipi_dsi.c
drivers/w1/masters/ds1wm.c
fs/ext2/balloc.c
fs/ext3/balloc.c
fs/ext3/inode.c
fs/ext4/inode.c
fs/ext4/mballoc.c
include/trace/define_trace.h
net/8021q/vlanproc.c

index 222e907bfaaa4b50d501f804d27669bd8091476a..02b21d7d38e55b6bfc33392923610628683fc388 100644 (file)
@@ -427,7 +427,7 @@ DMA engine callback Functions*/
  * intel_mid_dma_tx_submit -   callback to submit DMA transaction
  * @tx: dma engine descriptor
  *
- * Submit the DMA trasaction for this descriptor, start if ch idle
+ * Submit the DMA transaction for this descriptor, start if ch idle
  */
 static dma_cookie_t intel_mid_dma_tx_submit(struct dma_async_tx_descriptor *tx)
 {
index b153666351474ea3a527f6deb97b750c490f39e6..bb9670f29b59795a2972effb1884fc20027b1059 100644 (file)
@@ -364,7 +364,7 @@ typhoon_inc_rxfree_index(u32 *index, const int count)
 static inline void
 typhoon_inc_tx_index(u32 *index, const int count)
 {
-       /* if we start using the Hi Tx ring, this needs updateing */
+       /* if we start using the Hi Tx ring, this needs updating */
        typhoon_inc_index(index, count, TXLO_ENTRIES);
 }
 
index 77bcd4cb4ffb945a8c696cc3f6bab1e363733c48..dfa3ee2ddba4c6cedaef323e6b8aef7ab4856501 100644 (file)
@@ -1458,7 +1458,7 @@ struct bnx2x {
        int                             fw_stats_req_sz;
 
        /*
-        * FW statistics data shortcut (points at the begining of
+        * FW statistics data shortcut (points at the beginning of
         * fw_stats buffer + fw_stats_req_sz).
         */
        struct bnx2x_fw_stats_data      *fw_stats_data;
index f83e033da6da316025074f1aa4d64cbaf604489b..acf2fe4ca60851091c39c2e8ed8ec6fb71aa2d78 100644 (file)
@@ -1321,7 +1321,7 @@ void bnx2x_init_mcast_obj(struct bnx2x *bp,
  * the current command will be enqueued to the tail of the
  * pending commands list.
  *
- * Return: 0 is operation was sucessfull and there are no pending completions,
+ * Return: 0 is operation was successfull and there are no pending completions,
  *         negative if there were errors, positive if there are pending
  *         completions.
  */
index 44febfde9493425b9d9c47d04cf66e4be72ff815..8a7b864faca30cc7bfe7cd7462b959be285a609e 100644 (file)
@@ -315,7 +315,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
        u16 box_reg = 0, box_extreg = 0;
        u8 u1b_tmp;
        bool isfw_read = false;
-       bool bwrite_sucess = false;
+       bool bwrite_success = false;
        u8 wait_h2c_limmit = 100;
        u8 wait_writeh2c_limmit = 100;
        u8 boxcontent[4], boxextcontent[2];
@@ -354,7 +354,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
                }
        }
 
-       while (!bwrite_sucess) {
+       while (!bwrite_success) {
                wait_writeh2c_limmit--;
                if (wait_writeh2c_limmit == 0) {
                        RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
@@ -491,7 +491,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
                        break;
                }
 
-               bwrite_sucess = true;
+               bwrite_success = true;
 
                rtlhal->last_hmeboxnum = boxnum + 1;
                if (rtlhal->last_hmeboxnum == 4)
index 895ae6c1f35428db023514982fbf3b4fe047f1de..eb22dccc418bb3ac50c4d9513cf671517ce8970f 100644 (file)
@@ -365,7 +365,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
        u8 u1b_tmp;
        bool isfw_read = false;
        u8 buf_index = 0;
-       bool bwrite_sucess = false;
+       bool bwrite_success = false;
        u8 wait_h2c_limmit = 100;
        u8 wait_writeh2c_limmit = 100;
        u8 boxcontent[4], boxextcontent[2];
@@ -408,7 +408,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
                        break;
                }
        }
-       while (!bwrite_sucess) {
+       while (!bwrite_success) {
                wait_writeh2c_limmit--;
                if (wait_writeh2c_limmit == 0) {
                        RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
@@ -515,7 +515,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
                                 "switch case not processed\n");
                        break;
                }
-               bwrite_sucess = true;
+               bwrite_success = true;
                rtlhal->last_hmeboxnum = boxnum + 1;
                if (rtlhal->last_hmeboxnum == 4)
                        rtlhal->last_hmeboxnum = 0;
index 14e6284e48e4110b4c907b06dacb311c06c26f77..6faff0053370d6711e4f7f4efe7171efb3f8ffbc 100644 (file)
@@ -5587,7 +5587,7 @@ static bfa_status_t bfa_dconf_flash_write(struct bfa_dconf_mod_s *dconf);
 static void bfa_dconf_init_cb(void *arg, bfa_status_t status);
 
 /*
- * Begining state of dconf module. Waiting for an event to start.
+ * Beginning state of dconf module. Waiting for an event to start.
  */
 static void
 bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event)
index 1a99d4b5b50feec22d97c2e87430c317589877e5..7b916e04ca560724509766a2f880fbdbe53e05ca 100644 (file)
@@ -530,7 +530,7 @@ struct bfa_diag_results_fwping {
 
 struct bfa_diag_qtest_result_s {
        u32     status;
-       u16     count;  /* sucessful queue test count */
+       u16     count;  /* successful queue test count */
        u8      queue;
        u8      rsvd;   /* 64-bit align */
 };
index 47e28b55502911c033df0a4c19e02a090b24b240..8912567988cfac6248b6aeb113a7587a715c423c 100644 (file)
@@ -219,7 +219,7 @@ static struct sas_domain_function_template isci_transport_ops  = {
  * @isci_host: This parameter specifies the lldd specific wrapper for the
  *    libsas sas_ha struct.
  *
- * This method returns an error code indicating sucess or failure. The user
+ * This method returns an error code indicating success or failure. The user
  * should check for possible memory allocation error return otherwise, a zero
  * indicates success.
  */
index 7a0431c734932a2025177b17205fdbbeb47df720..c1bafc3f3fb19bad3a1587c85345ef2c4fa9545f 100644 (file)
@@ -2240,7 +2240,7 @@ static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ire
                        status = ireq->sci_status;
                        sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR);
                } else {
-                       /* If receiving any non-sucess TC status, no UF
+                       /* If receiving any non-success TC status, no UF
                         * received yet, then an UF for the status fis
                         * is coming after (XXX: suspect this is
                         * actually a protocol error or a bug like the
index 6bc74eb012c9cef948a59ee0f6fd25ab50b7a8e2..b6f19a1db780f7303abc9796c19553b058c89ada 100644 (file)
@@ -532,7 +532,7 @@ int isci_task_abort_task(struct sas_task *task)
                /* The request has already completed and there
                * is nothing to do here other than to set the task
                * done bit, and indicate that the task abort function
-               * was sucessful.
+               * was successful.
                */
                spin_lock_irqsave(&task->task_state_lock, flags);
                task->task_state_flags |= SAS_TASK_STATE_DONE;
index 411ed48d79da8c9ec1439628d8ef2f290a942fb7..be43b4f6bd70f4ae17d54d910e27002c453d37f1 100644 (file)
@@ -6470,7 +6470,7 @@ out_error:
  * we just use some constant number as place holder.
  *
  * Return codes
- *      0 - sucessful
+ *      0 - successful
  *      -ENOMEM - No availble memory
  *      -EIO - The mailbox failed to complete successfully.
  **/
index b4720a109817c07e070c96ac839c0b595a5a93ac..7983abbb7aaf166374b2e9ee2f1dfa48947ac32b 100644 (file)
@@ -4739,7 +4739,7 @@ lpfc_sli4_read_rev(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq,
  * is attached to.
  *
  * Return codes
- *      0 - sucessful
+ *      0 - successful
  *      otherwise - failed to retrieve physical port name
  **/
 static int
@@ -15118,7 +15118,7 @@ lpfc_check_next_fcf_pri_level(struct lpfc_hba *phba)
        /*
         * if next_fcf_pri was not set above and the list is not empty then
         * we have failed flogis on all of them. So reset flogi failed
-        * and start at the begining.
+        * and start at the beginning.
         */
        if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) {
                list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
index 9908e75ae761e625dd2944207007c702efce1960..752a12e625e4676c5ba486d36039f7a886f256dd 100644 (file)
@@ -461,7 +461,7 @@ static int exynos_mipi_dsi_probe(struct platform_device *pdev)
 done:
        platform_set_drvdata(pdev, dsim);
 
-       dev_dbg(&pdev->dev, "%s() completed sucessfuly (%s mode)\n", __func__,
+       dev_dbg(&pdev->dev, "%s() completed successfully (%s mode)\n", __func__,
                dsim_config->e_interface == DSIM_COMMAND ? "CPU" : "RGB");
 
        return 0;
index a0c8965c1a793cb00f157eaa506355dedbd8ca00..649eb0b2d3ff5116412c8def2336b509def85896 100644 (file)
@@ -347,7 +347,7 @@ static void ds1wm_search(void *data, struct w1_master *master_dev,
                        "pass: %d entering ASM\n", pass);
                ds1wm_write_register(ds1wm_data, DS1WM_CMD, DS1WM_CMD_SRA);
                dev_dbg(&ds1wm_data->pdev->dev,
-                       "pass: %d begining nibble loop\n", pass);
+                       "pass: %d beginning nibble loop\n", pass);
 
                r_prime = 0;
                d = 0;
index 1c361399886249070044987d8c2a93033202f445..905166a3ffb239c2d6a88842d4bb42330227d688 100644 (file)
@@ -479,7 +479,7 @@ void ext2_discard_reservation(struct inode *inode)
 /**
  * ext2_free_blocks() -- Free given blocks and update quota and i_blocks
  * @inode:             inode
- * @block:             start physcial block to free
+ * @block:             start physical block to free
  * @count:             number of blocks to free
  */
 void ext2_free_blocks (struct inode * inode, unsigned long block,
index 25cd6089211657839f8f94a68bc075313cd92e2f..7c6a31d44dafce1793a203f2c8ce4473420cb8e4 100644 (file)
@@ -483,7 +483,7 @@ void ext3_discard_reservation(struct inode *inode)
  * ext3_free_blocks_sb() -- Free given blocks and update quota
  * @handle:                    handle to this transaction
  * @sb:                                super block
- * @block:                     start physcial block to free
+ * @block:                     start physical block to free
  * @count:                     number of blocks to free
  * @pdquot_freed_blocks:       pointer to quota
  */
index 9a4a5c48b1c99f6a60ff02d35cda4ef1ced9bd50..3aff616d4d037303c0377cc155b1ace98e0ecf7e 100644 (file)
@@ -3196,7 +3196,7 @@ out_brelse:
  *
  * - Within generic_file_write() for O_SYNC files.
  *   Here, there will be no transaction running. We wait for any running
- *   trasnaction to commit.
+ *   transaction to commit.
  *
  * - Within sys_sync(), kupdate and such.
  *   We wait on commit, if tol to.
index 02bc8cbe7281b3d47c3449a1c4b8e4220685ba52..189dae6b0964dbefbfa76611358faef5d37ba073 100644 (file)
@@ -3227,7 +3227,7 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
  * handle: The journal handle
  * inode:  The files inode
  * page:   A locked page that contains the offset "from"
- * from:   The starting byte offset (from the begining of the file)
+ * from:   The starting byte offset (from the beginning of the file)
  *         to begin discarding
  * len:    The length of bytes to discard
  * flags:  Optional flags that may be used:
@@ -3235,11 +3235,11 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
  *         EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED
  *         Only zero the regions of the page whose buffer heads
  *         have already been unmapped.  This flag is appropriate
- *         for updateing the contents of a page whose blocks may
+ *         for updating the contents of a page whose blocks may
  *         have already been released, and we only want to zero
  *         out the regions that correspond to those released blocks.
  *
- * Returns zero on sucess or negative on failure.
+ * Returns zero on success or negative on failure.
  */
 static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,
                struct inode *inode, struct page *page, loff_t from,
@@ -3400,7 +3400,7 @@ int ext4_can_truncate(struct inode *inode)
  * @offset: The offset where the hole will begin
  * @len:    The length of the hole
  *
- * Returns: 0 on sucess or negative on failure
+ * Returns: 0 on success or negative on failure
  */
 
 int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
@@ -3922,7 +3922,7 @@ static int ext4_inode_blocks_set(handle_t *handle,
 
        if (i_blocks <= ~0U) {
                /*
-                * i_blocks can be represnted in a 32 bit variable
+                * i_blocks can be represented in a 32 bit variable
                 * as multiple of 512 bytes
                 */
                raw_inode->i_blocks_lo   = cpu_to_le32(i_blocks);
@@ -4083,7 +4083,7 @@ out_brelse:
  *
  * - Within generic_file_write() for O_SYNC files.
  *   Here, there will be no transaction running. We wait for any running
- *   trasnaction to commit.
+ *   transaction to commit.
  *
  * - Within sys_sync(), kupdate and such.
  *   We wait on commit, if tol to.
@@ -4327,7 +4327,7 @@ static int ext4_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
  * worse case, the indexs blocks spread over different block groups
  *
  * If datablocks are discontiguous, they are possible to spread over
- * different block groups too. If they are contiuguous, with flexbg,
+ * different block groups too. If they are contiguous, with flexbg,
  * they could still across block group boundary.
  *
  * Also account for superblock, inode, quota and xattr blocks
index 1cd6994fc446008b74dc9b77863edf0f24e14c33..86831411e98b46a86daa45f20908dd7cb98b11f9 100644 (file)
@@ -4705,7 +4705,7 @@ error_return:
  * ext4_group_add_blocks() -- Add given blocks to an existing group
  * @handle:                    handle to this transaction
  * @sb:                                super block
- * @block:                     start physcial block to add to the block group
+ * @block:                     start physical block to add to the block group
  * @count:                     number of blocks to free
  *
  * This marks the blocks as free in the bitmap and buddy.
index b0b4eb24d592fb1f8ecba11294c10e802ff7cd2b..1905ca8dd3990673ce5ccafa07144d5c3b19168d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Trace files that want to automate creationg of all tracepoints defined
+ * Trace files that want to automate creation of all tracepoints defined
  * in their file should include this file. The following are macros that the
  * trace file may define:
  *
index c718fd3664b60e1bbe1c9e43f284a5f2bd4c982e..4de77ea5fa378d3c514b22769ac93030b8f5e96c 100644 (file)
@@ -105,7 +105,7 @@ static const struct file_operations vlandev_fops = {
 };
 
 /*
- * Proc filesystem derectory entries.
+ * Proc filesystem directory entries.
  */
 
 /* Strings */
This page took 0.074733 seconds and 5 git commands to generate.