Skip to content

Commit

Permalink
scripts/spelling.txt: add "therfore" pattern and fix typo instances
Browse files Browse the repository at this point in the history
Fix typos and add the following to the scripts/spelling.txt:

  therfore||therefore

Besides, tidy up comment blocks for 80-col wrapping.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
masahir0y authored and torvalds committed Feb 28, 2017
1 parent b8a14f3 commit 608595e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions drivers/infiniband/sw/rdmavt/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ int rvt_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num,
u16 *out_mad_pkey_index)
{
/*
* MAD processing is quite different between hfi1 and qib. Therfore this
* is expected to be provided by the driver. Other drivers in the future
* may chose to implement this but it should not be made into a
* MAD processing is quite different between hfi1 and qib. Therefore
* this is expected to be provided by the driver. Other drivers in the
* future may choose to implement this but it should not be made into a
* requirement.
*/
if (ibport_num_to_idx(ibdev, port_num) < 0)
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/aacraid/linit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,7 @@ static int aac_acquire_resources(struct aac_dev *dev)

if (!dev->sync_mode) {
/* After EEH recovery or suspend resume, max_msix count
* may change, therfore updating in init as well.
* may change, therefore updating in init as well.
*/
dev->init->r7.no_of_msix_vectors = cpu_to_le32(dev->max_msix);
aac_adapter_start(dev);
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1875,8 +1875,8 @@ vchiq_arm_init_state(VCHIQ_STATE_T *state, VCHIQ_ARM_STATE_T *arm_state)
**
** VC_RESUME_IDLE - Initialise the resume completion at the same time. The
** resume completion is in it's 'done' state whenever
** videcore is running. Therfore, the VC_RESUME_IDLE state
** implies that videocore is suspended.
** videcore is running. Therefore, the VC_RESUME_IDLE
** state implies that videocore is suspended.
** Hence, any thread which needs to wait until videocore is
** running can wait on this completion - it will only block
** if videocore is suspended.
Expand Down
1 change: 1 addition & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,7 @@ targetting||targeting
teh||the
temorary||temporary
temproarily||temporarily
therfore||therefore
thier||their
threds||threads
threshhold||threshold
Expand Down

0 comments on commit 608595e

Please sign in to comment.