Skip to content

Commit

Permalink
scripts/spelling.txt: add "intialise(d)" 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:

  intialisation||initialisation
  intialised||initialised
  intialise||initialise

This commit does not intend to change the British spelling itself.

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 May 9, 2017
1 parent ad61dd3 commit 6e7c2b4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion certs/blacklist.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ int is_hash_blacklisted(const u8 *hash, size_t hash_len, const char *type)
EXPORT_SYMBOL_GPL(is_hash_blacklisted);

/*
* Intialise the blacklist
* Initialise the blacklist
*/
static int __init blacklist_init(void)
{
Expand Down
8 changes: 4 additions & 4 deletions drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ static void sxgbe_free_rx_buffers(struct net_device *dev,
/**
* init_tx_ring - init the TX descriptor ring
* @dev: net device structure
* @tx_ring: ring to be intialised
* @tx_ring: ring to be initialised
* @tx_rsize: ring size
* Description: this function initializes the DMA TX descriptor
*/
Expand Down Expand Up @@ -437,7 +437,7 @@ static int init_tx_ring(struct device *dev, u8 queue_no,
/**
* free_rx_ring - free the RX descriptor ring
* @dev: net device structure
* @rx_ring: ring to be intialised
* @rx_ring: ring to be initialised
* @rx_rsize: ring size
* Description: this function initializes the DMA RX descriptor
*/
Expand All @@ -453,7 +453,7 @@ static void free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring,
/**
* init_rx_ring - init the RX descriptor ring
* @dev: net device structure
* @rx_ring: ring to be intialised
* @rx_ring: ring to be initialised
* @rx_rsize: ring size
* Description: this function initializes the DMA RX descriptor
*/
Expand Down Expand Up @@ -539,7 +539,7 @@ static int init_rx_ring(struct net_device *dev, u8 queue_no,
/**
* free_tx_ring - free the TX descriptor ring
* @dev: net device structure
* @tx_ring: ring to be intialised
* @tx_ring: ring to be initialised
* @tx_rsize: ring size
* Description: this function initializes the DMA TX descriptor
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/fbdev/intelfb/intelfbdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ static __inline__ int var_to_refresh(const struct fb_var_screeninfo *var)
}

/***************************************************************
* Various intialisation functions *
* Various initialisation functions *
***************************************************************/

static void get_initial_mode(struct intelfb_info *dinfo)
Expand Down
2 changes: 1 addition & 1 deletion fs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static int no_open(struct inode *inode, struct file *file)
}

/**
* inode_init_always - perform inode structure intialisation
* inode_init_always - perform inode structure initialisation
* @sb: superblock inode belongs to
* @inode: inode to initialise
*
Expand Down
2 changes: 1 addition & 1 deletion fs/xfs/xfs_log_recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -3796,7 +3796,7 @@ xlog_recover_bud_pass2(
* This routine is called when an inode create format structure is found in a
* committed transaction in the log. It's purpose is to initialise the inodes
* being allocated on disk. This requires us to get inode cluster buffers that
* match the range to be intialised, stamped with inode templates and written
* match the range to be initialised, stamped with inode templates and written
* by delayed write so that subsequent modifications will hit the cached buffer
* and only need writing out at the end of recovery.
*/
Expand Down
3 changes: 3 additions & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,9 @@ interruptted||interrupted
interupted||interrupted
interupt||interrupt
intial||initial
intialisation||initialisation
intialised||initialised
intialise||initialise
intialization||initialization
intialized||initialized
intialize||initialize
Expand Down

0 comments on commit 6e7c2b4

Please sign in to comment.