Skip to contentSkip to conversation

2.4 Trivial patches

PATCH New Rusty Russell 1 participant 1 message Feb 18, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4 Trivial patches

Hi Marcelo,

Just three trivial patches this week for 2.4. Do you prefer
them one at a time, or is this OK?

Trivial patch update against 2.4.18-rc1:
"Jahn Veach" <[email protected]>: [PATCH 2.5.4] Typo corrections:
This applies to 2.5.4. It fixes various typos that I've looked for and corrected. Not sure how many of these still exist in 2.5.5-pre1. I'll send another one out if I can finish up this Perl script to go through and automatically correct some of the more numerous typos (such as 'existant').

Andrey Panin <[email protected]>: [PATCH] remove annoying ISAPNP message:
This patch removes useless messages like:
"isapnp: Calling quirk for 02:00".

These were debug messages some years ago and IMHO totally useless now.

Ren� Scharfe <[email protected]>: [PATCH] compiler warnings in scripts_tkgen.c:
this patch fixes two compiler warnings during make xconfig which turn up if one uses -Wshadow

home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/networking/arcnet-hardware.txt renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/networking/arcnet-hardware.txt +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/networking/arcnet-hardware.txt /home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/networking/arcnet-hardware.txt
@@ -2256,7 +2256,7 @@
 When I got my two cards, one of them had this switch set to "enhanced". That
 card didn't work at all, it wasn't even recognized by the driver. The other
 card had this switch set to "compatible" and it behaved absolutely normally. I
-guess that the switch on one of the cards, must have been changed accidently
+guess that the switch on one of the cards, must have been changed accidentally
 when the card was taken out of its former host. The question remains
 unanswered, what is the purpose of the "enhanced" position?
 
home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/networking/bonding.txt renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/networking/bonding.txt +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/networking/bonding.txt /home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/networking/bonding.txt
@@ -503,7 +503,7 @@
 Resources and links
 ===================
 
-Current developement on this driver is posted to:
+Current development on this driver is posted to:
  - http://www.sourceforge.net/projects/bonding/
 
 Donald Becker's Ethernet Drivers and diag programs may be found at :
home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/sound/OPL3-SA2 renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/sound/OPL3-SA2 +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/sound/OPL3-SA2 /home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/sound/OPL3-SA2
@@ -65,7 +65,7 @@
 ------------
 
 In previous kernels (2.2.x), some configuration was required to
-get the driver to talk to the card.  Being the new millenium and
+get the driver to talk to the card.  Being the new millennium and
 all, the 2.4.x kernels now support auto-configuration if ISA PnP
 support is configured in.  Theoretically, the driver even supports
 having more than one card in this case.
home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/sound/README.OSS renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/sound/README.OSS +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/Documentation/sound/README.OSS /home/rusty/devel/kernel/trivial-2.4.18-rc1/Documentation/sound/README.OSS
@@ -542,7 +542,7 @@
 
 	SoftOSS keeps the samples loaded on the system's RAM so much RAM is
 	required. SoftOSS should never be used on machines with less than 16 MB
