Skip to contentSkip to conversation

Some typo fixing

PATCH In review Thomas Weber 2 participants 7 messages Mar 15, 2010

Subsystems (30)
lore
Share & tools
lore
#0 lore raw

cover Some typo fixing

I have fixed some typos.

Thomas Weber (4):
Fix typo: [Ss]ytem => [Ss]ystem
Fix typo: udpate => update
Fix typo: paramters => parameters
Fix typo: orginal => original

 Documentation/cgroups/cgroups.txt               |    2 +-
 Documentation/kbuild/kconfig.txt                |    2 +-
 Documentation/sysfs-rules.txt                   |    2 +-
 Documentation/trace/events.txt                  |    8 ++++----
 drivers/acpi/osl.c                              |    4 ++--
 drivers/ata/ata_piix.c                          |    2 +-
 drivers/firewire/ohci.c                         |    2 +-
 drivers/gpu/drm/drm_bufs.c                      |    2 +-
 drivers/infiniband/hw/ipath/ipath_iba6110.c     |    2 +-
 drivers/infiniband/hw/ipath/ipath_iba6120.c     |    4 ++--
 drivers/infiniband/hw/ipath/ipath_iba7220.c     |    2 +-
 drivers/isdn/hisax/hfc4s8s_l1.c                 |    2 +-
 drivers/macintosh/windfarm_pm81.c               |    2 +-
 drivers/media/dvb/dvb-usb/friio-fe.c            |    2 +-
 drivers/net/smsc911x.c                          |    4 ++--
 drivers/pci/hotplug/cpqphp_core.c               |    2 +-
 drivers/pci/pci.c                               |    2 +-
 drivers/ps3/ps3-sys-manager.c                   |    2 +-
 drivers/regulator/core.c                        |    2 +-
 drivers/s390/char/sclp_cpi_sys.c                |    2 +-
 drivers/scsi/bfa/include/defs/bfa_defs_cee.h    |    2 +-
 drivers/scsi/bfa/include/defs/bfa_defs_status.h |    4 ++--
 drivers/spi/spi_mpc8xxx.c                       |    2 +-
 drivers/staging/iio/Documentation/overview.txt  |    2 +-
 drivers/staging/rt2860/rtmp.h                   |    2 +-
 drivers/staging/rtl8187se/r8180_core.c          |    4 ++--
 drivers/staging/rtl8187se/r8180_dm.c            |    2 +-
 drivers/staging/rtl8187se/r8185b_init.c         |    2 +-
 drivers/virtio/virtio_pci.c                     |    2 +-
 fs/jfs/jfs_dmap.c                               |    2 +-
 kernel/cgroup.c                                 |    2 +-
 mm/page_alloc.c                                 |    2 +-
 net/wimax/op-rfkill.c                           |    2 +-
 sound/pci/emu10k1/emu10k1_main.c                |    2 +-
 34 files changed, 42 insertions(+), 42 deletions(-)
#1 lore raw

PATCH 1/4 Fix typo: [Ss]ytem => [Ss]ystem

Mostly in comments.

---
 Documentation/cgroups/cgroups.txt               |    2 +-
 Documentation/sysfs-rules.txt                   |    2 +-
 Documentation/trace/events.txt                  |    8 ++++----
 drivers/acpi/osl.c                              |    4 ++--
 drivers/macintosh/windfarm_pm81.c               |    2 +-
 drivers/pci/hotplug/cpqphp_core.c               |    2 +-
 drivers/pci/pci.c                               |    2 +-
 drivers/ps3/ps3-sys-manager.c                   |    2 +-
 drivers/regulator/core.c                        |    2 +-
 drivers/s390/char/sclp_cpi_sys.c                |    2 +-
 drivers/scsi/bfa/include/defs/bfa_defs_status.h |    4 ++--
 drivers/staging/iio/Documentation/overview.txt  |    2 +-
 drivers/virtio/virtio_pci.c                     |    2 +-
 kernel/cgroup.c                                 |    2 +-
 mm/page_alloc.c                                 |    2 +-
 net/wimax/op-rfkill.c                           |    2 +-
 sound/pci/emu10k1/emu10k1_main.c                |    2 +-
 17 files changed, 22 insertions(+), 22 deletions(-)
