lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 23 Feb 2016 17:44:53 -0800
From:	Adam Buchbinder <adam.buchbinder@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	trivial@...nel.org, Adam Buchbinder <adam.buchbinder@...il.com>
Subject: [PATCH] include/linux: Fix misspellings in comments.

Signed-off-by: Adam Buchbinder <adam.buchbinder@...il.com>
---
 include/linux/amba/mmci.h                    |  2 +-
 include/linux/bio.h                          |  2 +-
 include/linux/bpf.h                          |  2 +-
 include/linux/cgroup-defs.h                  |  2 +-
 include/linux/clk/ti.h                       |  2 +-
 include/linux/cpufreq.h                      |  2 +-
 include/linux/dma-buf.h                      |  2 +-
 include/linux/edac.h                         |  2 +-
 include/linux/fb.h                           |  6 +++---
 include/linux/fsl_ifc.h                      |  2 +-
 include/linux/hid-sensor-hub.h               |  2 +-
 include/linux/hyperv.h                       |  2 +-
 include/linux/iommu.h                        |  2 +-
 include/linux/ipack.h                        |  4 ++--
 include/linux/irqchip.h                      |  4 ++--
 include/linux/isdnif.h                       |  4 ++--
 include/linux/kgdb.h                         |  8 ++++----
 include/linux/mfd/abx500.h                   |  2 +-
 include/linux/mfd/abx500/ab8500-bm.h         |  4 ++--
 include/linux/mfd/cros_ec_commands.h         |  2 +-
 include/linux/mfd/ipaq-micro.h               |  2 +-
 include/linux/mfd/palmas.h                   |  2 +-
 include/linux/mfd/wm8994/pdata.h             |  2 +-
 include/linux/mmc/card.h                     |  2 +-
 include/linux/msi.h                          |  2 +-
 include/linux/mtd/spi-nor.h                  |  2 +-
 include/linux/netdevice.h                    |  2 +-
 include/linux/of.h                           |  8 ++++----
 include/linux/pci.h                          |  2 +-
 include/linux/perf_event.h                   |  2 +-
 include/linux/platform_data/ata-samsung_cf.h |  2 +-
 include/linux/platform_data/dma-ste-dma40.h  |  2 +-
 include/linux/platform_data/usb-mx2.h        |  6 +++---
 include/linux/power/smartreflex.h            |  2 +-
 include/linux/regmap.h                       |  2 +-
 include/linux/shrinker.h                     |  2 +-
 include/linux/skbuff.h                       |  2 +-
 include/linux/srcu.h                         |  2 +-
 include/linux/sunrpc/cache.h                 |  2 +-
 include/linux/sunrpc/svc.h                   |  2 +-
 include/linux/tty_ldisc.h                    | 16 ++++++++--------
 include/linux/usb/otg-fsm.h                  |  4 ++--
 include/linux/vgaarb.h                       |  2 +-
 include/linux/vmalloc.h                      |  2 +-
 44 files changed, 66 insertions(+), 66 deletions(-)

diff --git a/include/linux/amba/mmci.h b/include/linux/amba/mmci.h
index 8c98113..469f598 100644
--- a/include/linux/amba/mmci.h
+++ b/include/linux/amba/mmci.h
@@ -12,7 +12,7 @@
  * @ocr_mask: available voltages on the 4 pins from the block, this
  * is ignored if a regulator is used, see the MMC_VDD_* masks in
  * mmc/host.h
- * @ios_handler: a callback function to act on specfic ios changes,
+ * @ios_handler: a callback function to act on specific ios changes,
  * used for example to control a levelshifter
  * mask into a value to be binary (or set some other custom bits
  * in MMCIPWR) or:ed and written into the MMCIPWR register of the
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 5349e68..b9ca77b 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -13,7 +13,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public Licens
+ * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-
  */
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 83d1926..95cce64 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -13,7 +13,7 @@
 
 struct bpf_map;
 