-	of RAM since this is potentially dangerous (you may accidently run out
+	of RAM since this is potentially dangerous (you may accidentally run out
 	of memory which probably crashes the machine). 
 
 	SoftOSS implements the wave table API originally designed for GUS. For
home/rusty/devel/kernel/trivial-2.4.18-rc1/arch/ia64/sn/io/pci_bus_cvlink.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/arch/ia64/sn/io/pci_bus_cvlink.c +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/arch/ia64/sn/io/pci_bus_cvlink.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/arch/ia64/sn/io/pci_bus_cvlink.c
@@ -112,9 +112,9 @@
 	pci_bus = pci_bus_to_vertex(busnum);
 	if (!pci_bus) {
 		/*
-		 * During probing, the Linux pci code invents non existant
+		 * During probing, the Linux pci code invents non-existent
 		 * bus numbers and pci_dev structures and tries to access
-		 * them to determine existance. Don't crib during probing.
+		 * them to determine existence. Don't crib during probing.
 		 */
 		if (done_probing)
 			printk("devfn_to_vertex: Invalid bus number %d given.\n", busnum);
home/rusty/devel/kernel/trivial-2.4.18-rc1/arch/ppc/kernel/qspan_pci.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/arch/ppc/kernel/qspan_pci.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/arch/ppc/kernel/qspan_pci.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/arch/ppc/kernel/qspan_pci.c
@@ -14,7 +14,7 @@
  * PCI access and QSpan control register addresses.  The selection is
  * further selected by a bit setting in a board control register.
  * Although it should happen, we disable interrupts during this operation
- * to make sure some driver doesn't accidently access the PCI while
+ * to make sure some driver doesn't accidentally access the PCI while
  * we have switched the chip select.
  */
 
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/acpi/executer/exresnte.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/acpi/executer/exresnte.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/acpi/executer/exresnte.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/acpi/executer/exresnte.c
@@ -44,7 +44,7 @@
  * FUNCTION:    Acpi_ex_resolve_node_to_value
  *
  * PARAMETERS:  Object_ptr      - Pointer to a location that contains
- *                                a pointer to a NS node, and will recieve a
+ *                                a pointer to a NS node, and will receive a
  *                                pointer to the resolved object.
  *              Walk_state      - Current state.  Valid only if executing AML
  *                                code.  NULL if simply resolving an object
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/char/synclink.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/char/synclink.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/char/synclink.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/char/synclink.c
@@ -1811,7 +1811,7 @@
 	/* Allocate and claim adapter resources */
 	retval = mgsl_claim_resources(info);
 	
-	/* perform existance check and diagnostics */
+	/* perform existence check and diagnostics */
 	if ( !retval )
 		retval = mgsl_adapter_test(info);
 		
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/ide/ide.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/ide/ide.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/ide/ide.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/ide/ide.c
@@ -1619,7 +1619,7 @@
  * drive is ready to accept one, in which case we know the drive is not
  * trying to interrupt us.  And ide_set_handler() is always invoked before
  * completing the issuance of any new drive command, so we will not be
- * accidently invoked as a result of any valid command completion interrupt.
+ * accidentally invoked as a result of any valid command completion interrupt.
  *
  */
 static void unexpected_intr (int irq, ide_hwgroup_t *hwgroup)
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/mtd/devices/pmc551.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/mtd/devices/pmc551.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/mtd/devices/pmc551.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/mtd/devices/pmc551.c
@@ -716,7 +716,7 @@
                 }
 
 		/*
-		 * This is needed untill the driver is capable of reading the
+		 * This is needed until the driver is capable of reading the
 		 * onboard I2C SROM to discover the "real" memory size.
 		 */
 		if(msize) {
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/mtd/nand/spia.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/mtd/nand/spia.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/mtd/nand/spia.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/mtd/nand/spia.c
@@ -113,7 +113,7 @@
 	this->ALE = 0x02;
 	this->NCE = 0x04;
 
-	/* Scan to find existance of the device */
+	/* Scan to find existence of the device */
 	if (nand_scan (spia_mtd)) {
 		kfree (spia_mtd);
 		return -ENXIO;
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/net/irda/sa1100_ir.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/net/irda/sa1100_ir.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/net/irda/sa1100_ir.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/net/irda/sa1100_ir.c
@@ -132,7 +132,7 @@
 	Ser2HSCR0 = si->hscr0 | HSCR0_HSSP;
 
 	/*
-	 * Enable the DMA, receiver and recieve interrupt.
+	 * Enable the DMA, receiver and receive interrupt.
 	 */
 	sa1100_dma_flush_all(si->rxdma);
 	sa1100_dma_queue_buffer(si->rxdma, NULL, si->rxbuf_dma, HPSIR_MAX_RXLEN);
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/net/wan/sdla_x25.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/net/wan/sdla_x25.c +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/net/wan/sdla_x25.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/net/wan/sdla_x25.c
@@ -1272,7 +1272,7 @@
 			add_timer(&card->u.x.x25_timer);
 		}
 	}
-	/* Device is not up untill the we are in connected state */
+	/* Device is not up until the we are in connected state */
 	do_gettimeofday( &tv );
 	chan->router_start_time = tv.tv_sec;
 
@@ -4756,7 +4756,7 @@
  * send_delayed_cmd_result
  *
  *	Wait commands like PLEACE CALL or CLEAR CALL must wait
- *      untill the result arrivers. This function passes
+ *      until the result arrives. This function passes
  *      the result to a waiting sock. 
  *
  *===============================================================*/
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/pnp/quirks.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/pnp/quirks.c +6 -0
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/pnp/quirks.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/pnp/quirks.c
@@ -18,6 +18,10 @@
 #include <linux/isapnp.h>
 #include <linux/string.h>
 
+#if 0
+#define ISAPNP_DEBUG
+#endif
+
 static void __init quirk_awe32_resources(struct pci_dev *dev)
 {
 	struct isapnp_port *port, *port2, *port3;
@@ -139,8 +143,10 @@
 	while (isapnp_fixups[i].vendor != 0) {
 		if ((isapnp_fixups[i].vendor == dev->vendor) &&
 		    (isapnp_fixups[i].device == dev->device)) {
+#ifdef ISAPNP_DEBUG
 			printk(KERN_DEBUG "isapnp: Calling quirk for %02x:%02x\n",
 			       dev->bus->number, dev->devfn);
+#endif
 			isapnp_fixups[i].quirk_function(dev);
 		}
 		i++;
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/s390/char/tape34xx.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/s390/char/tape34xx.c +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/s390/char/tape34xx.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/s390/char/tape34xx.c
@@ -2152,7 +2152,7 @@
       	    tape34xx_error_recovery_HWBUG(ti,21);
 	    return;
 	case 0x3490:
-	    // Resetting event recieved. Since the driver does not support resetting event recovery
+	    // Resetting event received. Since the driver does not support resetting event recovery
 	    // (which has to be handled by the I/O Layer), we'll report and retry our command.
 	    tape34xx_error_recovery_do_retry(ti);
 	    return;
@@ -2219,7 +2219,7 @@
 	    return;
 	case 0x3490:
 	    // Global status intercept. We have to reissue the command.
-	    PRINT_WARN("An global status intercept was recieved, which will be recovered.\n");
+	    PRINT_WARN("An global status intercept was received, which will be recovered.\n");
 	    tape34xx_error_recovery_do_retry(ti);
 	    return;
 	}
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/s390/misc/chandev.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/s390/misc/chandev.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/s390/misc/chandev.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/s390/misc/chandev.c
@@ -2024,7 +2024,7 @@
 		/* This is required because the device can go & come back */
                 /* even before we realize it is gone owing to the waits in our kernel threads */
 		/* & the device will be marked as not owned but its status will be good */
-                /* & an attempt to accidently reprobe it may be done. */ 
+                /* & an attempt to accidentally reprobe it may be done. */ 
 		remove:
 		chandev_remove(chandev_get_by_irq(curr_irqinfo->sch.irq));
 		
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/scsi/aic7xxx/aic7xxx.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/scsi/aic7xxx/aic7xxx.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/scsi/aic7xxx/aic7xxx.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/scsi/aic7xxx/aic7xxx.c
@@ -2584,7 +2584,7 @@
 
 		/*
 		 * Read the latched byte, but turn off SPIOEN first
-		 * so that we don't inadvertantly cause a REQ for the
+		 * so that we don't inadvertently cause a REQ for the
 		 * next byte.
 		 */
 		ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/telephony/ixj.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/telephony/ixj.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/telephony/ixj.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/telephony/ixj.c
@@ -3451,7 +3451,7 @@
 	j->cidcw_wait = 0;
 	if(!j->flags.cidcw_ack) {
 		if(ixjdebug & 0x0200) {
-			printk("IXJ cidcw phone%d did not recieve ACK from display %ld\n", j->board, jiffies);
+			printk("IXJ cidcw phone%d did not receive ACK from display %ld\n", j->board, jiffies);
 		}
 		ixj_post_cid(j);
 		if(j->cid_play_flag) {
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/usb/storage/isd200.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/usb/storage/isd200.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/usb/storage/isd200.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/usb/storage/isd200.c
@@ -821,7 +821,7 @@
  * Invoke the transport and basic error-handling/recovery methods
  *
  * This is used by the protocol layers to actually send the message to
- * the device and recieve the response.
+ * the device and receive the response.
  */
 void isd200_invoke_transport( struct us_data *us, 
 			      Scsi_Cmnd *srb, 
home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/usb/storage/transport.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/usb/storage/transport.c +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/drivers/usb/storage/transport.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/drivers/usb/storage/transport.c
@@ -612,7 +612,7 @@
 /* Invoke the transport and basic error-handling/recovery methods
  *
  * This is used by the protocol layers to actually send the message to
- * the device and recieve the response.
+ * the device and receive the response.
  */
 void usb_stor_invoke_transport(Scsi_Cmnd *srb, struct us_data *us)
 {
@@ -798,7 +798,7 @@
 {
 	struct us_data *us = (struct us_data *)urb->context;
 
-	US_DEBUGP("USB IRQ recieved for device on host %d\n", us->host_no);
+	US_DEBUGP("USB IRQ received for device on host %d\n", us->host_no);
 	US_DEBUGP("-- IRQ data length is %d\n", urb->actual_length);
 	US_DEBUGP("-- IRQ state is %d\n", urb->status);
 	US_DEBUGP("-- Interrupt Status (0x%x, 0x%x)\n",
home/rusty/devel/kernel/trivial-2.4.18-rc1/fs/hpfs/ea.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/fs/hpfs/ea.c +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/fs/hpfs/ea.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/fs/hpfs/ea.c
@@ -9,8 +9,8 @@
 #include <linux/string.h>
 #include "hpfs_fn.h"
 
-/* Remove external extended attributes. ano specifies wheter a is a 
-   direct sector where eas start or an anode */
+/* Remove external extended attributes. ano specifies whether a is a 
+   direct sector where eas starts or an anode */
 
 void hpfs_ea_ext_remove(struct super_block *s, secno a, int ano, unsigned len)
 {
home/rusty/devel/kernel/trivial-2.4.18-rc1/include/asm-ia64/sn/pci/pcibr.h renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/include/asm-ia64/sn/pci/pcibr.h +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/include/asm-ia64/sn/pci/pcibr.h /home/rusty/devel/kernel/trivial-2.4.18-rc1/include/asm-ia64/sn/pci/pcibr.h
@@ -47,7 +47,7 @@
  *	These functions are normal device driver entry points
  *	and are called along with the similar entry points from
  *	other device drivers. They are included here as documentation
- *	of their existance and purpose.
+ *	of their existence and purpose.
  *
  *	pcibr_init() is called to inform us that there is a pcibr driver
  *	configured into the kernel; it is responsible for registering
home/rusty/devel/kernel/trivial-2.4.18-rc1/include/linux/jbd.h renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/include/linux/jbd.h +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/include/linux/jbd.h /home/rusty/devel/kernel/trivial-2.4.18-rc1/include/linux/jbd.h
@@ -352,7 +352,7 @@
 	 */
 	struct journal_head *	t_async_datalist;
 	
-	/* Doubly-linked circular list of all forget buffers (superceded
+	/* Doubly-linked circular list of all forget buffers (superseded
            buffers which we can un-checkpoint once this transaction
            commits) */
 	struct journal_head *	t_forget;
@@ -793,7 +793,7 @@
 #define BJ_SyncData	1	/* Normal data: flush before commit */
 #define BJ_AsyncData	2	/* writepage data: wait on it before commit */
 #define BJ_Metadata	3	/* Normal journaled metadata */
-#define BJ_Forget	4	/* Buffer superceded by this transaction */
+#define BJ_Forget	4	/* Buffer superseded by this transaction */
 #define BJ_IO		5	/* Buffer is for temporary IO use */
 #define BJ_Shadow	6	/* Buffer contents being shadowed to the log */
 #define BJ_LogCtl	7	/* Buffer contains log descriptors */
home/rusty/devel/kernel/trivial-2.4.18-rc1/include/linux/telephony.h renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/include/linux/telephony.h +2 -2
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/include/linux/telephony.h /home/rusty/devel/kernel/trivial-2.4.18-rc1/include/linux/telephony.h
@@ -228,8 +228,8 @@
 * indicate the current state of the hookswitch.  The pstn_ring bit
 * indicates that the DAA on a LineJACK card has detected ring voltage on
 * the PSTN port.  The caller_id bit indicates that caller_id data has been
-* recieved and is available.  The pstn_wink bit indicates that the DAA on
-* the LineJACK has recieved a wink from the telco switch.  The f0, f1, f2
+* received and is available.  The pstn_wink bit indicates that the DAA on
+* the LineJACK has received a wink from the telco switch.  The f0, f1, f2
 * and f3 bits indicate that the filter has been triggered by detecting the
 * frequency programmed into that filter.
 *
home/rusty/devel/kernel/trivial-2.4.18-rc1/kernel/signal.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/kernel/signal.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/kernel/signal.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/kernel/signal.c
@@ -519,7 +519,7 @@
 	if (bad_signal(sig, info, t))
 		goto out_nolock;
 
-	/* The null signal is a permissions and process existance probe.
+	/* The null signal is a permissions and process existence probe.
 	   No signal is actually delivered.  Same goes for zombies. */
 	ret = 0;
 	if (!sig || !t->sig)
home/rusty/devel/kernel/trivial-2.4.18-rc1/net/core/dev.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/net/core/dev.c +1 -1
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/net/core/dev.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/net/core/dev.c
@@ -444,7 +444,7 @@
 
 /* 
    Return value is changed to int to prevent illegal usage in future.
-   It is still legal to use to check for device existance.
+   It is still legal to use to check for device existence.
 
    User should understand, that the result returned by this function
    is meaningless, if it was not issued under rtnl semaphore.
home/rusty/devel/kernel/trivial-2.4.18-rc1/net/wanrouter/af_wanpipe.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/net/wanrouter/af_wanpipe.c +4 -4
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/net/wanrouter/af_wanpipe.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/net/wanrouter/af_wanpipe.c
@@ -110,7 +110,7 @@
  *         passes the packet to the driver. Before each send(), a poll
  *         routine checks the sock resources The maximum value of
  *         packet sent counter is 1, thus if one packet is queued, the
- *         application will block untill that packet is passed to the
+ *         application will block until that packet is passed to the
  *         driver.
  *
  *   RECEIVE:
@@ -121,7 +121,7 @@
  *      return code, the driver knows whether the packet was
  *      sucessfully queued.  If the socket queue is full, 
  *      protocol flow control is used by the driver, if any, 
- *      to slow down the traffic untill the sock queue is free.
+ *      to slow down the traffic until the sock queue is free.
  *
  *      Every time a packet arrives into a socket queue the 
  *      socket wakes up processes which are waiting to receive
@@ -2396,7 +2396,7 @@
 
 
 			/* Check if data buffers are pending for transmission,
-                         * if so, check wheter user wants to wait untill data
+                         * if so, check whether user wants to wait until data
                          * is transmitted, or clear a call and drop packets */
                           
 			if (atomic_read(&sk->wmem_alloc) || check_driver_busy(sk)){
@@ -2432,7 +2432,7 @@
 
 
 			/* Check if data buffers are pending for transmission,
-                         * if so, check wheter user wants to wait untill data
+                         * if so, check whether user wants to wait until data
                          * is transmitted, or reset a call and drop packets */
                           
 			if (atomic_read(&sk->wmem_alloc) || check_driver_busy(sk)){
home/rusty/devel/kernel/trivial-2.4.18-rc1/scripts/tkgen.c renamed from home/rusty/devel/kernel/linux-2.4.18-rc1/scripts/tkgen.c +4 -4
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal /home/rusty/devel/kernel/linux-2.4.18-rc1/scripts/tkgen.c /home/rusty/devel/kernel/trivial-2.4.18-rc1/scripts/tkgen.c
@@ -620,11 +620,11 @@
 	case token_int:
 	    if ( cfg->value && *cfg->value == '$' )
 	    {
-		int index = get_varnum( cfg->value+1 );
+		int i = get_varnum( cfg->value+1 );
 		printf( "\n" );
-		if ( ! vartable[index].global_written )
+		if ( ! vartable[i].global_written )
 		{
-		    global( vartable[index].name );
+		    global( vartable[i].name );
 		}
 		printf( "\t" );
 	    }
@@ -989,7 +989,6 @@
 static void end_proc( struct kconfig * scfg, int menu_num )
 {
     struct kconfig * cfg;
-    int i;
 
     printf( "\n\n\n" );
     printf( "\tfocus $w\n" );
@@ -1084,6 +1083,7 @@
 	    {
 		if ( cfg->token == token_tristate )
 		{
+		    int i;
 		    if ( ! vartable[cfg->nameindex].global_written )
 		    {
 			vartable[cfg->nameindex].global_written = 1;

--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.