Skip to content

Commit

Permalink
trivial: fix an -> a typos in documentation and comments
Browse files Browse the repository at this point in the history
It is always "an" if there is a vowel _spoken_ (not written).
So it is:
"an hour" (spoken vowel)
but
"a uniform" (spoken 'j')

Signed-off-by: Frederik Schwarzer <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
Frederik Schwarzer authored and Jiri Kosina committed Jan 6, 2009
1 parent 025dfda commit 0211a9c
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Documentation/dell_rbu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ Until this step is completed the driver cannot be unloaded.
Also echoing either mono ,packet or init in to image_type will free up the
memory allocated by the driver.

If an user by accident executes steps 1 and 3 above without executing step 2;
it will make the /sys/class/firmware/dell_rbu/ entries to disappear.
If a user by accident executes steps 1 and 3 above without executing step 2;
it will make the /sys/class/firmware/dell_rbu/ entries disappear.
The entries can be recreated by doing the following
echo init > /sys/devices/platform/dell_rbu/image_type
NOTE: echoing init in image_type does not change it original value.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/laptops/thinkpad-acpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ Sysfs interface changelog:

0x020100: Marker for thinkpad-acpi with hot key NVRAM polling
support. If you must, use it to know you should not
start an userspace NVRAM poller (allows to detect when
start a userspace NVRAM poller (allows to detect when
NVRAM is compiled out by the user because it is
unneeded/undesired in the first place).
0x020101: Marker for thinkpad-acpi with hot key NVRAM polling
Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/tuntap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ As mentioned above, main purpose of TUN/TAP driver is tunneling.
It is used by VTun (http://vtun.sourceforge.net).

Another interesting application using TUN/TAP is pipsecd
(http://perso.enst.fr/~beyssac/pipsec/), an userspace IPSec
(http://perso.enst.fr/~beyssac/pipsec/), a userspace IPSec
implementation that can use complete kernel routing (unlike FreeS/WAN).

3. How does Virtual network device actually work ?
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static inline void do_040writebacks(struct frame *fp)
* called from sigreturn(), must ensure userspace code didn't
* manipulate exception frame to circumvent protection, then complete
* pending writebacks
* we just clear TM2 to turn it into an userspace access
* we just clear TM2 to turn it into a userspace access
*/
asmlinkage void berr_040cleanup(struct frame *fp)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/acpi/executer/exprep.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc,
*
* RETURN: Status
*
* DESCRIPTION: Construct an union acpi_operand_object of type def_field and
* DESCRIPTION: Construct a union acpi_operand_object of type def_field and
* connect it to the parent Node.
*
******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/acpi/executer/exresolv.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,

stack_desc = *stack_ptr;

/* This is an union acpi_operand_object */
/* This is a union acpi_operand_object */

switch (ACPI_GET_OBJECT_TYPE(stack_desc)) {
case ACPI_TYPE_LOCAL_REFERENCE:
Expand Down
2 changes: 1 addition & 1 deletion drivers/acpi/executer/exstore.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ acpi_ex_do_debug_object(union acpi_operand_object *source_desc,
*
* PARAMETERS: *source_desc - Value to be stored
* *dest_desc - Where to store it. Must be an NS node
* or an union acpi_operand_object of type
* or a union acpi_operand_object of type
* Reference;
* walk_state - Current walk state
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/acpi/resources/rscreate.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ acpi_rs_create_resource_list(union acpi_operand_object *aml_buffer,
*
* FUNCTION: acpi_rs_create_pci_routing_table
*
* PARAMETERS: package_object - Pointer to an union acpi_operand_object
* PARAMETERS: package_object - Pointer to a union acpi_operand_object
* package
* output_buffer - Pointer to the user's buffer
*
Expand Down
4 changes: 2 additions & 2 deletions drivers/acpi/utilities/utobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size)
*
* RETURN: TRUE if object is valid, FALSE otherwise
*
* DESCRIPTION: Validate a pointer to be an union acpi_operand_object
* DESCRIPTION: Validate a pointer to be a union acpi_operand_object
*
******************************************************************************/

Expand Down Expand Up @@ -389,7 +389,7 @@ void acpi_ut_delete_object_desc(union acpi_operand_object *object)
{
ACPI_FUNCTION_TRACE_PTR(ut_delete_object_desc, object);

/* Object must be an union acpi_operand_object */
/* Object must be a union acpi_operand_object */

if (ACPI_GET_DESCRIPTOR_TYPE(object) != ACPI_DESC_TYPE_OPERAND) {
ACPI_ERROR((AE_INFO,
Expand Down
2 changes: 1 addition & 1 deletion drivers/char/epca.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ static int pc_open(struct tty_struct *tty, struct file *filp)
/* Check status of board configured in system. */

/*
* I check to see if the epca_setup routine detected an user error. It
* I check to see if the epca_setup routine detected a user error. It
* might be better to put this in pc_init, but for the moment it goes
* here.
*/
Expand Down
4 changes: 2 additions & 2 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
select CPU_FREQ_GOV_USERSPACE
help
Use the CPUFreq governor 'userspace' as default. This allows
you to set the CPU frequency manually or when an userspace
you to set the CPU frequency manually or when a userspace
program shall be able to set the CPU dynamically without having
to enable the userspace governor manually.

Expand Down Expand Up @@ -138,7 +138,7 @@ config CPU_FREQ_GOV_USERSPACE
tristate "'userspace' governor for userspace frequency scaling"
help
Enable this cpufreq governor when you either want to set the
CPU frequency manually or when an userspace program shall
CPU frequency manually or when a userspace program shall
be able to set the CPU dynamically, like on LART
<http://www.lartmaker.nl/>.

Expand Down
2 changes: 1 addition & 1 deletion drivers/input/keyboard/atkbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ MODULE_PARM_DESC(extra, "Enable extra LEDs and keys on IBM RapidAcces, EzKey and

/*
* Scancode to keycode tables. These are just the default setting, and
* are loadable via an userland utility.
* are loadable via a userland utility.
*/

static const unsigned short atkbd_set2_keycode[512] = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/macintosh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ config PMAC_BACKLIGHT
Say Y here to enable Macintosh specific extensions of the generic
backlight code. With this enabled, the brightness keys on older
PowerBooks will be enabled so you can change the screen brightness.
Newer models should use an userspace daemon like pbbuttonsd.
Newer models should use a userspace daemon like pbbuttonsd.

config PMAC_BACKLIGHT_LEGACY
bool "Provide legacy ioctl's on /dev/pmu for the backlight"
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/phantom.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* You need an userspace library to cooperate with this driver. It (and other
* You need a userspace library to cooperate with this driver. It (and other
* info) may be obtained here:
* http://www.fi.muni.cz/~xslaby/phantom.html
* or alternatively, you might use OpenHaptics provided by Sensable.
Expand Down
2 changes: 1 addition & 1 deletion fs/ncpfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct compat_ncp_objectname_ioctl
{
s32 auth_type;
u32 object_name_len;
compat_caddr_t object_name; /* an userspace data, in most cases user name */
compat_caddr_t object_name; /* a userspace data, in most cases user name */
};

struct compat_ncp_fs_info_v2 {
Expand Down
4 changes: 2 additions & 2 deletions include/acpi/acmacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ struct acpi_integer_overlay {
#define ACPI_INSERT_BITS(target, mask, source) target = ((target & (~(mask))) | (source & mask))

/*
* An struct acpi_namespace_node can appear in some contexts
* where a pointer to an union acpi_operand_object can also
* A struct acpi_namespace_node can appear in some contexts
* where a pointer to a union acpi_operand_object can also
* appear. This macro is used to distinguish them.
*
* The "Descriptor" field is the first field in both structures.
Expand Down
2 changes: 1 addition & 1 deletion include/acpi/actypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ typedef u32 acpi_object_type;

/*
* These are special object types that never appear in
* a Namespace node, only in an union acpi_operand_object
* a Namespace node, only in a union acpi_operand_object
*/
#define ACPI_TYPE_LOCAL_EXTRA 0x1C
#define ACPI_TYPE_LOCAL_DATA 0x1D
Expand Down
2 changes: 1 addition & 1 deletion include/linux/ncp_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct ncp_objectname_ioctl
#define NCP_AUTH_NDS 0x32
int auth_type;
size_t object_name_len;
void __user * object_name; /* an userspace data, in most cases user name */
void __user * object_name; /* a userspace data, in most cases user name */
};

struct ncp_privatedata_ioctl
Expand Down
2 changes: 1 addition & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,7 @@ static int calculate_sizes(struct kmem_cache *s, int forced_order)
* Add some empty padding so that we can catch
* overwrites from earlier objects rather than let
* tracking information or the free pointer be
* corrupted if an user writes before the start
* corrupted if a user writes before the start
* of the object.
*/
size += sizeof(void *);
Expand Down
2 changes: 1 addition & 1 deletion sound/oss/aedsp16.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
Started Fri Mar 17 16:13:18 MET 1995
v0.1 (ALPHA, was an user-level program called AudioExcelDSP16.c)
v0.1 (ALPHA, was a user-level program called AudioExcelDSP16.c)
- Initial code.
v0.2 (ALPHA)
- Cleanups.
Expand Down

0 comments on commit 0211a9c

Please sign in to comment.