Skip to content

Commit 4907cb7

Browse files
anatolJiri Kosina
authored andcommitted
treewide: fix comment/printk/variable typos
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 203fa3f commit 4907cb7

22 files changed

Lines changed: 33 additions & 33 deletions

File tree

‎drivers/dma/intel_mid_dma.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ DMA engine callback Functions*/
427427
* intel_mid_dma_tx_submit - callback to submit DMA transaction
428428
* @tx: dma engine descriptor
429429
*
430-
* Submit the DMA trasaction for this descriptor, start if ch idle
430+
* Submit the DMA transaction for this descriptor, start if ch idle
431431
*/
432432
static dma_cookie_t intel_mid_dma_tx_submit(struct dma_async_tx_descriptor *tx)
433433
{

‎drivers/net/ethernet/3com/typhoon.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ typhoon_inc_rxfree_index(u32 *index, const int count)
364364
static inline void
365365
typhoon_inc_tx_index(u32 *index, const int count)
366366
{
367-
/* if we start using the Hi Tx ring, this needs updateing */
367+
/* if we start using the Hi Tx ring, this needs updating */
368368
typhoon_inc_index(index, count, TXLO_ENTRIES);
369369
}
370370

‎drivers/net/ethernet/broadcom/bnx2x/bnx2x.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ struct bnx2x {
14581458
int fw_stats_req_sz;
14591459

14601460
/*
1461-
* FW statistics data shortcut (points at the begining of
1461+
* FW statistics data shortcut (points at the beginning of
14621462
* fw_stats buffer + fw_stats_req_sz).
14631463
*/
14641464
struct bnx2x_fw_stats_data *fw_stats_data;

‎drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ void bnx2x_init_mcast_obj(struct bnx2x *bp,
13211321
* the current command will be enqueued to the tail of the
13221322
* pending commands list.
13231323
*
1324-
* Return: 0 is operation was sucessfull and there are no pending completions,
1324+
* Return: 0 is operation was successfull and there are no pending completions,
13251325
* negative if there were errors, positive if there are pending
13261326
* completions.
13271327
*/

‎drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
315315
u16 box_reg = 0, box_extreg = 0;
316316
u8 u1b_tmp;
317317
bool isfw_read = false;
318-
bool bwrite_sucess = false;
318+
bool bwrite_success = false;
319319
u8 wait_h2c_limmit = 100;
320320
u8 wait_writeh2c_limmit = 100;
321321
u8 boxcontent[4], boxextcontent[2];
@@ -354,7 +354,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
354354
}
355355
}
356356

357-
while (!bwrite_sucess) {
357+
while (!bwrite_success) {
358358
wait_writeh2c_limmit--;
359359
if (wait_writeh2c_limmit == 0) {
360360
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
@@ -491,7 +491,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
491491
break;
492492
}
493493

494-
bwrite_sucess = true;
494+
bwrite_success = true;
495495

496496
rtlhal->last_hmeboxnum = boxnum + 1;
497497
if (rtlhal->last_hmeboxnum == 4)

‎drivers/net/wireless/rtlwifi/rtl8192de/fw.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
365365
u8 u1b_tmp;
366366
bool isfw_read = false;
367367
u8 buf_index = 0;
368-
bool bwrite_sucess = false;
368+
bool bwrite_success = false;
369369
u8 wait_h2c_limmit = 100;
370370
u8 wait_writeh2c_limmit = 100;
371371
u8 boxcontent[4], boxextcontent[2];
@@ -408,7 +408,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
408408
break;
409409
}
410410
}
411-
while (!bwrite_sucess) {
411+
while (!bwrite_success) {
412412
wait_writeh2c_limmit--;
413413
if (wait_writeh2c_limmit == 0) {
414414
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
@@ -515,7 +515,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
515515
"switch case not processed\n");
516516
break;
517517
}
518-
bwrite_sucess = true;
518+
bwrite_success = true;
519519
rtlhal->last_hmeboxnum = boxnum + 1;
520520
if (rtlhal->last_hmeboxnum == 4)
521521
rtlhal->last_hmeboxnum = 0;

‎drivers/scsi/bfa/bfa_ioc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5587,7 +5587,7 @@ static bfa_status_t bfa_dconf_flash_write(struct bfa_dconf_mod_s *dconf);
55875587
static void bfa_dconf_init_cb(void *arg, bfa_status_t status);
55885588

55895589
/*
5590-
* Begining state of dconf module. Waiting for an event to start.
5590+
* Beginning state of dconf module. Waiting for an event to start.
55915591
*/
55925592
static void
55935593
bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event)

‎drivers/scsi/bfa/bfa_ioc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ struct bfa_diag_results_fwping {
530530

531531
struct bfa_diag_qtest_result_s {
532532
u32 status;
533-
u16 count; /* sucessful queue test count */
533+
u16 count; /* successful queue test count */
534534
u8 queue;
535535
u8 rsvd; /* 64-bit align */
536536
};

‎drivers/scsi/isci/init.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ static struct sas_domain_function_template isci_transport_ops = {
219219
* @isci_host: This parameter specifies the lldd specific wrapper for the
220220
* libsas sas_ha struct.
221221
*
222-
* This method returns an error code indicating sucess or failure. The user
222+
* This method returns an error code indicating success or failure. The user
223223
* should check for possible memory allocation error return otherwise, a zero
224224
* indicates success.
225225
*/

‎drivers/scsi/isci/request.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2240,7 +2240,7 @@ static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ire
22402240
status = ireq->sci_status;
22412241
sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR);
22422242
} else {
2243-
/* If receiving any non-sucess TC status, no UF
2243+
/* If receiving any non-success TC status, no UF
22442244
* received yet, then an UF for the status fis
22452245
* is coming after (XXX: suspect this is
22462246
* actually a protocol error or a bug like the

0 commit comments

Comments
 (0)