Procházet zdrojové kódy

Fix spelling fuction -> function in comments

To avoid more patches, I also fixed other spelling
and grammar bugs when they were in the same or
following line:

successfull -> successful
parse -> parses
controler -> controller
controlers -> controllers

Cc: Jiri Kosina <trivial@kernel.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Stefan Weil před 15 roky
rodič
revize
eef35c2d41

+ 1 - 1
arch/blackfin/mach-bf527/boards/ezkit.c

@@ -884,7 +884,7 @@ static struct adp5520_keys_platform_data adp5520_keys_data = {
 };
 };
 
 
 	/*
 	/*
-	 *  ADP5520/5501 Multifuction Device Init Data
+	 *  ADP5520/5501 Multifunction Device Init Data
 	 */
 	 */
 
 
 static struct adp5520_platform_data adp5520_pdev_data = {
 static struct adp5520_platform_data adp5520_pdev_data = {

+ 1 - 1
arch/blackfin/mach-bf537/boards/stamp.c

@@ -1644,7 +1644,7 @@ static struct adp5520_keys_platform_data adp5520_keys_data = {
 };
 };
 
 
 	/*
 	/*
-	 *  ADP5520/5501 Multifuction Device Init Data
+	 *  ADP5520/5501 Multifunction Device Init Data
 	 */
 	 */
 
 
 static struct adp5520_platform_data adp5520_pdev_data = {
 static struct adp5520_platform_data adp5520_pdev_data = {

+ 1 - 1
arch/xtensa/include/asm/uaccess.h

@@ -4,7 +4,7 @@
  * User space memory access functions
  * User space memory access functions
  *
  *
  * These routines provide basic accessing functions to the user memory
  * These routines provide basic accessing functions to the user memory
- * space for the kernel. This header file provides fuctions such as:
+ * space for the kernel. This header file provides functions such as:
  *
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
  * License.  See the file "COPYING" in the main directory of this archive

+ 1 - 1
block/blk-core.c

@@ -1618,7 +1618,7 @@ EXPORT_SYMBOL(submit_bio);
  *    the insertion using this generic function.
  *    the insertion using this generic function.
  *
  *
  *    This function should also be useful for request stacking drivers
  *    This function should also be useful for request stacking drivers
- *    in some cases below, so export this fuction.
+ *    in some cases below, so export this function.
  *    Request stacking drivers like request-based dm may change the queue
  *    Request stacking drivers like request-based dm may change the queue
  *    limits while requests are in the queue (e.g. dm's table swapping).
  *    limits while requests are in the queue (e.g. dm's table swapping).
  *    Such request stacking drivers should check those requests agaist
  *    Such request stacking drivers should check those requests agaist

+ 1 - 1
drivers/base/core.c

@@ -251,7 +251,7 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj,
 				 __func__, retval);
 				 __func__, retval);
 	}
 	}
 
 
-	/* have the device type specific fuction add its stuff */
+	/* have the device type specific function add its stuff */
 	if (dev->type && dev->type->uevent) {
 	if (dev->type && dev->type->uevent) {
 		retval = dev->type->uevent(dev, env);
 		retval = dev->type->uevent(dev, env);
 		if (retval)
 		if (retval)

+ 1 - 1
drivers/media/video/zoran/videocodec.h

@@ -56,7 +56,7 @@
    the slave is bound to it). Otherwise it doesn't need this functions and
    the slave is bound to it). Otherwise it doesn't need this functions and
    therfor they may not be initialized.
    therfor they may not be initialized.
 
 
-   The other fuctions are just for convenience, as they are for sure used by
+   The other functions are just for convenience, as they are for sure used by
    most/all of the codecs. The last ones may be ommited, too.
    most/all of the codecs. The last ones may be ommited, too.
 
 
    See the structure declaration below for more information and which data has
    See the structure declaration below for more information and which data has

+ 1 - 1
drivers/net/depca.c

@@ -1487,7 +1487,7 @@ static void __init depca_platform_probe (void)
 		if (!pldev->dev.driver) {
 		if (!pldev->dev.driver) {
 		/* The driver was not bound to this device, there was
 		/* The driver was not bound to this device, there was
 		 * no hardware at this address. Unregister it, as the
 		 * no hardware at this address. Unregister it, as the
-		 * release fuction will take care of freeing the
+		 * release function will take care of freeing the
 		 * allocated structure */
 		 * allocated structure */
 
 
 			depca_io_ports[i].device = NULL;
 			depca_io_ports[i].device = NULL;

+ 1 - 1
drivers/net/igb/igb_main.c

@@ -3527,7 +3527,7 @@ enum latency_range {
  *      Stores a new ITR value based on strictly on packet size.  This
  *      Stores a new ITR value based on strictly on packet size.  This
  *      algorithm is less sophisticated than that used in igb_update_itr,
  *      algorithm is less sophisticated than that used in igb_update_itr,
  *      due to the difficulty of synchronizing statistics across multiple
  *      due to the difficulty of synchronizing statistics across multiple
- *      receive rings.  The divisors and thresholds used by this fuction
+ *      receive rings.  The divisors and thresholds used by this function
  *      were determined based on theoretical maximum wire speed and testing
  *      were determined based on theoretical maximum wire speed and testing
  *      data, in order to minimize response time while increasing bulk
  *      data, in order to minimize response time while increasing bulk
  *      throughput.
  *      throughput.

+ 1 - 1
drivers/net/skfp/hwt.c

@@ -221,7 +221,7 @@ u_long hwt_quick_read(struct s_smc *smc)
  * para	start		start time
  * para	start		start time
  *	duration	time to wait
  *	duration	time to wait
  *
  *
- * NOTE: The fuction will return immediately, if the timer is not 
+ * NOTE: The function will return immediately, if the timer is not
  *	 started
  *	 started
  ************************/
  ************************/
 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration)
 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration)

+ 1 - 1
drivers/net/skfp/skfddi.c

@@ -33,7 +33,7 @@
  *   The driver architecture is based on the DEC FDDI driver by
  *   The driver architecture is based on the DEC FDDI driver by
  *   Lawrence V. Stefani and several ethernet drivers.
  *   Lawrence V. Stefani and several ethernet drivers.
  *   I also used an existing Windows NT miniport driver.
  *   I also used an existing Windows NT miniport driver.
- *   All hardware dependent fuctions are handled by the SysKonnect
+ *   All hardware dependent functions are handled by the SysKonnect
  *   Hardware Module.
  *   Hardware Module.
  *   The only headerfiles that are directly related to this source
  *   The only headerfiles that are directly related to this source
  *   are skfddi.c, h/types.h, h/osdef1st.h, h/targetos.h.
  *   are skfddi.c, h/types.h, h/osdef1st.h, h/targetos.h.

+ 1 - 1
drivers/s390/block/dasd_3990_erp.c

@@ -2197,7 +2197,7 @@ dasd_3990_erp_inspect_32(struct dasd_ccw_req * erp, char *sense)
 
 
 /*
 /*
  *****************************************************************************
  *****************************************************************************
- * main ERP control fuctions (24 and 32 byte sense)
+ * main ERP control functions (24 and 32 byte sense)
  *****************************************************************************
  *****************************************************************************
  */
  */
 
 

+ 3 - 3
drivers/s390/char/tape_3590.c

@@ -31,7 +31,7 @@ debug_info_t *TAPE_DBF_AREA = NULL;
 EXPORT_SYMBOL(TAPE_DBF_AREA);
 EXPORT_SYMBOL(TAPE_DBF_AREA);
 
 
 /*******************************************************************
 /*******************************************************************
- * Error Recovery fuctions:
+ * Error Recovery functions:
  * - Read Opposite:		 implemented
  * - Read Opposite:		 implemented
  * - Read Device (buffered) log: BRA
  * - Read Device (buffered) log: BRA
  * - Read Library log:		 BRA
  * - Read Library log:		 BRA
@@ -798,7 +798,7 @@ tape_3590_done(struct tape_device *device, struct tape_request *request)
 }
 }
 
 
 /*
 /*
- * This fuction is called, when error recovery was successfull
+ * This function is called, when error recovery was successful
  */
  */
 static inline int
 static inline int
 tape_3590_erp_succeded(struct tape_device *device, struct tape_request *request)
 tape_3590_erp_succeded(struct tape_device *device, struct tape_request *request)
@@ -809,7 +809,7 @@ tape_3590_erp_succeded(struct tape_device *device, struct tape_request *request)
 }
 }
 
 
 /*
 /*
- * This fuction is called, when error recovery was not successfull
+ * This function is called, when error recovery was not successful
  */
  */
 static inline int
 static inline int
 tape_3590_erp_failed(struct tape_device *device, struct tape_request *request,
 tape_3590_erp_failed(struct tape_device *device, struct tape_request *request,

+ 1 - 1
drivers/scsi/lpfc/lpfc_hbadisc.c

@@ -5498,7 +5498,7 @@ lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type)
  * @buff: Buffer containing config region 23 data.
  * @buff: Buffer containing config region 23 data.
  * @size: Size of the data buffer.
  * @size: Size of the data buffer.
  *
  *
- * This fuction parse the FCoE config parameters in config region 23 and
+ * This function parses the FCoE config parameters in config region 23 and
  * populate driver data structure with the parameters.
  * populate driver data structure with the parameters.
  */
  */
 void
 void

+ 2 - 2
drivers/usb/host/imx21-hcd.c

@@ -27,8 +27,8 @@
   *    * 32 transfer descriptors (called ETDs)
   *    * 32 transfer descriptors (called ETDs)
   *    * 4Kb of Data memory
   *    * 4Kb of Data memory
   *
   *
-  * The data memory is shared between the host and fuction controlers
-  * (but this driver only supports the host controler)
+  * The data memory is shared between the host and function controllers
+  * (but this driver only supports the host controller)
   *
   *
   * So setting up a transfer involves:
   * So setting up a transfer involves:
   *    * Allocating a ETD
   *    * Allocating a ETD

+ 1 - 1
net/mac80211/mesh.h

@@ -115,7 +115,7 @@ struct mesh_path {
  * @hash_rnd: random value used for hash computations
  * @hash_rnd: random value used for hash computations
  * @entries: number of entries in the table
  * @entries: number of entries in the table
  * @free_node: function to free nodes of the table
  * @free_node: function to free nodes of the table
- * @copy_node: fuction to copy nodes of the table
+ * @copy_node: function to copy nodes of the table
  * @size_order: determines size of the table, there will be 2^size_order hash
  * @size_order: determines size of the table, there will be 2^size_order hash
  *	buckets
  *	buckets
  * @mean_chain_len: maximum average length for the hash buckets' list, if it is
  * @mean_chain_len: maximum average length for the hash buckets' list, if it is