-/* map is generic key/value storage optionally accesible by eBPF programs */
+/* map is generic key/value storage optionally accessible by eBPF programs */
 struct bpf_map_ops {
 	/* funcs callable from userspace (via syscall) */
 	struct bpf_map *(*map_alloc)(union bpf_attr *attr);
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h
index 789471d..24ca41a 100644
--- a/include/linux/cgroup-defs.h
+++ b/include/linux/cgroup-defs.h
@@ -549,7 +549,7 @@ static inline void cgroup_threadgroup_change_end(struct task_struct *tsk) {}
  * sock_cgroup_data overloads (prioidx, classid) and the cgroup pointer.
  * On boot, sock_cgroup_data records the cgroup that the sock was created
  * in so that cgroup2 matches can be made; however, once either net_prio or
- * net_cls starts being used, the area is overriden to carry prioidx and/or
+ * net_cls starts being used, the area is overridden to carry prioidx and/or
  * classid.  The two modes are distinguished by whether the lowest bit is
  * set.  Clear bit indicates cgroup pointer while set bit prioidx and
  * classid.
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h
index 9a63860..4402a34 100644
--- a/include/linux/clk/ti.h
+++ b/include/linux/clk/ti.h
@@ -43,7 +43,7 @@
  * @autoidle_mask: mask of the DPLL autoidle mode bitfield in @autoidle_reg
  * @freqsel_mask: mask of the DPLL jitter correction bitfield in @control_reg
  * @dcc_mask: mask of the DPLL DCC correction bitfield @mult_div1_reg
- * @dcc_rate: rate atleast which DCC @dcc_mask must be set
+ * @dcc_rate: rate at least which DCC @dcc_mask must be set
  * @idlest_mask: mask of the DPLL idle status bitfield in @idlest_reg
  * @lpmode_mask: mask of the DPLL low-power mode bitfield in @control_reg
  * @m4xen_mask: mask of the DPLL M4X multiplier bitfield in @control_reg
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 88a4215..dddc719 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -596,7 +596,7 @@ static inline bool policy_has_boost_freq(struct cpufreq_policy *policy)
 	return false;
 }
 #endif
-/* the following funtion is for cpufreq core use only */
+/* the following function is for cpufreq core use only */
 struct cpufreq_frequency_table *cpufreq_frequency_get_table(unsigned int cpu);
 
 /* the following are really really optional */
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
index f98bd70..1f9dd98 100644
--- a/include/linux/dma-buf.h
+++ b/include/linux/dma-buf.h
@@ -45,7 +45,7 @@ struct dma_buf_attachment;
  *	    of requesting device.
  * @detach: [optional] detach a given device from this buffer.
  * @map_dma_buf: returns list of scatter pages allocated, increases usecount
- *		 of the buffer. Requires atleast one attach to be called
+ *		 of the buffer. Requires at least one attach to be called
  *		 before. Returned sg list should already be mapped into
  *		 _device_ address space. This call may sleep. May also return
  *		 -EINTR. Should return -EINVAL if attach hasn't been called yet.
diff --git a/include/linux/edac.h b/include/linux/edac.h
index 9e0d789..7b5c7a6 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -178,7 +178,7 @@ static inline char *mc_event_error_type(const unsigned int err_type)
  * @MEM_RMBS:		Rambus DRAM, used on a few Pentium III/IV controllers.
  * @MEM_DDR2:		DDR2 RAM, as described at JEDEC JESD79-2F.
  *			Those memories are labed as "PC2-" instead of "PC" to