Documentation/cgroups/cgroups.txt +1 -1
index fd588ff..5eb279a 100644
@@ -573,7 +573,7 @@ void cancel_attach(struct cgroup_subsys *ss, struct cgroup *cgrp,
 
 Called when a task attach operation has failed after can_attach() has succeeded.
 A subsystem whose can_attach() has some side-effects should provide this
-function, so that the subsytem can implement a rollback. If not, not necessary.
+function, so that the subsystem can implement a rollback. If not, not necessary.
 This will be called only about subsystems whose can_attach() operation have
 succeeded.
 
Documentation/sysfs-rules.txt +1 -1
index 5d8bc2c..c1a1fd6 100644
@@ -125,7 +125,7 @@ versions of the sysfs interface.
 - Block
   The converted block subsystem at /sys/class/block or
   /sys/subsystem/block will contain the links for disks and partitions
-  at the same level, never in a hierarchy. Assuming the block subsytem to
+  at the same level, never in a hierarchy. Assuming the block subsystem to
   contain only disks and not partition devices in the same flat list is
   a bug in the application.
 
Documentation/trace/events.txt +4 -4
index 02ac6ed..b22000d 100644
@@ -238,7 +238,7 @@ subsystem's filter file.
 
 For convenience, filters for every event in a subsystem can be set or
 cleared as a group by writing a filter expression into the filter file
-at the root of the subsytem.  Note however, that if a filter for any
+at the root of the subsystem.  Note however, that if a filter for any
 event within the subsystem lacks a field specified in the subsystem
 filter, or if the filter can't be applied for any other reason, the
 filter for that event will retain its previous setting.  This can
@@ -250,7 +250,7 @@ fields can be guaranteed to propagate successfully to all events.
 Here are a few subsystem filter examples that also illustrate the
 above points:
 
-Clear the filters on all events in the sched subsytem:
+Clear the filters on all events in the sched subsystem:
 
 # cd /sys/kernel/debug/tracing/events/sched
 # echo 0 > filter
@@ -260,7 +260,7 @@ none
 none
 
 Set a filter using only common fields for all events in the sched
-subsytem (all events end up with the same filter):
+subsystem (all events end up with the same filter):
 
 # cd /sys/kernel/debug/tracing/events/sched
 # echo common_pid == 0 > filter
@@ -270,7 +270,7 @@ common_pid == 0
 common_pid == 0
 
 Attempt to set a filter using a non-common field for all events in the
-sched subsytem (all events but those that have a prev_pid field retain
+sched subsystem (all events but those that have a prev_pid field retain
 their old filters):
 
 # cd /sys/kernel/debug/tracing/events/sched
drivers/acpi/osl.c +2 -2
index 8e6d866..f92531f 100644
@@ -1405,7 +1405,7 @@ acpi_os_invalidate_address(
 	switch (space_id) {
 	case ACPI_ADR_SPACE_SYSTEM_IO:
 	case ACPI_ADR_SPACE_SYSTEM_MEMORY:
-		/* Only interference checks against SystemIO and SytemMemory
+		/* Only interference checks against SystemIO and SystemMemory
 		   are needed */
 		res.start = address;
 		res.end = address + length - 1;
@@ -1457,7 +1457,7 @@ acpi_os_validate_address (
 	switch (space_id) {
 	case ACPI_ADR_SPACE_SYSTEM_IO:
 	case ACPI_ADR_SPACE_SYSTEM_MEMORY:
-		/* Only interference checks against SystemIO and SytemMemory
+		/* Only interference checks against SystemIO and SystemMemory
 		   are needed */
 		res = kzalloc(sizeof(struct acpi_res_list), GFP_KERNEL);
 		if (!res)
drivers/macintosh/windfarm_pm81.c +1 -1
index 565d5b2..129cda7 100644
@@ -188,7 +188,7 @@ struct wf_smu_sys_fans_state {
 };
 
 /*
- * Configs for SMU Sytem Fan control loop
+ * Configs for SMU System Fan control loop
  */
 static struct wf_smu_sys_fans_param wf_smu_sys_all_params[] = {
 	/* Model ID 2 */
drivers/pci/hotplug/cpqphp_core.c +1 -1
index f184d1d..6644337 100644
@@ -848,7 +848,7 @@ static int cpqhpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 		goto err_disable_device;
 	}
 
-	/* Check for the proper subsytem ID's
+	/* Check for the proper subsystem ID's
 	 * Intel uses a different SSID programming model than Compaq.
 	 * For Intel, each SSID bit identifies a PHP capability.
 	 * Also Intel HPC's may have RID=0.
drivers/pci/pci.c +1 -1
index cb1dd5f..ddd55dc 100644
@@ -1506,7 +1506,7 @@ int pci_prepare_to_sleep(struct pci_dev *dev)
  * pci_back_from_sleep - turn PCI device on during system-wide transition into working state
  * @dev: Device to handle.
  *
- * Disable device's sytem wake-up capability and put it into D0.
+ * Disable device's system wake-up capability and put it into D0.
  */
 int pci_back_from_sleep(struct pci_dev *dev)
 {
drivers/ps3/ps3-sys-manager.c +1 -1
index 3cbaf18..d37c445 100644
@@ -119,7 +119,7 @@ enum ps3_sys_manager_service_id {
  * enum ps3_sys_manager_attr - Notification attribute (bit position mask).
  * @PS3_SM_ATTR_POWER: Power button.
  * @PS3_SM_ATTR_RESET: Reset button, not available on retail console.
- * @PS3_SM_ATTR_THERMAL: Sytem thermal alert.
+ * @PS3_SM_ATTR_THERMAL: System thermal alert.
  * @PS3_SM_ATTR_CONTROLLER: Remote controller event.
  * @PS3_SM_ATTR_ALL: Logical OR of all.
  *
drivers/regulator/core.c +1 -1
index c7bbe30..7461f5b 100644
@@ -1538,7 +1538,7 @@ EXPORT_SYMBOL_GPL(regulator_count_voltages);
  * Context: can sleep
  *
  * Returns a voltage that can be passed to @regulator_set_voltage(),
- * zero if this selector code can't be used on this sytem, or a
+ * zero if this selector code can't be used on this system, or a
  * negative errno.
  */
 int regulator_list_voltage(struct regulator *regulator, unsigned selector)
drivers/s390/char/sclp_cpi_sys.c +1 -1
index 62c2647..4a51e3f 100644
@@ -102,7 +102,7 @@ static struct sclp_req *cpi_prepare_req(void)
 	/* set system name */
 	set_data(evb->system_name, system_name);
 
-	/* set sytem level */
+	/* set system level */
 	evb->system_level = system_level;
 
 	/* set sysplex name */
drivers/scsi/bfa/include/defs/bfa_defs_status.h +2 -2
index cdceaeb..03ce033 100644
@@ -223,9 +223,9 @@ enum bfa_status {
 	BFA_STATUS_IM_PVID_NON_ZERO = 140, /*  Port VLAN ID (PVID) is Set to
 					    * Non-Zero Value */
 	BFA_STATUS_IM_INETCFG_LOCK_FAILED = 141, /*  Acquiring Network
-						  * Subsytem Lock Failed.Please
+						  * Subsystem Lock Failed.Please
 						  * try after some time */
-	BFA_STATUS_IM_GET_INETCFG_FAILED = 142, /*  Acquiring Network Subsytem
+	BFA_STATUS_IM_GET_INETCFG_FAILED = 142, /*  Acquiring Network Subsystem
 						 * handle Failed. Please try
 						 * after some time */
 	BFA_STATUS_IM_NOT_BOUND = 143, /*  Brocade 10G Ethernet Service is not
drivers/staging/iio/Documentation/overview.txt +1 -1
index e39dfc1..5018696 100644
@@ -1,6 +1,6 @@
 Overview of IIO
 
-The Industrial I/O subsytem is intended to provide support for devices
+The Industrial I/O subsystem is intended to provide support for devices
 that in some sense are analog to digital convertors (ADCs). As many
 actual devices combine some ADCs with digital to analog convertors
 (DACs) the intention is to add that functionality at a future date
drivers/virtio/virtio_pci.c +1 -1
index 625447f..7210c0d 100644
@@ -654,7 +654,7 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev,
 	/* we use the subsystem vendor/device id as the virtio vendor/device
 	 * id.  this allows us to use the same PCI vendor/device id for all
 	 * virtio devices and to identify the particular virtio driver by
-	 * the subsytem ids */
+	 * the subsystem ids */
 	vp_dev->vdev.id.vendor = pci_dev->subsystem_vendor;
 	vp_dev->vdev.id.device = pci_dev->subsystem_device;
 
kernel/cgroup.c +1 -1
index ef909a3..a3b0f24 100644
@@ -3610,7 +3610,7 @@ static void __init cgroup_init_subsys(struct cgroup_subsys *ss)
  * @ss: the subsystem to load
  *
  * This function should be called in a modular subsystem's initcall. If the
- * subsytem is built as a module, it will be assigned a new subsys_id and set
+ * subsystem is built as a module, it will be assigned a new subsys_id and set
  * up for use. If the subsystem is built-in anyway, work is delegated to the
  * simpler cgroup_init_subsys.
  */
mm/page_alloc.c +1 -1
index d03c946..a6326c7 100644
@@ -2579,7 +2579,7 @@ static int default_zonelist_order(void)
 	struct zone *z;
 	int average_size;
 	/*
-         * ZONE_DMA and ZONE_DMA32 can be very small area in the sytem.
+         * ZONE_DMA and ZONE_DMA32 can be very small area in the system.
 	 * If they are really small and used heavily, the system can fall
 	 * into OOM very easily.
 	 * This function detect ZONE_DMA/DMA32 size and confgigures zone order.
net/wimax/op-rfkill.c +1 -1
index e978c71..2609e44 100644
@@ -43,7 +43,7 @@
  *   wimax_rfkill()             Kernel calling wimax_rfkill()
  *     __wimax_rf_toggle_radio()
  *
- * wimax_rfkill_set_radio_block()  RF-Kill subsytem calling
+ * wimax_rfkill_set_radio_block()  RF-Kill subsystem calling
  *   __wimax_rf_toggle_radio()
  *
  * __wimax_rf_toggle_radio()
sound/pci/emu10k1/emu10k1_main.c +1 -1
index f18bd62..66c7fb3 100644
@@ -1787,7 +1787,7 @@ int __devinit snd_emu10k1_create(struct snd_card *card,
 	else if (subsystem)
 		snd_printdd("Sound card name = %s, "
 			"vendor = 0x%x, device = 0x%x, subsystem = 0x%x. "
-			"Forced to subsytem = 0x%x\n",	c->name,
+			"Forced to subsystem = 0x%x\n",	c->name,
 			pci->vendor, pci->device, emu->serial, c->subsystem);
 	else
 		snd_printdd("Sound card name = %s, "
Signature · 1 line
1.6.4.4
#2 lore raw

PATCH 2/4 Fix typo: udpate => update

In reply to Thomas Weber
---
 Documentation/kbuild/kconfig.txt            |    2 +-
 drivers/firewire/ohci.c                     |    2 +-
 drivers/infiniband/hw/ipath/ipath_iba6110.c |    2 +-
 drivers/infiniband/hw/ipath/ipath_iba6120.c |    4 ++--
 drivers/infiniband/hw/ipath/ipath_iba7220.c |    2 +-
 drivers/isdn/hisax/hfc4s8s_l1.c             |    2 +-
 drivers/staging/rtl8187se/r8180_core.c      |    4 ++--
 drivers/staging/rtl8187se/r8180_dm.c        |    2 +-
 drivers/staging/rtl8187se/r8185b_init.c     |    2 +-
 fs/jfs/jfs_dmap.c                           |    2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)
Documentation/kbuild/kconfig.txt +1 -1
index 49efae7..b2cb16e 100644
@@ -96,7 +96,7 @@ Environment variables for 'silentoldconfig'
 KCONFIG_NOSILENTUPDATE
 --------------------------------------------------
 If this variable has a non-blank value, it prevents silent kernel
-config udpates (requires explicit updates).
+config updates (requires explicit updates).
 
 KCONFIG_AUTOCONFIG
 --------------------------------------------------
drivers/firewire/ohci.c +1 -1
index 75dc698..8e180a2 100644
@@ -1342,7 +1342,7 @@ static void bus_reset_tasklet(unsigned long data)
 	 * was set up before this reset, the old one is now no longer
 	 * in use and we can free it. Update the config rom pointers
 	 * to point to the current config rom and clear the
-	 * next_config_rom pointer so a new udpate can take place.
+	 * next_config_rom pointer so a new update can take place.
 	 */
 
 	if (ohci->next_config_rom != NULL) {
drivers/infiniband/hw/ipath/ipath_iba6110.c +1 -1
index 37d12e5..1d7aea1 100644
@@ -1474,7 +1474,7 @@ static void ipath_ht_quiet_serdes(struct ipath_devdata *dd)
 /**
  * ipath_pe_put_tid - write a TID in chip
  * @dd: the infinipath device
- * @tidptr: pointer to the expected TID (in chip) to udpate
+ * @tidptr: pointer to the expected TID (in chip) to update
  * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected
  * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing
  *
drivers/infiniband/hw/ipath/ipath_iba6120.c +2 -2
index fbf8c53..4b4a30b 100644
@@ -1328,7 +1328,7 @@ bail:
 /**
  * ipath_pe_put_tid - write a TID in chip
  * @dd: the infinipath device
- * @tidptr: pointer to the expected TID (in chip) to udpate
+ * @tidptr: pointer to the expected TID (in chip) to update
  * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected
  * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing
  *
@@ -1394,7 +1394,7 @@ static void ipath_pe_put_tid(struct ipath_devdata *dd, u64 __iomem *tidptr,
 /**
  * ipath_pe_put_tid_2 - write a TID in chip, Revision 2 or higher
  * @dd: the infinipath device
- * @tidptr: pointer to the expected TID (in chip) to udpate
+ * @tidptr: pointer to the expected TID (in chip) to update
  * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected
  * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing
  *
drivers/infiniband/hw/ipath/ipath_iba7220.c +1 -1
index a805402..34b778e 100644
@@ -1738,7 +1738,7 @@ bail:
 /**
  * ipath_7220_put_tid - write a TID to the chip
  * @dd: the infinipath device
- * @tidptr: pointer to the expected TID (in chip) to udpate
+ * @tidptr: pointer to the expected TID (in chip) to update
  * @tidtype: 0 for eager, 1 for expected
  * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing
  *
drivers/isdn/hisax/hfc4s8s_l1.c +1 -1
index ab98e13..7ea0d07 100644
@@ -309,7 +309,7 @@ wait_busy(hfc4s8s_hw * a)
 
 /******************************************************/
 /* function to read critical counter registers that   */
-/* may be udpated by the chip during read             */
+/* may be updated by the chip during read             */
 /******************************************************/
 static u_char
 Read_hfc8_stable(hfc4s8s_hw * hw, int reg)
drivers/staging/rtl8187se/r8180_core.c +2 -2
index b1757ac..54bbf41 100644
@@ -2364,7 +2364,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 				pAcParam = (PAC_PARAM)(&AcParam);
-				// Retrive paramters to udpate.
+				// Retrive paramters to update.
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN *(((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
 				u4bAcParam = ((((u32)(pAcParam->f.TXOPLimit))<<AC_PARAM_TXOP_LIMIT_OFFSET)|
 					      (((u32)(pAcParam->f.Ecw.f.ECWmax))<<AC_PARAM_ECW_MAX_OFFSET)|
@@ -2400,7 +2400,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 			u8		u1bAIFS;
 			u32		u4bAcParam;
 
-			// Retrive paramters to udpate.
+			// Retrive paramters to update.
 			eACI = pAcParam->f.AciAifsn.f.ACI;
 			//Mode G/A: slotTimeTimer = 9; Mode B: 20
 			u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * (((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
drivers/staging/rtl8187se/r8180_dm.c +1 -1
index fc49078..462f46a 100644
@@ -35,7 +35,7 @@ bool CheckHighPower(struct net_device *dev)
 //		See also DoRxHighPower() and SetTxPowerLevel8185() for reference.
 //
 //	Note:
-//		The reason why we udpate Tx power level here instead of DoRxHighPower()
+//		The reason why we update Tx power level here instead of DoRxHighPower()
 //		is the number of IO to change Tx power is much more than channel TR switch
 //		and they are related to OFDM and MAC registers.
 //		So, we don't want to update it so frequently in per-Rx packet base.
drivers/staging/rtl8187se/r8185b_init.c +1 -1
index a0ece1f..519383e 100644
@@ -1128,7 +1128,7 @@ ActUpdateChannelAccessSetting(
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 
-				// Retrive paramters to udpate.
+				// Retrive paramters to update.
 				eACI = pAcParam->f.AciAifsn.f.ACI;
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * ChnlAccessSetting->SlotTimeTimer + aSifsTime;
 				u4bAcParam = (	(((u32)(pAcParam->f.TXOPLimit)) << AC_PARAM_TXOP_LIMIT_OFFSET)	|
fs/jfs/jfs_dmap.c +1 -1
index d9b031c..d13b930 100644
@@ -2437,7 +2437,7 @@ dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level)
 
 	/* check if this is a control page update for an allocation.
 	 * if so, update the leaf to reflect the new leaf value using
-	 * dbSplit(); otherwise (deallocation), use dbJoin() to udpate
+	 * dbSplit(); otherwise (deallocation), use dbJoin() to update
 	 * the leaf with the new value.  in addition to updating the
 	 * leaf, dbSplit() will also split the binary buddy system of
 	 * the leaves, if required, and bubble new values within the
Signature · 1 line
1.6.4.4
Acked-by on v1 2/4
#3 lore raw

Re: [PATCH 2/4] Fix typo: udpate => update

Quoted 4 lines · Thomas Weber
---
 Documentation/kbuild/kconfig.txt            |    2 +-
 drivers/firewire/ohci.c                     |    2 +-

The firewire part is of course

Quoted 5 lines
 drivers/infiniband/hw/ipath/ipath_iba6110.c |    2 +-
 drivers/infiniband/hw/ipath/ipath_iba6120.c |    4 ++--
 drivers/infiniband/hw/ipath/ipath_iba7220.c |    2 +-
 drivers/isdn/hisax/hfc4s8s_l1.c             |    2 +-
 drivers/staging/rtl8187se/r8180_core.c      |    4 ++--

See comment on this part below.

Quoted 2 lines
 drivers/staging/rtl8187se/r8180_dm.c        |    2 +-
 drivers/staging/rtl8187se/r8185b_init.c     |    2 +-

Ditto.

Quoted 3 lines
 fs/jfs/jfs_dmap.c                           |    2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

[...]

drivers/staging/rtl8187se/r8180_core.c void rtl8180_wmm_param_update(struct work_struct * work) · line 2370

Quoted 11 lines
drivers/staging/rtl8187se/r8180_core.c +1 -1
@@ -2364,7 +2364,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 				pAcParam = (PAC_PARAM)(&AcParam);
-				// Retrive paramters to udpate.
+				// Retrive paramters to update.
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN *(((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
 				u4bAcParam = ((((u32)(pAcParam->f.TXOPLimit))<<AC_PARAM_TXOP_LIMIT_OFFSET)|
 					      (((u32)(pAcParam->f.Ecw.f.ECWmax))<<AC_PARAM_ECW_MAX_OFFSET)|

"Retrieve" and "parameters".
(You are fixing "parameters" in patch 3/4 --- why not right here?)

drivers/staging/rtl8187se/r8180_core.c void rtl8180_wmm_param_update(struct work_struct * work) · line 2406

Quoted 9 lines
drivers/staging/rtl8187se/r8180_core.c +1 -1
@@ -2400,7 +2400,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 			u8		u1bAIFS;
 			u32		u4bAcParam;
 
-			// Retrive paramters to udpate.
+			// Retrive paramters to update.
 			eACI = pAcParam->f.AciAifsn.f.ACI;
 			//Mode G/A: slotTimeTimer = 9; Mode B: 20
 			u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * (((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;

Ditto.

drivers/staging/rtl8187se/r8185b_init.c ActUpdateChannelAccessSetting( · line 1134

Quoted 11 lines
drivers/staging/rtl8187se/r8185b_init.c +1 -1
@@ -1128,7 +1128,7 @@ ActUpdateChannelAccessSetting(
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 
-				// Retrive paramters to udpate.
+				// Retrive paramters to update.
 				eACI = pAcParam->f.AciAifsn.f.ACI;
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * ChnlAccessSetting->SlotTimeTimer + aSifsTime;
 				u4bAcParam = (	(((u32)(pAcParam->f.TXOPLimit)) << AC_PARAM_TXOP_LIMIT_OFFSET)	|

Ditto.

By the way, some of the staging drivers are undergoing heavy reformatting, hence it may be better to submit spelling fixes in those separately from non-staging code. (I don't know if this is the case with rtl8187se in particular.)

Signature · 3 lines
Stefan Richter
-=====-==-=- --== -====
http://arcgraph.de/sr/
#4 lore raw

PATCH 3/4 Fix typo: paramters => parameters

In reply to Thomas Weber
---
 drivers/media/dvb/dvb-usb/friio-fe.c         |    2 +-
 drivers/scsi/bfa/include/defs/bfa_defs_cee.h |    2 +-
 drivers/staging/rtl8187se/r8180_core.c       |    4 ++--
 drivers/staging/rtl8187se/r8185b_init.c      |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
drivers/media/dvb/dvb-usb/friio-fe.c +1 -1
index d14bd22..93c21dd 100644
@@ -300,7 +300,7 @@ static int jdvbt90502_set_frontend(struct dvb_frontend *fe,
 				   struct dvb_frontend_parameters *p)
 {
 	/**
-	 * NOTE: ignore all the paramters except frequency.
+	 * NOTE: ignore all the parameters except frequency.
 	 *       others should be fixed to the proper value for ISDB-T,
 	 *       but don't check here.
 	 */
drivers/scsi/bfa/include/defs/bfa_defs_cee.h +1 -1
index 520a22f..6217eec 100644
@@ -54,7 +54,7 @@ struct bfa_cee_lldp_str_s {
 };
 
 
-/* LLDP paramters */
+/* LLDP parameters */
 struct bfa_cee_lldp_cfg_s {
 	struct bfa_cee_lldp_str_s chassis_id;
 	struct bfa_cee_lldp_str_s port_id;
drivers/staging/rtl8187se/r8180_core.c +2 -2
index 54bbf41..7f431ef 100644
@@ -2364,7 +2364,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 				pAcParam = (PAC_PARAM)(&AcParam);
-				// Retrive paramters to update.
+				// Retrive parameters to update.
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN *(((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
 				u4bAcParam = ((((u32)(pAcParam->f.TXOPLimit))<<AC_PARAM_TXOP_LIMIT_OFFSET)|
 					      (((u32)(pAcParam->f.Ecw.f.ECWmax))<<AC_PARAM_ECW_MAX_OFFSET)|
@@ -2400,7 +2400,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 			u8		u1bAIFS;
 			u32		u4bAcParam;
 
-			// Retrive paramters to update.
+			// Retrive parameters to update.
 			eACI = pAcParam->f.AciAifsn.f.ACI;
 			//Mode G/A: slotTimeTimer = 9; Mode B: 20
 			u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * (((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
drivers/staging/rtl8187se/r8185b_init.c +1 -1
index 519383e..f22275e 100644
@@ -1128,7 +1128,7 @@ ActUpdateChannelAccessSetting(
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 
-				// Retrive paramters to update.
+				// Retrive parameters to update.
 				eACI = pAcParam->f.AciAifsn.f.ACI;
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * ChnlAccessSetting->SlotTimeTimer + aSifsTime;
 				u4bAcParam = (	(((u32)(pAcParam->f.TXOPLimit)) << AC_PARAM_TXOP_LIMIT_OFFSET)	|
Signature · 1 line
1.6.4.4
#5 lore raw

Re: [PATCH 3/4] Fix typo: paramters => parameters

Quoted 25 lines · Thomas Weber
drivers/staging/rtl8187se/r8180_core.c +2 -2
@@ -2364,7 +2364,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 				pAcParam = (PAC_PARAM)(&AcParam);
-				// Retrive paramters to update.
+				// Retrive parameters to update.
 				u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN *(((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
 				u4bAcParam = ((((u32)(pAcParam->f.TXOPLimit))<<AC_PARAM_TXOP_LIMIT_OFFSET)|
 					      (((u32)(pAcParam->f.Ecw.f.ECWmax))<<AC_PARAM_ECW_MAX_OFFSET)|
@@ -2400,7 +2400,7 @@ void rtl8180_wmm_param_update(struct work_struct * work)
 			u8		u1bAIFS;
 			u32		u4bAcParam;
 
-			// Retrive paramters to update.
+			// Retrive parameters to update.
 			eACI = pAcParam->f.AciAifsn.f.ACI;
 			//Mode G/A: slotTimeTimer = 9; Mode B: 20
 			u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * (((mode&IEEE_G) == IEEE_G)?9:20) + aSifsTime;
drivers/staging/rtl8187se/r8185b_init.c +0 -0
index 519383e..f22275e 100644

drivers/staging/rtl8187se/r8185b_init.c ActUpdateChannelAccessSetting( · line 1131

Quoted 5 lines
drivers/staging/rtl8187se/r8185b_init.c +1 -1
@@ -1128,7 +1128,7 @@ ActUpdateChannelAccessSetting(
 				u8		u1bAIFS;
 				u32		u4bAcParam;
 
-				// Retrive paramters to update.
+				// Retrive parameters to update.

See my comment on [PATCH 2/4] Fix typo: udpate => update.
- "Retrieve"
- potential conflicts /if/ cleanups are underway in this staging code

Signature · 3 lines
Stefan Richter
-=====-==-=- --== -====
http://arcgraph.de/sr/
#6 lore raw

PATCH 4/4 Fix typo: orginal => original

In reply to Thomas Weber
---
 drivers/ata/ata_piix.c        |    2 +-
 drivers/gpu/drm/drm_bufs.c    |    2 +-
 drivers/net/smsc911x.c        |    4 ++--
 drivers/spi/spi_mpc8xxx.c     |    2 +-
 drivers/staging/rt2860/rtmp.h |    2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
drivers/ata/ata_piix.c +1 -1
index c338066..b1cb8af 100644
@@ -43,7 +43,7 @@
  * driver the list of errata that are relevant is below, going back to
  * PIIX4. Older device documentation is now a bit tricky to find.
  *
- * The chipsets all follow very much the same design. The orginal Triton
+ * The chipsets all follow very much the same design. The original Triton
  * series chipsets do _not_ support independant device timings, but this
  * is fixed in Triton II. With the odd mobile exception the chips then
  * change little except in gaining more modes until SATA arrives. This
drivers/gpu/drm/drm_bufs.c +1 -1
index 8417cc4..8475d58 100644
@@ -960,7 +960,7 @@ int drm_addbufs_pci(struct drm_device * dev, struct drm_buf_desc * request)
 		dma->buflist[i + dma->buf_count] = &entry->buflist[i];
 	}
 
-	/* No allocations failed, so now we can replace the orginal pagelist
+	/* No allocations failed, so now we can replace the original pagelist
 	 * with the new one.
 	 */
 	if (dma->page_count) {
drivers/net/smsc911x.c +2 -2
index 4fd1d8b..eb17598 100644
@@ -737,7 +737,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev)
 			SMSC_TRACE(HW, "configuring for carrier OK");
 			if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) &&
 			    (!pdata->using_extphy)) {
-				/* Restore orginal GPIO configuration */
+				/* Restore original GPIO configuration */
 				pdata->gpio_setting = pdata->gpio_orig_setting;
 				smsc911x_reg_write(pdata, GPIO_CFG,
 					pdata->gpio_setting);
@@ -751,7 +751,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev)
 			if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) &&
 			    (!pdata->using_extphy)) {
 				/* Force 10/100 LED off, after saving
-				 * orginal GPIO configuration */
+				 * original GPIO configuration */
 				pdata->gpio_orig_setting = pdata->gpio_setting;
 
 				pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_;
drivers/spi/spi_mpc8xxx.c +1 -1
index 4f0cc9d..56efdfe 100644
@@ -639,7 +639,7 @@ static int mpc8xxx_spi_setup(struct spi_device *spi)
 	}
 	mpc8xxx_spi = spi_master_get_devdata(spi->master);
 
-	hw_mode = cs->hw_mode; /* Save orginal settings */
+	hw_mode = cs->hw_mode; /* Save original settings */
 	cs->hw_mode = mpc8xxx_spi_read_reg(&mpc8xxx_spi->base->mode);
 	/* mask out bits we are going to set */
 	cs->hw_mode &= ~(SPMODE_CP_BEGIN_EDGECLK | SPMODE_CI_INACTIVEHIGH
drivers/staging/rt2860/rtmp.h +1 -1
index 4401a55..9224dc4 100644
@@ -346,7 +346,7 @@ struct rt_rtmp_sg_list {
 #define LEAP_ON(_p)                 (((_p)->StaCfg.LeapAuthMode) == CISCO_AuthModeLEAP)
 #define LEAP_CCKM_ON(_p)            ((((_p)->StaCfg.LeapAuthMode) == CISCO_AuthModeLEAP) && ((_p)->StaCfg.LeapAuthInfo.CCKM == TRUE))
 
-/* if orginal Ethernet frame contains no LLC/SNAP, then an extra LLC/SNAP encap is required */
+/* if original Ethernet frame contains no LLC/SNAP, then an extra LLC/SNAP encap is required */
 #define EXTRA_LLCSNAP_ENCAP_FROM_PKT_START(_pBufVA, _pExtraLlcSnapEncap)		\
 {																\
 	if (((*(_pBufVA + 12) << 8) + *(_pBufVA + 13)) > 1500)		\
Signature · 1 line
1.6.4.4