From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Subject: scripts/spelling.txt: add "varible" pattern and fix typo instances Fix typos and add the following to the scripts/spelling.txt: varible||variable While we are here, tidy up the comment blocks that fit in a single line for drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c and net/sctp/transport.c. Link: http://lkml.kernel.org/r/1481573103-11329-11-git-send-email-yamada.masahiro@xxxxxxxxxxxxx Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/scsi/ChangeLog.megaraid_sas | 2 +- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 +--- drivers/net/wimax/i2400m/usb-fw.c | 2 +- kernel/torture.c | 2 +- net/sctp/transport.c | 4 +--- scripts/spelling.txt | 1 + 6 files changed, 6 insertions(+), 9 deletions(-) diff -puN Documentation/scsi/ChangeLog.megaraid_sas~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances Documentation/scsi/ChangeLog.megaraid_sas --- a/Documentation/scsi/ChangeLog.megaraid_sas~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances +++ a/Documentation/scsi/ChangeLog.megaraid_sas @@ -549,7 +549,7 @@ ii. Reduced by 1 max cmds sent to FW fro 3 Older Version : 00.00.03.02 i. Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead. - New varible added to set dbg level. + New variable added to set dbg level. ii. Disable interrupt made as fn pointer as they are different for 1068 / 1078 iii. Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and 3 SGE for 32 bit SGL diff -puN drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c --- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances +++ a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c @@ -847,9 +847,7 @@ static void i40e_free_vf_res(struct i40e wr32(hw, reg_idx, reg); i40e_flush(hw); } - /* reset some of the state varibles keeping - * track of the resources - */ + /* reset some of the state variables keeping track of the resources */ vf->num_queue_pairs = 0; vf->vf_states = 0; clear_bit(I40E_VF_STAT_INIT, &vf->vf_states); diff -puN drivers/net/wimax/i2400m/usb-fw.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances drivers/net/wimax/i2400m/usb-fw.c --- a/drivers/net/wimax/i2400m/usb-fw.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances +++ a/drivers/net/wimax/i2400m/usb-fw.c @@ -237,7 +237,7 @@ void __i2400mu_bm_notif_cb(struct urb *u * * @i2400m: device descriptor * @urb: urb to use - * @completion: completion varible to complete when done + * @completion: completion variable to complete when done * * Data is always read to i2400m->bm_ack_buf */ diff -puN kernel/torture.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances kernel/torture.c --- a/kernel/torture.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances +++ a/kernel/torture.c @@ -311,7 +311,7 @@ EXPORT_SYMBOL_GPL(torture_random); /* * Variables for shuffling. The idea is to ensure that each CPU stays * idle for an extended period to test interactions with dyntick idle, - * as well as interactions with any per-CPU varibles. + * as well as interactions with any per-CPU variables. */ struct shuffle_task { struct list_head st_l; diff -puN net/sctp/transport.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances net/sctp/transport.c --- a/net/sctp/transport.c~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances +++ a/net/sctp/transport.c @@ -643,9 +643,7 @@ void sctp_transport_reset(struct sctp_tr t->srtt = 0; t->rttvar = 0; - /* Reset these additional varibles so that we have a clean - * slate. - */ + /* Reset these additional variables so that we have a clean slate. */ t->partial_bytes_acked = 0; t->flight_size = 0; t->error_count = 0; diff -puN scripts/spelling.txt~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances scripts/spelling.txt --- a/scripts/spelling.txt~scripts-spellingtxt-add-varible-pattern-and-fix-typo-instances +++ a/scripts/spelling.txt @@ -1092,6 +1092,7 @@ vaid||valid vaild||valid valide||valid variantions||variations +varible||variable varient||variant vaule||value verbse||verbose _ -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html