- *			differenciate from DDR.
+ *			differentiate from DDR.
  * @MEM_FB_DDR2:	Fully-Buffered DDR2, as described at JEDEC Std No. 205
  *			and JESD206.
  *			Those memories are accessed per DIMM slot, and not by
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 55433f8..a27b4e0 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -125,7 +125,7 @@ struct fb_cursor_user {
 
 /*	The resolution of the passed in fb_info about to change */ 
 #define FB_EVENT_MODE_CHANGE		0x01
-/*	The display on this fb_info is beeing suspended, no access to the
+/*	The display on this fb_info is being suspended, no access to the
  *	framebuffer is allowed any more after that call returns
  */
 #define FB_EVENT_SUSPEND		0x02
@@ -158,9 +158,9 @@ struct fb_cursor_user {
 #define FB_EVENT_FB_UNBIND              0x0E
 /*      CONSOLE-SPECIFIC: remap all consoles to new fb - for vga_switcheroo */
 #define FB_EVENT_REMAP_ALL_CONSOLE      0x0F
-/*      A hardware display blank early change occured */
+/*      A hardware display blank early change occurred */
 #define FB_EARLY_EVENT_BLANK		0x10
-/*      A hardware display blank revert early change occured */
+/*      A hardware display blank revert early change occurred */
 #define FB_R_EARLY_EVENT_BLANK		0x11
 
 struct fb_event {
diff --git a/include/linux/fsl_ifc.h b/include/linux/fsl_ifc.h
index 0023088..3efa74c 100644
--- a/include/linux/fsl_ifc.h
+++ b/include/linux/fsl_ifc.h
@@ -595,7 +595,7 @@ enum ifc_nand_fir_opcodes {
  */
 /* Source ID for error transaction */
 #define IFC_NOR_ERATTR0_ERSRCID		0xFF000000
-/* AXI ID for error transation */
+/* AXI ID for error transaction */
 #define IFC_NOR_ERATTR0_ERAID		0x000FF000
 /* Chip select corresponds to NOR error */
 #define IFC_NOR_ERATTR0_ERCS_CS0	0x00000000
diff --git a/include/linux/hid-sensor-hub.h b/include/linux/hid-sensor-hub.h
index c02b5ce..38081ff 100644
--- a/include/linux/hid-sensor-hub.h
+++ b/include/linux/hid-sensor-hub.h
@@ -145,7 +145,7 @@ int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev,
 * @hsdev:	Hub device instance.
 * @usage_id:	Usage id of the client (E.g. 0x200076 for Gyro).
 *
-* If there is a callback registred, this call will remove that
+* If there is a callback registered, this call will remove that
 * callbacks, so that it will stop data and event notifications.
 */
 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev,
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 753dbad..496120d 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -709,7 +709,7 @@ struct vmbus_channel {
 	 * Support for sub-channels. For high performance devices,
 	 * it will be useful to have multiple sub-channels to support
 	 * a scalable communication infrastructure with the host.
-	 * The support for sub-channels is implemented as an extention
+	 * The support for sub-channels is implemented as an extension
 	 * to the current infrastructure.
 	 * The initial offer is considered the primary channel and this
 	 * offer message will indicate if the host supports sub-channels.
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index a5c539f..1025a59 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -92,7 +92,7 @@ enum iommu_cap {
 };
 
 /*
- * Following constraints are specifc to FSL_PAMUV1:
+ * Following constraints are specific to FSL_PAMUV1:
  *  -aperture must be power of 2, and naturally aligned
  *  -number of windows must be power of 2, and address space size
  *   of each window is determined by aperture size / # of windows
diff --git a/include/linux/ipack.h b/include/linux/ipack.h
index 8bddc3f..e75986b 100644
--- a/include/linux/ipack.h
+++ b/include/linux/ipack.h
@@ -92,7 +92,7 @@ struct ipack_region {
  *
  * Warning: Direct access to mapped memory is possible but the endianness
  * is not the same with PCI carrier or VME carrier. The endianness is managed
- * by the carrier board throught bus->ops.
+ * by the carrier board through bus->ops.
  */
 struct ipack_device {
 	unsigned int slot;
@@ -216,7 +216,7 @@ void ipack_driver_unregister(struct ipack_driver *edrv);
  * is done by the carrier driver.  The carrier should populate the fields
  * bus and slot as well as the region array of @dev prior to calling this
  * function.  The rest of the fields will be allocated and populated
- * during initalization.
+ * during initialization.
  *
  * Return zero on success or error code on failure.
  *
diff --git a/include/linux/irqchip.h b/include/linux/irqchip.h
index 89c34b2..950e4b2 100644
--- a/include/linux/irqchip.h
+++ b/include/linux/irqchip.h
@@ -19,7 +19,7 @@
  * the association between their DT compatible string and their
  * initialization function.
  *
- * @name: name that must be unique accross all IRQCHIP_DECLARE of the
+ * @name: name that must be unique across all IRQCHIP_DECLARE of the
  * same file.
  * @compstr: compatible string of the irqchip driver
  * @fn: initialization function
@@ -30,7 +30,7 @@
  * This macro must be used by the different irqchip drivers to declare
  * the association between their version and their initialization function.
  *
- * @name: name that must be unique accross all IRQCHIP_ACPI_DECLARE of the
+ * @name: name that must be unique across all IRQCHIP_ACPI_DECLARE of the
  * same file.
  * @subtable: Subtable to be identified in MADT
  * @validate: Function to be called on that subtable to check its validity.
diff --git a/include/linux/isdnif.h b/include/linux/isdnif.h
index 0fc6ff2..0b73bc2 100644
--- a/include/linux/isdnif.h
+++ b/include/linux/isdnif.h
@@ -69,9 +69,9 @@
 /* the amount of time the INVOKED process waits for a reaction from  */
 /* the network.                                                      */
 /* If a response (either error or result) is received during this    */
-/* intervall, a reporting callback is initiated and the process will */
+/* interval, a reporting callback is initiated and the process will  */
 /* be deleted, the hl identifier will be freed.                      */
-/* If no response is received during the specified intervall, a error*/
+/* If no response is received during the specified interval, a error */
 /* callback is initiated with timeout set to -1 and a datalen set    */
 /* to 0.                                                             */
 /* If timeout is set to a value <= 0 during INVOCATION the process is*/
diff --git a/include/linux/kgdb.h b/include/linux/kgdb.h
index e465bb1..598e435 100644
--- a/include/linux/kgdb.h
+++ b/include/linux/kgdb.h
@@ -104,9 +104,9 @@ extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
  */
 
 /**
- *	kgdb_arch_init - Perform any architecture specific initalization.
+ *	kgdb_arch_init - Perform any architecture specific initialization.
  *
- *	This function will handle the initalization of any architecture
+ *	This function will handle the initialization of any architecture
  *	specific callbacks.
  */
 extern int kgdb_arch_init(void);
@@ -211,9 +211,9 @@ extern int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt);
 extern int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt);
 
 /**
- *	kgdb_arch_late - Perform any architecture specific initalization.
+ *	kgdb_arch_late - Perform any architecture specific initialization.
  *
- *	This function will handle the late initalization of any
+ *	This function will handle the late initialization of any
  *	architecture specific callbacks.  This is an optional function for
  *	handling things like late initialization of hw breakpoints.  The
  *	default implementation does nothing.
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h
index 552cc1d..44412c9 100644
--- a/include/linux/mfd/abx500.h
+++ b/include/linux/mfd/abx500.h
@@ -45,7 +45,7 @@ enum abx500_adc_therm {
  * struct abx500_res_to_temp - defines one point in a temp to res curve. To
  * be used in battery packs that combines the identification resistor with a
  * NTC resistor.
- * @temp:			battery pack temperature in Celcius
+ * @temp:			battery pack temperature in Celsius
  * @resist:			NTC resistor net total resistance
  */
 struct abx500_res_to_temp {
diff --git a/include/linux/mfd/abx500/ab8500-bm.h b/include/linux/mfd/abx500/ab8500-bm.h
index 12a5b39..e63681e 100644
--- a/include/linux/mfd/abx500/ab8500-bm.h
+++ b/include/linux/mfd/abx500/ab8500-bm.h
@@ -279,7 +279,7 @@ enum bup_vch_sel {
  * struct res_to_temp - defines one point in a temp to res curve. To
  * be used in battery packs that combines the identification resistor with a
  * NTC resistor.
- * @temp:			battery pack temperature in Celcius
+ * @temp:			battery pack temperature in Celsius
  * @resist:			NTC resistor net total resistance
  */
 struct res_to_temp {
@@ -290,7 +290,7 @@ struct res_to_temp {
 /**
  * struct batres_vs_temp - defines one point in a temp vs battery internal
  * resistance curve.
- * @temp:			battery pack temperature in Celcius
+ * @temp:			battery pack temperature in Celsius
  * @resist:			battery internal reistance in mOhm
  */
 struct batres_vs_temp {
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h
index 13b630c..4379f29 100644
--- a/include/linux/mfd/cros_ec_commands.h
+++ b/include/linux/mfd/cros_ec_commands.h
@@ -710,7 +710,7 @@ struct ec_response_get_set_value {
 	uint32_t value;
 } __packed;
 
-/* More than one command can use these structs to get/set paramters. */
+/* More than one command can use these structs to get/set parameters. */
 #define EC_CMD_GSV_PAUSE_IN_S5	0x0c
 
 
diff --git a/include/linux/mfd/ipaq-micro.h b/include/linux/mfd/ipaq-micro.h
index 5c4d29f..ada54ec 100644
--- a/include/linux/mfd/ipaq-micro.h
+++ b/include/linux/mfd/ipaq-micro.h
@@ -75,7 +75,7 @@ struct ipaq_micro_rxdev {
  * @tx_len: length of TX data
  * @tx_data: TX data to send
  * @rx_len: length of receieved RX data
- * @rx_data: RX data to recieve
+ * @rx_data: RX data to receive
  * @ack: a completion that will be completed when RX is complete
  * @node: list node if message gets queued
  */
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index c800dbc..e6ac464 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -264,7 +264,7 @@ enum tps65917_regulators {
 	TPS65917_NUM_REGS,
 };
 
-/* External controll signal name */
+/* External control signal name */
 enum {
 	PALMAS_EXT_CONTROL_ENABLE1      = 0x1,
 	PALMAS_EXT_CONTROL_ENABLE2      = 0x2,
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index 90c6052..f19c04f 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -41,7 +41,7 @@ struct wm8994_ldo_pdata {
  * DRC configurations are specified with a label and a set of register
  * values to write (the enable bits will be ignored).  At runtime an
  * enumerated control will be presented for each DRC block allowing
- * the user to choose the configration to use.
+ * the user to choose the configuration to use.
  *
  * Configurations may be generated by hand or by using the DRC control
  * panel provided by the WISCE - see  http://www.wolfsonmicro.com/wisce/
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index eb0151b..3afaf81 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -350,7 +350,7 @@ struct mmc_fixup {
 	unsigned int manfid;
 	unsigned short oemid;
 
-	/* SDIO-specfic fields. You can use SDIO_ANY_ID here of course */
+	/* SDIO-specific fields. You can use SDIO_ANY_ID here of course */
 	u16 cis_vendor, cis_device;
 
 	void (*vendor_fixup)(struct mmc_card *card, int data);
diff --git a/include/linux/msi.h b/include/linux/msi.h
index a2a0068..c364253 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -143,7 +143,7 @@ static inline void unmask_msi_irq(struct irq_data *data)
 
 /*
  * The arch hooks to setup up msi irqs. Those functions are
- * implemented as weak symbols so that they /can/ be overriden by
+ * implemented as weak symbols so that they /can/ be overridden by
  * architecture specific code if needed.
  */
 int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc);
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
index 62356d5..77c3c72 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
@@ -200,7 +200,7 @@ static inline struct device_node *spi_nor_get_flash_node(struct spi_nor *nor)
  * @name:	the chip type name
  * @mode:	the read mode supported by the driver
  *
- * The drivers can use this fuction to scan the SPI NOR.
+ * The drivers can use this function to scan the SPI NOR.
  * In the scanning, it will try to get all the necessary information to
  * fill the mtd_info{} and the spi_nor{}.
  *
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 5440b7b..508e129 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -976,7 +976,7 @@ typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
  * int (*ndo_fdb_del)(struct ndmsg *ndm, struct nlattr *tb[],
  *		      struct net_device *dev,
  *		      const unsigned char *addr, u16 vid)
- *	Deletes the FDB entry from dev coresponding to addr.
+ *	Deletes the FDB entry from dev corresponding to addr.
  * int (*ndo_fdb_dump)(struct sk_buff *skb, struct netlink_callback *cb,
  *		       struct net_device *dev, struct net_device *filter_dev,
  *		       int idx)
diff --git a/include/linux/of.h b/include/linux/of.h
index dc6e396..1885521 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -699,7 +699,7 @@ static inline struct device_node *of_find_matching_node(
  * @propname:	name of the property to be searched.
  *
  * Search for a property in a device node and count the number of u8 elements
- * in it. Returns number of elements on sucess, -EINVAL if the property does
+ * in it. Returns number of elements on success, -EINVAL if the property does
  * not exist or its length does not match a multiple of u8 and -ENODATA if the
  * property does not have a value.
  */
@@ -716,7 +716,7 @@ static inline int of_property_count_u8_elems(const struct device_node *np,
  * @propname:	name of the property to be searched.
  *
  * Search for a property in a device node and count the number of u16 elements
- * in it. Returns number of elements on sucess, -EINVAL if the property does
+ * in it. Returns number of elements on success, -EINVAL if the property does
  * not exist or its length does not match a multiple of u16 and -ENODATA if the
  * property does not have a value.
  */
@@ -733,7 +733,7 @@ static inline int of_property_count_u16_elems(const struct device_node *np,
  * @propname:	name of the property to be searched.
  *
  * Search for a property in a device node and count the number of u32 elements
- * in it. Returns number of elements on sucess, -EINVAL if the property does
+ * in it. Returns number of elements on success, -EINVAL if the property does
  * not exist or its length does not match a multiple of u32 and -ENODATA if the
  * property does not have a value.
  */
@@ -750,7 +750,7 @@ static inline int of_property_count_u32_elems(const struct device_node *np,
  * @propname:	name of the property to be searched.
  *
  * Search for a property in a device node and count the number of u64 elements
- * in it. Returns number of elements on sucess, -EINVAL if the property does
+ * in it. Returns number of elements on success, -EINVAL if the property does
  * not exist or its length does not match a multiple of u64 and -ENODATA if the
  * property does not have a value.
  */
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 27df4a6..1cee82a 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -783,7 +783,7 @@ resource_size_t pcibios_align_resource(void *, const struct resource *,
 				resource_size_t);
 void pcibios_update_irq(struct pci_dev *, int irq);
 
-/* Weak but can be overriden by arch */
+/* Weak but can be overridden by arch */
 void pci_fixup_cardbus(struct pci_bus *);
 
 /* Generic PCI functions used internally */
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index b35a61a..3501e41 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -133,7 +133,7 @@ struct hw_perf_event {
 			/*
 			 * Crufty hack to avoid the chicken and egg
 			 * problem hw_breakpoint has with context
-			 * creation and event initalization.
+			 * creation and event initialization.
 			 */
 			struct arch_hw_breakpoint	info;
 			struct list_head		bp_list;
diff --git a/include/linux/platform_data/ata-samsung_cf.h b/include/linux/platform_data/ata-samsung_cf.h
index 748e716..e78e9b3 100644
--- a/include/linux/platform_data/ata-samsung_cf.h
+++ b/include/linux/platform_data/ata-samsung_cf.h
@@ -22,7 +22,7 @@ struct s3c_ide_platdata {
 };
 
 /*
- * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
+ * s3c_ide_set_platdata() - Setup the platform specific data for IDE driver.
  * @pdata: Platform data for IDE driver.
  */
 extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h
index 1bb9b18..49a7ecd 100644
--- a/include/linux/platform_data/dma-ste-dma40.h
+++ b/include/linux/platform_data/dma-ste-dma40.h
@@ -127,7 +127,7 @@ struct stedma40_chan_cfg {
  * that are for different reasons not available for the driver.
  * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW
  * which avoids HW bug that exists in some versions of the controller.
- * SoftLLI introduces relink overhead that could impact performace for
+ * SoftLLI introduces relink overhead that could impact performance for
  * certain use cases.
  * @num_of_soft_lli_chans: The number of channels that needs to be configured
  * to use SoftLLI.
diff --git a/include/linux/platform_data/usb-mx2.h b/include/linux/platform_data/usb-mx2.h
index 22d0b59..ff610f6 100644
--- a/include/linux/platform_data/usb-mx2.h
+++ b/include/linux/platform_data/usb-mx2.h
@@ -24,14 +24,14 @@ enum mx21_usbh_xcvr {
 };
 
 struct mx21_usbh_platform_data {
-	enum mx21_usbh_xcvr host_xcvr; /* tranceiver mode host 1,2 ports */
-	enum mx21_usbh_xcvr otg_xcvr; /* tranceiver mode otg (as host) port */
+	enum mx21_usbh_xcvr host_xcvr; /* transceiver mode host 1,2 ports */
+	enum mx21_usbh_xcvr otg_xcvr; /* transceiver mode otg (as host) port */
 	u16 	enable_host1:1,
 		enable_host2:1,
 		enable_otg_host:1, /* enable "OTG" port (as host) */
 		host1_xcverless:1, /* traceiverless host1 port */
 		host1_txenoe:1, /* output enable host1 transmit enable */
-		otg_ext_xcvr:1, /* external tranceiver for OTG port */
+		otg_ext_xcvr:1, /* external transceiver for OTG port */
 		unused:10;
 };
 
diff --git a/include/linux/power/smartreflex.h b/include/linux/power/smartreflex.h
index d8b187c..2a799b0 100644
--- a/include/linux/power/smartreflex.h
+++ b/include/linux/power/smartreflex.h
@@ -189,7 +189,7 @@ struct omap_sr {
 })
 
 /**
- * struct omap_sr_pmic_data - Strucutre to be populated by pmic code to pass
+ * struct omap_sr_pmic_data - Structure to be populated by pmic code to pass
  *				pmic specific info to smartreflex driver
  *
  * @sr_pmic_init:	API to initialize smartreflex on the PMIC side.
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 1839434..d2edf15 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -819,7 +819,7 @@ struct regmap_irq {
  * @wake_base:   Base address for wake enables.  If zero unsupported.
  * @type_base:   Base address for irq type.  If zero unsupported.
  * @irq_reg_stride:  Stride to use for chips where registers are not contiguous.
- * @init_ack_masked: Ack all masked interrupts once during initalization.
+ * @init_ack_masked: Ack all masked interrupts once during initialization.
  * @mask_invert: Inverted mask register: cleared bits are masked out.
  * @use_ack:     Use @ack register even if it is zero.
  * @ack_invert:  Inverted ack register: cleared bits for ack.
diff --git a/include/linux/shrinker.h b/include/linux/shrinker.h
index 4fcacd9..35823d3 100644
--- a/include/linux/shrinker.h
+++ b/include/linux/shrinker.h
@@ -3,7 +3,7 @@
 
 /*
  * This struct is used to pass information from page reclaim to the shrinkers.
- * We consolidate the values for easier extention later.
+ * We consolidate the values for easier extension later.
  *
  * The 'gfpmask' refers to the allocation we are currently trying to
  * fulfil.
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 4ce9ff7..fd6f9e8 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -916,7 +916,7 @@ struct sk_buff_fclones {
  *
  * Returns true if skb is a fast clone, and its clone is not freed.
  * Some drivers call skb_orphan() in their ndo_start_xmit(),
- * so we also check that this didnt happen.
+ * so we also check that this didn't happen.
  */
 static inline bool skb_fclone_busy(const struct sock *sk,
 				   const struct sk_buff *skb)
diff --git a/include/linux/srcu.h b/include/linux/srcu.h
index f5f80c5..e4eeefc 100644
--- a/include/linux/srcu.h
+++ b/include/linux/srcu.h
@@ -100,7 +100,7 @@ void process_srcu(struct work_struct *work);
 
 /*
  * define and init a srcu struct at build time.
- * dont't call init_srcu_struct() nor cleanup_srcu_struct() on it.
+ * don't call init_srcu_struct() nor cleanup_srcu_struct() on it.
  */
 #define __DEFINE_SRCU(name, is_static)					\
 	static DEFINE_PER_CPU(struct srcu_struct_array, name##_srcu_array);\
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h
index ed03c9f..047840e 100644
--- a/include/linux/sunrpc/cache.h
+++ b/include/linux/sunrpc/cache.h
@@ -149,7 +149,7 @@ struct cache_deferred_req {
 	struct hlist_node	hash;	/* on hash chain */
 	struct list_head	recent; /* on fifo */
 	struct cache_head	*item;  /* cache item we wait on */
-	void			*owner; /* we might need to discard all defered requests
+	void			*owner; /* we might need to discard all deferred requests
 					 * owned by someone */
 	void			(*revisit)(struct cache_deferred_req *req,
 					   int too_many);
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index cc0fc71..a3eb827 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -150,7 +150,7 @@ static inline void svc_get(struct svc_serv *serv)
 extern u32 svc_max_payload(const struct svc_rqst *rqstp);
 
 /*
- * RPC Requsts and replies are stored in one or more pages.
+ * RPC Requests and replies are stored in one or more pages.
  * We maintain an array of pages for each server thread.
  * Requests are copied into these pages as they arrive.  Remaining
  * pages are available to write the reply into.
diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h
index 00c9d68..607d8c3 100644
--- a/include/linux/tty_ldisc.h
+++ b/include/linux/tty_ldisc.h
@@ -53,11 +53,11 @@
  *
  *	This function is called when the user requests an ioctl which
  *	is not handled by the tty layer or the low-level tty driver.
- *	It is intended for ioctls which affect line discpline
+ *	It is intended for ioctls which affect line discipline
  *	operation.  Note that the search order for ioctls is (1) tty
- *	layer, (2) tty low-level driver, (3) line discpline.  So a
+ *	layer, (2) tty low-level driver, (3) line discipline.  So a
  *	low-level driver can "grab" an ioctl request before the line
- *	discpline has a chance to see it.
+ *	discipline has a chance to see it.
  *
  * long	(*compat_ioctl)(struct tty_struct * tty, struct file * file,
  *		        unsigned int cmd, unsigned long arg);
@@ -66,7 +66,7 @@
  *
  * void	(*set_termios)(struct tty_struct *tty, struct ktermios * old);
  *
- *	This function notifies the line discpline that a change has
+ *	This function notifies the line discipline that a change has
  *	been made to the termios structure.
  *
  * int	(*poll)(struct tty_struct * tty, struct file * file,
@@ -80,7 +80,7 @@
  *		       char *fp, int count);
  *
  *	This function is called by the low-level tty driver to send
- *	characters received by the hardware to the line discpline for
+ *	characters received by the hardware to the line discipline for
  *	processing.  <cp> is a pointer to the buffer of input
  *	character received by the device.  <fp> is a pointer to a
  *	pointer of flag bytes which indicate whether a character was
@@ -90,8 +90,8 @@
  * void	(*write_wakeup)(struct tty_struct *);
  *
  *	This function is called by the low-level tty driver to signal
- *	that line discpline should try to send more characters to the
- *	low-level driver for transmission.  If the line discpline does
+ *	that line discipline should try to send more characters to the
+ *	low-level driver for transmission.  If the line discipline does
  *	not have any more data to send, it can just return. If the line
  *	discipline does have some data to send, please arise a tasklet
  *	or workqueue to do the real data transfer. Do not send data in
@@ -118,7 +118,7 @@
  *			char *fp, int count);
  *
  *	This function is called by the low-level tty driver to send
- *	characters received by the hardware to the line discpline for
+ *	characters received by the hardware to the line discipline for
  *	processing.  <cp> is a pointer to the buffer of input
  *	character received by the device.  <fp> is a pointer to a
  *	pointer of flag bytes which indicate whether a character was
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h
index f728f18..d013f95 100644
--- a/include/linux/usb/otg-fsm.h
+++ b/include/linux/usb/otg-fsm.h
@@ -78,7 +78,7 @@ struct otg_fsm {
 	int b_se0_srp;
 	int b_ssend_srp;
 	int b_sess_vld;
-	/* Auxilary inputs */
+	/* Auxiliary inputs */
 	int a_sess_vld;
 	int b_bus_resume;
 	int b_bus_suspend;
@@ -102,7 +102,7 @@ struct otg_fsm {
 	int a_bus_req_inf;
 	int a_clr_err_inf;
 	int b_bus_req_inf;
-	/* Auxilary informative variables */
+	/* Auxiliary informative variables */
 	int a_suspend_req_inf;
 
 	/* Timeout indicator for timers */
diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
index 8c3b412..47e88e5 100644
--- a/include/linux/vgaarb.h
+++ b/include/linux/vgaarb.h
@@ -93,7 +93,7 @@ static inline void vga_set_legacy_decoding(struct pci_dev *pdev,
  *     VGA forwarding on parent P2P bridges if any).
  *     This function will block if some conflicting card is already locking
  *     one of the required resources (or any resource on a different bus
- *     segment, since P2P bridges don't differenciate VGA memory and IO
+ *     segment, since P2P bridges don't differentiate VGA memory and IO
  *     afaik). You can indicate whether this blocking should be interruptible
  *     by a signal (for userland interface) or not.
  *     Must not be called at interrupt time or in atomic context.
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index d1f1d33..de86cef 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -21,7 +21,7 @@ struct vm_area_struct;		/* vma defining user mapping in mm_types.h */
 
 /*
  * Maximum alignment for ioremap() regions.
- * Can be overriden by arch-specific value.
+ * Can be overridden by arch-specific value.
  */
 #ifndef IOREMAP_MAX_ORDER
 #define IOREMAP_MAX_ORDER	(7 + PAGE_SHIFT)	/* 128 pages */
-- 
2.7.0.rc3.207.g0ac5344

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