You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] Typo fixes
Fix a lot of typos. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ded23ac627
commit
7f927fcc2f
@@ -29,7 +29,7 @@ address is written to $4a, then the whole Byte is written to
|
||||
$48, while it doesn't matter how often you're writing to $4a
|
||||
as long as $48 is not touched. After $48 has been written,
|
||||
the whole card disappears from $e8 and is mapped to the new
|
||||
address just written. Make shure $4a is written before $48,
|
||||
address just written. Make sure $4a is written before $48,
|
||||
otherwise your chance is only 1:16 to find the board :-).
|
||||
|
||||
The local memory-map is even active when mapped to $e8:
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
* would fail and generate an error message in the system log.
|
||||
* - For opt_c: slave should not be set to the master's setting
|
||||
* while it is running. It was already set during enslave. To
|
||||
* simplify things, it is now handeled separately.
|
||||
* simplify things, it is now handled separately.
|
||||
*
|
||||
* - 2003/12/01 - Shmulik Hen <shmulik.hen at intel dot com>
|
||||
* - Code cleanup and style changes
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
|
||||
|
||||
/*
|
||||
* Abort preanble and completion macros.
|
||||
* Abort preamble and completion macros.
|
||||
* If a fixup handler is required then those macros must surround it.
|
||||
* It is assumed that the fixup code will handle the private part of
|
||||
* the exit macro.
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
// enable CTS interrupt
|
||||
#define MOXA_MUST_IER_ECTSI 0x80
|
||||
// eanble RTS interrupt
|
||||
// enable RTS interrupt
|
||||
#define MOXA_MUST_IER_ERTSI 0x40
|
||||
// enable Xon/Xoff interrupt
|
||||
#define MOXA_MUST_IER_XINT 0x20
|
||||
|
||||
@@ -5996,7 +5996,7 @@ static void usc_set_async_mode( struct mgsl_struct *info )
|
||||
* <15..8> ? RxFIFO IRQ Request Level
|
||||
*
|
||||
* Note: For async mode the receive FIFO level must be set
|
||||
* to 0 to aviod the situation where the FIFO contains fewer bytes
|
||||
* to 0 to avoid the situation where the FIFO contains fewer bytes
|
||||
* than the trigger level and no more data is expected.
|
||||
*
|
||||
* <7> 0 Exited Hunt IA (Interrupt Arm)
|
||||
|
||||
@@ -2044,7 +2044,7 @@ static int __init edac_mc_init(void)
|
||||
*/
|
||||
clear_pci_parity_errors();
|
||||
|
||||
/* Create the MC sysfs entires */
|
||||
/* Create the MC sysfs entries */
|
||||
if (edac_sysfs_memctrl_setup()) {
|
||||
edac_printk(KERN_ERR, EDAC_MC,
|
||||
"Error initializing sysfs code\n");
|
||||
|
||||
@@ -812,7 +812,7 @@ static int nsc_ircc_init_39x(nsc_chip_t *chip, chipio_t *info)
|
||||
int cfg_base = info->cfg_base;
|
||||
int enabled;
|
||||
|
||||
/* User is shure about his config... accept it. */
|
||||
/* User is sure about his config... accept it. */
|
||||
IRDA_DEBUG(2, "%s(): nsc_ircc_init_39x (user settings): "
|
||||
"io=0x%04x, irq=%d, dma=%d\n",
|
||||
__FUNCTION__, info->fir_base, info->irq, info->dma);
|
||||
|
||||
@@ -2283,7 +2283,7 @@ static void set_rx_mode(struct net_device *net_dev)
|
||||
int i, table_entries;
|
||||
u32 rx_mode;
|
||||
|
||||
/* 635 Hash Table entires = 256(2^16) */
|
||||
/* 635 Hash Table entries = 256(2^16) */
|
||||
if((sis_priv->chipset_rev >= SIS635A_900_REV) ||
|
||||
(sis_priv->chipset_rev == SIS900B_900_REV))
|
||||
table_entries = 16;
|
||||
|
||||
@@ -513,7 +513,7 @@ struct mii_phy {
|
||||
u_char *rst; /* Start of reset sequence in SROM */
|
||||
u_int mc; /* Media Capabilities */
|
||||
u_int ana; /* NWay Advertisement */
|
||||
u_int fdx; /* Full DupleX capabilites for each media */
|
||||
u_int fdx; /* Full DupleX capabilities for each media */
|
||||
u_int ttm; /* Transmit Threshold Mode for each media */
|
||||
u_int mci; /* 21142 MII Connector Interrupt info */
|
||||
};
|
||||
|
||||
@@ -199,7 +199,7 @@ void pnic2_lnk_change(struct net_device *dev, int csr5)
|
||||
/* negotiation ended successfully */
|
||||
|
||||
/* get the link partners reply and mask out all but
|
||||
* bits 24-21 which show the partners capabilites
|
||||
* bits 24-21 which show the partners capabilities
|
||||
* and match those to what we advertised
|
||||
*
|
||||
* then begin to interpret the results of the negotiation.
|
||||
|
||||
@@ -208,7 +208,7 @@ static const struct typhoon_card_info typhoon_card_info[] __devinitdata = {
|
||||
};
|
||||
|
||||
/* Notes on the new subsystem numbering scheme:
|
||||
* bits 0-1 indicate crypto capabilites: (0) variable, (1) DES, or (2) 3DES
|
||||
* bits 0-1 indicate crypto capabilities: (0) variable, (1) DES, or (2) 3DES
|
||||
* bit 4 indicates if this card has secured firmware (we don't support it)
|
||||
* bit 8 indicates if this is a (0) copper or (1) fiber card
|
||||
* bits 12-16 indicate card type: (0) client and (1) server
|
||||
@@ -788,7 +788,7 @@ typhoon_start_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
/* we have two rings to choose from, but we only use txLo for now
|
||||
* If we start using the Hi ring as well, we'll need to update
|
||||
* typhoon_stop_runtime(), typhoon_interrupt(), typhoon_num_free_tx(),
|
||||
* and TXHI_ENTIRES to match, as well as update the TSO code below
|
||||
* and TXHI_ENTRIES to match, as well as update the TSO code below
|
||||
* to get the right DMA address
|
||||
*/
|
||||
txRing = &tp->txLoRing;
|
||||
|
||||
@@ -3858,7 +3858,7 @@ static int orinoco_ioctl_setscan(struct net_device *dev,
|
||||
unsigned long flags;
|
||||
|
||||
/* Note : you may have realised that, as this is a SET operation,
|
||||
* this is priviledged and therefore a normal user can't
|
||||
* this is privileged and therefore a normal user can't
|
||||
* perform scanning.
|
||||
* This is not an error, while the device perform scanning,
|
||||
* traffic doesn't flow, so it's a perfect DoS...
|
||||
|
||||
@@ -747,7 +747,7 @@ prism54_get_essid(struct net_device *ndev, struct iw_request_info *info,
|
||||
|
||||
if (essid->length) {
|
||||
dwrq->flags = 1; /* set ESSID to ON for Wireless Extensions */
|
||||
/* if it is to big, trunk it */
|
||||
/* if it is too big, trunk it */
|
||||
dwrq->length = min((u8)IW_ESSID_MAX_SIZE, essid->length);
|
||||
} else {
|
||||
dwrq->flags = 0;
|
||||
|
||||
@@ -1026,7 +1026,7 @@ static void twa_free_request_id(TW_Device_Extension *tw_dev, int request_id)
|
||||
tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH;
|
||||
} /* End twa_free_request_id() */
|
||||
|
||||
/* This function will get parameter table entires from the firmware */
|
||||
/* This function will get parameter table entries from the firmware */
|
||||
static void *twa_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter_id, int parameter_size_bytes)
|
||||
{
|
||||
TW_Command_Full *full_command_packet;
|
||||
|
||||
@@ -1528,7 +1528,7 @@ static int serial8250_startup(struct uart_port *port)
|
||||
|
||||
/*
|
||||
* Clear the FIFO buffers and disable them.
|
||||
* (they will be reeanbled in set_termios())
|
||||
* (they will be reenabled in set_termios())
|
||||
*/
|
||||
serial8250_clear_fifos(up);
|
||||
|
||||
|
||||
@@ -483,7 +483,7 @@ static int serial_txx9_startup(struct uart_port *port)
|
||||
|
||||
/*
|
||||
* Clear the FIFO buffers and disable them.
|
||||
* (they will be reeanbled in set_termios())
|
||||
* (they will be reenabled in set_termios())
|
||||
*/
|
||||
sio_set(up, TXX9_SIFCR,
|
||||
TXX9_SIFCR_TFRST | TXX9_SIFCR_RFRST | TXX9_SIFCR_FRSTE);
|
||||
|
||||
@@ -641,7 +641,7 @@ static int sunsu_startup(struct uart_port *port)
|
||||
|
||||
/*
|
||||
* Clear the FIFO buffers and disable them.
|
||||
* (they will be reeanbled in set_termios())
|
||||
* (they will be reenabled in set_termios())
|
||||
*/
|
||||
if (uart_config[up->port.type].flags & UART_CLEAR_FIFO) {
|
||||
serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO);
|
||||
|
||||
@@ -158,7 +158,7 @@ static int ohci_s3c2410_hub_control (
|
||||
"s3c2410_hub_control(%p,0x%04x,0x%04x,0x%04x,%p,%04x)\n",
|
||||
hcd, typeReq, wValue, wIndex, buf, wLength);
|
||||
|
||||
/* if we are only an humble host without any special capabilites
|
||||
/* if we are only an humble host without any special capabilities
|
||||
* process the request straight away and exit */
|
||||
|
||||
if (info == NULL) {
|
||||
|
||||
@@ -217,7 +217,7 @@ static int blan_mdlm_bind(struct usbnet *dev, struct usb_interface *intf)
|
||||
* with devices that use it and those that don't.
|
||||
*/
|
||||
if ((detail->bDetailData[1] & ~0x02) != 0x01) {
|
||||
/* bmDataCapabilites == 0 would be fine too,
|
||||
/* bmDataCapabilities == 0 would be fine too,
|
||||
* but framing is minidriver-coupled for now.
|
||||
*/
|
||||
bad_detail:
|
||||
|
||||
+1
-1
@@ -311,7 +311,7 @@ fail:
|
||||
/*
|
||||
* mb_cache_shrink()
|
||||
*
|
||||
* Removes all cache entires of a device from the cache. All cache entries
|
||||
* Removes all cache entries of a device from the cache. All cache entries
|
||||
* currently in use cannot be freed, and thus remain in the cache. All others
|
||||
* are freed.
|
||||
*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user