mirror of
https://github.com/adulau/aha.git
synced 2024-12-26 02:36:11 +00:00
trivial: fix typo "to to" in multiple files
Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
4f37940d64
commit
fd589a8f0a
32 changed files with 35 additions and 35 deletions
|
@ -34,5 +34,5 @@ Fan rotation speeds are reported as 14-bit values from a gated clock
|
|||
signal. Speeds down to 83 RPM can be measured.
|
||||
|
||||
An alarm is triggered if the rotation speed drops below a programmable
|
||||
limit. Another alarm is triggered if the speed is too low to to be measured
|
||||
limit. Another alarm is triggered if the speed is too low to be measured
|
||||
(including stalled or missing fan).
|
||||
|
|
|
@ -96,7 +96,7 @@ Example code - drivers hinting an alpha2:
|
|||
|
||||
This example comes from the zd1211rw device driver. You can start
|
||||
by having a mapping of your device's EEPROM country/regulatory
|
||||
domain value to to a specific alpha2 as follows:
|
||||
domain value to a specific alpha2 as follows:
|
||||
|
||||
static struct zd_reg_alpha2_map reg_alpha2_map[] = {
|
||||
{ ZD_REGDOMAIN_FCC, "US" },
|
||||
|
|
|
@ -378,7 +378,7 @@ Vport Disable/Enable:
|
|||
int vport_disable(struct fc_vport *vport, bool disable)
|
||||
|
||||
where:
|
||||
vport: Is vport to to be enabled or disabled
|
||||
vport: Is vport to be enabled or disabled
|
||||
disable: If "true", the vport is to be disabled.
|
||||
If "false", the vport is to be enabled.
|
||||
|
||||
|
|
|
@ -1270,7 +1270,7 @@ putreg (struct task_struct *child, int regno, unsigned int value)
|
|||
case PT_CS:
|
||||
if (value != __USER_CS)
|
||||
printk(KERN_ERR
|
||||
"ia32.putreg: attempt to to set invalid segment register %d = %x\n",
|
||||
"ia32.putreg: attempt to set invalid segment register %d = %x\n",
|
||||
regno, value);
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -29,7 +29,7 @@ extern int ptrace_setregs(long pid, unsigned long *regs_in);
|
|||
* recompilation. So, we use PTRACE_OLDSETOPTIONS in UML.
|
||||
* We also want to be able to build the kernel on 2.4, which doesn't
|
||||
* have PTRACE_OLDSETOPTIONS. So, if it is missing, we declare
|
||||
* PTRACE_OLDSETOPTIONS to to be the same as PTRACE_SETOPTIONS.
|
||||
* PTRACE_OLDSETOPTIONS to be the same as PTRACE_SETOPTIONS.
|
||||
*
|
||||
* On architectures, that start to support PTRACE_O_TRACESYSGOOD on
|
||||
* linux 2.6, PTRACE_OLDSETOPTIONS never is defined, and also isn't
|
||||
|
|
|
@ -270,7 +270,7 @@ static void uninorth_agp_enable(struct agp_bridge_data *bridge, u32 mode)
|
|||
|
||||
if ((uninorth_rev >= 0x30) && (uninorth_rev <= 0x33)) {
|
||||
/*
|
||||
* We need to to set REQ_DEPTH to 7 for U3 versions 1.0, 2.1,
|
||||
* We need to set REQ_DEPTH to 7 for U3 versions 1.0, 2.1,
|
||||
* 2.2 and 2.3, Darwin do so.
|
||||
*/
|
||||
if ((command >> AGPSTAT_RQ_DEPTH_SHIFT) > 7)
|
||||
|
|
|
@ -239,7 +239,7 @@ static __inline__ void mga_g200_emit_pipe(drm_mga_private_t * dev_priv)
|
|||
MGA_WR34, 0x00000000,
|
||||
MGA_WR42, 0x0000ffff, MGA_WR60, 0x0000ffff);
|
||||
|
||||
/* Padding required to to hardware bug.
|
||||
/* Padding required due to hardware bug.
|
||||
*/
|
||||
DMA_BLOCK(MGA_DMAPAD, 0xffffffff,
|
||||
MGA_DMAPAD, 0xffffffff,
|
||||
|
@ -317,7 +317,7 @@ static __inline__ void mga_g400_emit_pipe(drm_mga_private_t * dev_priv)
|
|||
MGA_WR52, MGA_G400_WR_MAGIC, /* tex1 width */
|
||||
MGA_WR60, MGA_G400_WR_MAGIC); /* tex1 height */
|
||||
|
||||
/* Padding required to to hardware bug */
|
||||
/* Padding required due to hardware bug */
|
||||
DMA_BLOCK(MGA_DMAPAD, 0xffffffff,
|
||||
MGA_DMAPAD, 0xffffffff,
|
||||
MGA_DMAPAD, 0xffffffff,
|
||||
|
|
|
@ -894,7 +894,7 @@ void guest_set_pte(struct lg_cpu *cpu,
|
|||
* tells us they've changed. When the Guest tries to use the new entry it will
|
||||
* fault and demand_page() will fix it up.
|
||||
*
|
||||
* So with that in mind here's our code to to update a (top-level) PGD entry:
|
||||
* So with that in mind here's our code to update a (top-level) PGD entry:
|
||||
*/
|
||||
void guest_set_pgd(struct lguest *lg, unsigned long gpgdir, u32 idx)
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@ int m5602_read_bridge(struct sd *sd, const u8 address, u8 *i2c_data)
|
|||
return (err < 0) ? err : 0;
|
||||
}
|
||||
|
||||
/* Writes a byte to to the m5602 */
|
||||
/* Writes a byte to the m5602 */
|
||||
int m5602_write_bridge(struct sd *sd, const u8 address, const u8 i2c_data)
|
||||
{
|
||||
int err;
|
||||
|
|
|
@ -512,7 +512,7 @@ static void mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat)
|
|||
}
|
||||
|
||||
/* For the DMA case the DMA engine handles the data transfer
|
||||
* automatically. For non DMA we have to to it ourselves.
|
||||
* automatically. For non DMA we have to do it ourselves.
|
||||
* Don't do it in interrupt context though.
|
||||
*/
|
||||
if (!mxcmci_use_dma(host) && host->data)
|
||||
|
|
|
@ -184,7 +184,7 @@ static int ixp2000_flash_probe(struct platform_device *dev)
|
|||
info->map.bankwidth = 1;
|
||||
|
||||
/*
|
||||
* map_priv_2 is used to store a ptr to to the bank_setup routine
|
||||
* map_priv_2 is used to store a ptr to the bank_setup routine
|
||||
*/
|
||||
info->map.map_priv_2 = (unsigned long) ixp_data->bank_setup;
|
||||
|
||||
|
|
|
@ -1065,7 +1065,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to,
|
|||
}
|
||||
|
||||
/*
|
||||
* Now we have got to calculate how much data we have to to copy. In
|
||||
* Now we have got to calculate how much data we have to copy. In
|
||||
* case of a static volume it is fairly easy - the VID header contains
|
||||
* the data size. In case of a dynamic volume it is more difficult - we
|
||||
* have to read the contents, cut 0xFF bytes from the end and copy only
|
||||
|
|
|
@ -570,7 +570,7 @@ void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol,
|
|||
|
||||
/*
|
||||
* ubi_rb_for_each_entry - walk an RB-tree.
|
||||
* @rb: a pointer to type 'struct rb_node' to to use as a loop counter
|
||||
* @rb: a pointer to type 'struct rb_node' to use as a loop counter
|
||||
* @pos: a pointer to RB-tree entry type to use as a loop counter
|
||||
* @root: RB-tree's root
|
||||
* @member: the name of the 'struct rb_node' within the RB-tree entry
|
||||
|
|
|
@ -1987,7 +1987,7 @@ void bond_3ad_unbind_slave(struct slave *slave)
|
|||
// find new aggregator for the related port(s)
|
||||
new_aggregator = __get_first_agg(port);
|
||||
for (; new_aggregator; new_aggregator = __get_next_agg(new_aggregator)) {
|
||||
// if the new aggregator is empty, or it connected to to our port only
|
||||
// if the new aggregator is empty, or it is connected to our port only
|
||||
if (!new_aggregator->lag_ports || ((new_aggregator->lag_ports == port) && !new_aggregator->lag_ports->next_port_in_aggregator)) {
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -3035,7 +3035,7 @@ s32 e1000_check_for_link(struct e1000_hw *hw)
|
|||
/* If TBI compatibility is was previously off, turn it on. For
|
||||
* compatibility with a TBI link partner, we will store bad
|
||||
* packets. Some frames have an additional byte on the end and
|
||||
* will look like CRC errors to to the hardware.
|
||||
* will look like CRC errors to the hardware.
|
||||
*/
|
||||
if (!hw->tbi_compatibility_on) {
|
||||
hw->tbi_compatibility_on = true;
|
||||
|
|
|
@ -368,7 +368,7 @@ error:
|
|||
return r;
|
||||
}
|
||||
|
||||
/* MAC address: if custom mac addresses are to to be used CR_MAC_ADDR_P1 and
|
||||
/* MAC address: if custom mac addresses are to be used CR_MAC_ADDR_P1 and
|
||||
* CR_MAC_ADDR_P2 must be overwritten
|
||||
*/
|
||||
int zd_write_mac_addr(struct zd_chip *chip, const u8 *mac_addr)
|
||||
|
|
|
@ -718,7 +718,7 @@ megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp,
|
|||
* megasas_build_ldio - Prepares IOs to logical devices
|
||||
* @instance: Adapter soft state
|
||||
* @scp: SCSI command
|
||||
* @cmd: Command to to be prepared
|
||||
* @cmd: Command to be prepared
|
||||
*
|
||||
* Frames (and accompanying SGLs) for regular SCSI IOs use this function.
|
||||
*/
|
||||
|
|
|
@ -1422,7 +1422,7 @@ static void qla4xxx_slave_destroy(struct scsi_device *sdev)
|
|||
/**
|
||||
* qla4xxx_del_from_active_array - returns an active srb
|
||||
* @ha: Pointer to host adapter structure.
|
||||
* @index: index into to the active_array
|
||||
* @index: index into the active_array
|
||||
*
|
||||
* This routine removes and returns the srb at the specified index
|
||||
**/
|
||||
|
@ -1500,7 +1500,7 @@ static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha)
|
|||
|
||||
/**
|
||||
* qla4xxx_eh_wait_for_commands - wait for active cmds to finish.
|
||||
* @ha: pointer to to HBA
|
||||
* @ha: pointer to HBA
|
||||
* @t: target id
|
||||
* @l: lun id
|
||||
*
|
||||
|
|
|
@ -2060,7 +2060,7 @@ typedef struct _STA_ADMIN_CONFIG {
|
|||
BOOLEAN AdhocBGJoined; // Indicate Adhoc B/G Join.
|
||||
BOOLEAN Adhoc20NJoined; // Indicate Adhoc 20MHz N Join.
|
||||
#endif
|
||||
// New for WPA, windows want us to to keep association information and
|
||||
// New for WPA, windows want us to keep association information and
|
||||
// Fixed IEs from last association response
|
||||
NDIS_802_11_ASSOCIATION_INFORMATION AssocInfo;
|
||||
USHORT ReqVarIELen; // Length of next VIE include EID & Length
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#define UART_RI 0x10 /* ring indicator - modem - device to host */
|
||||
#define UART_CD 0x40 /* carrier detect - modem - device to host */
|
||||
#define CYP_ERROR 0x08 /* received from input report - device to host */
|
||||
/* Note - the below has nothing to to with the "feature report" reset */
|
||||
/* Note - the below has nothing to do with the "feature report" reset */
|
||||
#define CONTROL_RESET 0x08 /* sent with output report - host to device */
|
||||
|
||||
/* End of RS-232 protocol definitions */
|
||||
|
|
|
@ -2540,7 +2540,7 @@ static int calc_baud_rate_divisor(int baudrate, int *divisor)
|
|||
|
||||
/*****************************************************************************
|
||||
* send_cmd_write_uart_register
|
||||
* this function builds up a uart register message and sends to to the device.
|
||||
* this function builds up a uart register message and sends to the device.
|
||||
*****************************************************************************/
|
||||
static int send_cmd_write_uart_register(struct edgeport_port *edge_port,
|
||||
__u8 regNum, __u8 regValue)
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
* 0.3a - implemented pools of write URBs
|
||||
* 0.3 - alpha version for public testing
|
||||
* 0.2 - TIOCMGET works, so autopilot(1) can be used!
|
||||
* 0.1 - can be used to to pilot-xfer -p /dev/ttyUSB0 -l
|
||||
* 0.1 - can be used to do pilot-xfer -p /dev/ttyUSB0 -l
|
||||
*
|
||||
* The driver skeleton is mainly based on mct_u232.c and various other
|
||||
* pieces of code shamelessly copied from the drivers/usb/serial/ directory.
|
||||
|
|
|
@ -2337,7 +2337,7 @@ static int __mpage_da_writepage(struct page *page,
|
|||
/*
|
||||
* Rest of the page in the page_vec
|
||||
* redirty then and skip then. We will
|
||||
* try to to write them again after
|
||||
* try to write them again after
|
||||
* starting a new transaction
|
||||
*/
|
||||
redirty_page_for_writepage(wbc, page);
|
||||
|
|
|
@ -179,7 +179,7 @@ static inline u64 gfs2_bit_search(const __le64 *ptr, u64 mask, u8 state)
|
|||
* always aligned to a 64 bit boundary.
|
||||
*
|
||||
* The size of the buffer is in bytes, but is it assumed that it is
|
||||
* always ok to to read a complete multiple of 64 bits at the end
|
||||
* always ok to read a complete multiple of 64 bits at the end
|
||||
* of the block in case the end is no aligned to a natural boundary.
|
||||
*
|
||||
* Return: the block number (bitmap buffer scope) that was found
|
||||
|
|
|
@ -829,7 +829,7 @@ enum {
|
|||
/* Note, FILE_ATTR_VALID_SET_FLAGS masks out the old DOS VolId, the
|
||||
F_A_DEVICE, F_A_DIRECTORY, F_A_SPARSE_FILE, F_A_REPARSE_POINT,
|
||||
F_A_COMPRESSED, and F_A_ENCRYPTED and preserves the rest. This mask
|
||||
is used to to obtain all flags that are valid for setting. */
|
||||
is used to obtain all flags that are valid for setting. */
|
||||
/*
|
||||
* The flag FILE_ATTR_DUP_FILENAME_INDEX_PRESENT is present in all
|
||||
* FILENAME_ATTR attributes but not in the STANDARD_INFORMATION
|
||||
|
|
|
@ -288,7 +288,7 @@ typedef u32 acpi_physical_address;
|
|||
/*
|
||||
* Some compilers complain about unused variables. Sometimes we don't want to
|
||||
* use all the variables (for example, _acpi_module_name). This allows us
|
||||
* to to tell the compiler in a per-variable manner that a variable
|
||||
* to tell the compiler in a per-variable manner that a variable
|
||||
* is unused
|
||||
*/
|
||||
#ifndef ACPI_UNUSED_VAR
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
/*
|
||||
* Some compilers complain about unused variables. Sometimes we don't want to
|
||||
* use all the variables (for example, _acpi_module_name). This allows us
|
||||
* to to tell the compiler warning in a per-variable manner that a variable
|
||||
* to tell the compiler warning in a per-variable manner that a variable
|
||||
* is unused.
|
||||
*/
|
||||
#define ACPI_UNUSED_VAR __attribute__ ((unused))
|
||||
|
|
|
@ -482,7 +482,7 @@ int ib_send_cm_rej(struct ib_cm_id *cm_id,
|
|||
* message.
|
||||
* @cm_id: Connection identifier associated with the connection message.
|
||||
* @service_timeout: The lower 5-bits specify the maximum time required for
|
||||
* the sender to reply to to the connection message. The upper 3-bits
|
||||
* the sender to reply to the connection message. The upper 3-bits
|
||||
* specify additional control flags.
|
||||
* @private_data: Optional user-defined private data sent with the
|
||||
* message receipt acknowledgement.
|
||||
|
|
|
@ -48,7 +48,7 @@ static struct hlist_head tracepoint_table[TRACEPOINT_TABLE_SIZE];
|
|||
|
||||
/*
|
||||
* Note about RCU :
|
||||
* It is used to to delay the free of multiple probes array until a quiescent
|
||||
* It is used to delay the free of multiple probes array until a quiescent
|
||||
* state is reached.
|
||||
* Tracepoint entries modifications are protected by the tracepoints_mutex.
|
||||
*/
|
||||
|
|
|
@ -135,7 +135,7 @@ static const config configuration_table[10] = {
|
|||
|
||||
/* ===========================================================================
|
||||
* Update a hash value with the given input byte
|
||||
* IN assertion: all calls to to UPDATE_HASH are made with consecutive
|
||||
* IN assertion: all calls to UPDATE_HASH are made with consecutive
|
||||
* input characters, so that a running hash key can be computed from the
|
||||
* previous key instead of complete recalculation each time.
|
||||
*/
|
||||
|
@ -146,7 +146,7 @@ static const config configuration_table[10] = {
|
|||
* Insert string str in the dictionary and set match_head to the previous head
|
||||
* of the hash chain (the most recent string with same hash key). Return
|
||||
* the previous length of the hash chain.
|
||||
* IN assertion: all calls to to INSERT_STRING are made with consecutive
|
||||
* IN assertion: all calls to INSERT_STRING are made with consecutive
|
||||
* input characters and the first MIN_MATCH bytes of str are valid
|
||||
* (except for the last MIN_MATCH-1 bytes of the input file).
|
||||
*/
|
||||
|
|
|
@ -96,7 +96,7 @@ static struct rxrpc_call *rxrpc_alloc_call(gfp_t gfp)
|
|||
}
|
||||
|
||||
/*
|
||||
* allocate a new client call and attempt to to get a connection slot for it
|
||||
* allocate a new client call and attempt to get a connection slot for it
|
||||
*/
|
||||
static struct rxrpc_call *rxrpc_alloc_client_call(
|
||||
struct rxrpc_sock *rx,
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
* The service curve parameters are converted to the internal
|
||||
* representation. The slope values are scaled to avoid overflow.
|
||||
* the inverse slope values as well as the y-projection of the 1st
|
||||
* segment are kept in order to to avoid 64-bit divide operations
|
||||
* segment are kept in order to avoid 64-bit divide operations
|
||||
* that are expensive on 32-bit architectures.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue