Bug 176054 - [kernel] [patch] Correct several typos
Summary: [kernel] [patch] Correct several typos
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eitan Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 08:50 UTC by Christoph Mallon
Modified: 2019-01-20 07:16 UTC (History)
2 users (show)

See Also:


Attachments
0001-all-Correct-misspellings-of-the-word-occurrence.patch (11.31 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0002-all-Correct-misspellings-of-the-word-necessary.patch (4.15 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0003-all-Correct-misspellings-of-the-word-miscellaneous.patch (1.38 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0004-all-Correct-misspellings-of-the-word-useful.patch (4.27 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0005-all-Correct-misspellings-of-the-word-resource.patch (6.09 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0006-all-Correct-misspellings-of-the-word-and.patch (2.94 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0007-all-Correct-misspellings-of-the-word-lose.patch (6.23 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff
0008-all-Correct-typos-in-comments.patch (4.84 KB, patch)
2013-02-12 08:50 UTC, Christoph Mallon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Mallon 2013-02-12 08:50:00 UTC
This patch series corrects several common misspellings in base.

Fix: Please apply these patches.

dummy file, because GNATS damages every other patch
--- dummy1 ends here ---

dummy file, because GNATS damages every other patch
--- dummy2 ends here ---

dummy file, because GNATS damages every other patch
--- dummy3 ends here ---

dummy file, because GNATS damages every other patch
--- dummy4 ends here ---

dummy file, because GNATS damages every other patch
--- dummy5 ends here ---

dummy file, because GNATS damages every other patch
--- dummy6 ends here ---

dummy file, because GNATS damages every other patch
--- dummy7 ends here ---
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-05-12 17:43:42 UTC
Author: eadler
Date: Sun May 12 16:43:26 2013
New Revision: 250576
URL: http://svnweb.freebsd.org/changeset/base/250576

Log:
  Fix several typos
  
  PR:		kern/176054
  Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
  MFC after:	3 days

Modified:
  head/lib/libc/posix1e/acl_is_trivial_np.3
  head/share/man/man7/c99.7
  head/sys/dev/ata/ata-lowlevel.c
  head/sys/dev/uart/uart_core.c
  head/sys/dev/usb/serial/usb_serial.c
  head/sys/dev/usb/serial/usb_serial.h
  head/sys/fs/fdescfs/fdesc_vnops.c
  head/sys/mips/mips/stack_machdep.c
  head/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
  head/sys/ufs/ffs/ffs_balloc.c
  head/sys/x86/x86/local_apic.c

Modified: head/lib/libc/posix1e/acl_is_trivial_np.3
==============================================================================
--- head/lib/libc/posix1e/acl_is_trivial_np.3	Sun May 12 16:29:09 2013	(r250575)
+++ head/lib/libc/posix1e/acl_is_trivial_np.3	Sun May 12 16:43:26 2013	(r250576)
@@ -52,7 +52,7 @@ will be set to 1, if the ACL
 .Fa aclp
 points to is trivial, or 0 if it's not.
 .Pp
-ACL is trivial if it can be fully expressed as a file mode without loosing
+ACL is trivial if it can be fully expressed as a file mode without losing
 any access rules.
 For POSIX.1e ACLs, ACL is trivial if it has the three required entries,
 one for owner, one for owning group, and one for other.

Modified: head/share/man/man7/c99.7
==============================================================================
--- head/share/man/man7/c99.7	Sun May 12 16:29:09 2013	(r250575)
+++ head/share/man/man7/c99.7	Sun May 12 16:43:26 2013	(r250576)
@@ -70,7 +70,7 @@ The elements of this standard library is
 complicated tasks.
 In this case the provided system calls of the given operating system can be
 used.
-To not loose the portability by using these system calls, the POSIX
+To not lose the portability by using these system calls, the POSIX
 (Portable Operating System Interface) standard evolved.
 It describes what functions should be available to keep portability.
 Note, that POSIX is not a C standard, but an operating system standard

Modified: head/sys/dev/ata/ata-lowlevel.c
==============================================================================
--- head/sys/dev/ata/ata-lowlevel.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/dev/ata/ata-lowlevel.c	Sun May 12 16:43:26 2013	(r250576)
@@ -503,7 +503,7 @@ ata_generic_reset(device_t dev)
 		      mask, ostat0, ostat1);
 
     /* if nothing showed up there is no need to get any further */
-    /* XXX SOS is that too strong?, we just might loose devices here */
+    /* XXX SOS is that too strong?, we just might lose devices here */
     ch->devices = 0;
     if (!mask)
 	return;

Modified: head/sys/dev/uart/uart_core.c
==============================================================================
--- head/sys/dev/uart/uart_core.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/dev/uart/uart_core.c	Sun May 12 16:43:26 2013	(r250576)
@@ -137,7 +137,7 @@ uart_intr_break(void *arg)
  * much of the data we can, but otherwise flush the receiver FIFO to
  * create some breathing room. The net effect is that we avoid the
  * overrun condition to happen for the next X characters, where X is
- * related to the FIFO size at the cost of loosing data right away.
+ * related to the FIFO size at the cost of losing data right away.
  * So, instead of having multiple overrun interrupts in close proximity
  * to each other and possibly pessimizing UART interrupt latency for
  * other UARTs in a multiport configuration, we create a longer segment
@@ -192,7 +192,7 @@ uart_intr_rxready(void *arg)
  * Line or modem status change (OOB signalling).
  * We pass the signals to the software interrupt handler for further
  * processing. Note that we merge the delta bits, but set the state
- * bits. This is to avoid loosing state transitions due to having more
+ * bits. This is to avoid losing state transitions due to having more
  * than 1 hardware interrupt between software interrupts.
  */
 static __inline int

Modified: head/sys/dev/usb/serial/usb_serial.c
==============================================================================
--- head/sys/dev/usb/serial/usb_serial.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/dev/usb/serial/usb_serial.c	Sun May 12 16:43:26 2013	(r250576)
@@ -965,7 +965,7 @@ ucom_cfg_line_state(struct usb_proc_msg 
 	sc->sc_pls_set = 0;
 	sc->sc_pls_clr = 0;
 
-	/* ensure that we don't loose any levels */
+	/* ensure that we don't lose any levels */
 	if (notch_bits & UCOM_LS_DTR)
 		sc->sc_callback->ucom_cfg_set_dtr(sc,
 		    (prev_value & UCOM_LS_DTR) ? 1 : 0);

Modified: head/sys/dev/usb/serial/usb_serial.h
==============================================================================
--- head/sys/dev/usb/serial/usb_serial.h	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/dev/usb/serial/usb_serial.h	Sun May 12 16:43:26 2013	(r250576)
@@ -146,7 +146,7 @@ struct ucom_super_softc {
 
 struct ucom_softc {
 	/*
-	 * NOTE: To avoid loosing level change information we use two
+	 * NOTE: To avoid losing level change information we use two
 	 * tasks instead of one for all commands.
 	 *
 	 * Level changes are transitions like:

Modified: head/sys/fs/fdescfs/fdesc_vnops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vnops.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/fs/fdescfs/fdesc_vnops.c	Sun May 12 16:43:26 2013	(r250576)
@@ -333,7 +333,7 @@ fdesc_lookup(ap)
 		 * and the root vnode lock will be obtained afterwards (in case
 		 * we're looking up the fd of the root vnode), which will be the
 		 * opposite lock order. Vhold the root vnode first so we don't
-		 * loose it.
+		 * lose it.
 		 */
 		vhold(dvp);
 		VOP_UNLOCK(dvp, 0);

Modified: head/sys/mips/mips/stack_machdep.c
==============================================================================
--- head/sys/mips/mips/stack_machdep.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/mips/mips/stack_machdep.c	Sun May 12 16:43:26 2013	(r250576)
@@ -148,7 +148,7 @@ stack_save(struct stack *st)
 	u_register_t pc, sp;
 
 	if (curthread == NULL)
-		panic("stack_save: curthread == NULL)");
+		panic("stack_save: curthread == NULL");
 
 	pc = curthread->td_pcb->pcb_regs.pc;
 	sp = curthread->td_pcb->pcb_regs.sp;

Modified: head/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
==============================================================================
--- head/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c	Sun May 12 16:43:26 2013	(r250576)
@@ -391,7 +391,7 @@ ng_hci_lp_sco_con_req(ng_hci_unit_p unit
 
 		default:
 			panic(
-"%s: %s - Inavalid connection state=%d\n",
+"%s: %s - Invalid connection state=%d\n",
 				__func__, NG_NODE_NAME(unit->node),
 				sco_con->state);
 			break;

Modified: head/sys/ufs/ffs/ffs_balloc.c
==============================================================================
--- head/sys/ufs/ffs/ffs_balloc.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/ufs/ffs/ffs_balloc.c	Sun May 12 16:43:26 2013	(r250576)
@@ -1011,7 +1011,7 @@ fail:
 	 * We have to sync it at the end so that the soft updates code
 	 * does not find any untracked changes. Although this is really
 	 * slow, running out of disk space is not expected to be a common
-	 * occurence. The error return from fsync is ignored as we already
+	 * occurrence. The error return from fsync is ignored as we already
 	 * have an error to return to the user.
 	 *
 	 * XXX Still have to journal the free below

Modified: head/sys/x86/x86/local_apic.c
==============================================================================
--- head/sys/x86/x86/local_apic.c	Sun May 12 16:29:09 2013	(r250575)
+++ head/sys/x86/x86/local_apic.c	Sun May 12 16:43:26 2013	(r250576)
@@ -789,7 +789,7 @@ lapic_handle_timer(struct trapframe *fra
 	 * Don't do any accounting for the disabled HTT cores, since it
 	 * will provide misleading numbers for the userland.
 	 *
-	 * No locking is necessary here, since even if we loose the race
+	 * No locking is necessary here, since even if we lose the race
 	 * when hlt_cpus_mask changes it is not a big deal, really.
 	 *
 	 * Don't do that for ULE, since ULE doesn't consider hlt_cpus_mask
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-16 10:48:08 UTC
Author: mav
Date: Sat Nov 16 10:47:58 2013
New Revision: 258218
URL: http://svnweb.freebsd.org/changeset/base/258218

Log:
  MFC r250576 (by eadler):
  Fix several typos
  
  PR:		kern/176054

Modified:
  stable/9/sys/dev/ata/ata-lowlevel.c
  stable/9/sys/dev/uart/uart_core.c
  stable/9/sys/dev/usb/serial/usb_serial.c
  stable/9/sys/dev/usb/serial/usb_serial.h
  stable/9/sys/fs/fdescfs/fdesc_vnops.c
  stable/9/sys/mips/mips/stack_machdep.c
  stable/9/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
  stable/9/sys/ufs/ffs/ffs_balloc.c
  stable/9/sys/x86/x86/local_apic.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)
  stable/9/sys/fs/   (props changed)

Modified: stable/9/sys/dev/ata/ata-lowlevel.c
==============================================================================
--- stable/9/sys/dev/ata/ata-lowlevel.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/dev/ata/ata-lowlevel.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -505,7 +505,7 @@ ata_generic_reset(device_t dev)
 		      mask, ostat0, ostat1);
 
     /* if nothing showed up there is no need to get any further */
-    /* XXX SOS is that too strong?, we just might loose devices here */
+    /* XXX SOS is that too strong?, we just might lose devices here */
     ch->devices = 0;
     if (!mask)
 	return;

Modified: stable/9/sys/dev/uart/uart_core.c
==============================================================================
--- stable/9/sys/dev/uart/uart_core.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/dev/uart/uart_core.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -131,7 +131,7 @@ uart_intr_break(void *arg)
  * much of the data we can, but otherwise flush the receiver FIFO to
  * create some breathing room. The net effect is that we avoid the
  * overrun condition to happen for the next X characters, where X is
- * related to the FIFO size at the cost of loosing data right away.
+ * related to the FIFO size at the cost of losing data right away.
  * So, instead of having multiple overrun interrupts in close proximity
  * to each other and possibly pessimizing UART interrupt latency for
  * other UARTs in a multiport configuration, we create a longer segment
@@ -186,7 +186,7 @@ uart_intr_rxready(void *arg)
  * Line or modem status change (OOB signalling).
  * We pass the signals to the software interrupt handler for further
  * processing. Note that we merge the delta bits, but set the state
- * bits. This is to avoid loosing state transitions due to having more
+ * bits. This is to avoid losing state transitions due to having more
  * than 1 hardware interrupt between software interrupts.
  */
 static __inline int

Modified: stable/9/sys/dev/usb/serial/usb_serial.c
==============================================================================
--- stable/9/sys/dev/usb/serial/usb_serial.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/dev/usb/serial/usb_serial.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -965,7 +965,7 @@ ucom_cfg_line_state(struct usb_proc_msg 
 	sc->sc_pls_set = 0;
 	sc->sc_pls_clr = 0;
 
-	/* ensure that we don't loose any levels */
+	/* ensure that we don't lose any levels */
 	if (notch_bits & UCOM_LS_DTR)
 		sc->sc_callback->ucom_cfg_set_dtr(sc,
 		    (prev_value & UCOM_LS_DTR) ? 1 : 0);

Modified: stable/9/sys/dev/usb/serial/usb_serial.h
==============================================================================
--- stable/9/sys/dev/usb/serial/usb_serial.h	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/dev/usb/serial/usb_serial.h	Sat Nov 16 10:47:58 2013	(r258218)
@@ -146,7 +146,7 @@ struct ucom_super_softc {
 
 struct ucom_softc {
 	/*
-	 * NOTE: To avoid loosing level change information we use two
+	 * NOTE: To avoid losing level change information we use two
 	 * tasks instead of one for all commands.
 	 *
 	 * Level changes are transitions like:

Modified: stable/9/sys/fs/fdescfs/fdesc_vnops.c
==============================================================================
--- stable/9/sys/fs/fdescfs/fdesc_vnops.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/fs/fdescfs/fdesc_vnops.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -333,7 +333,7 @@ fdesc_lookup(ap)
 		 * and the root vnode lock will be obtained afterwards (in case
 		 * we're looking up the fd of the root vnode), which will be the
 		 * opposite lock order. Vhold the root vnode first so we don't
-		 * loose it.
+		 * lose it.
 		 */
 		vhold(dvp);
 		VOP_UNLOCK(dvp, 0);

Modified: stable/9/sys/mips/mips/stack_machdep.c
==============================================================================
--- stable/9/sys/mips/mips/stack_machdep.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/mips/mips/stack_machdep.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -148,7 +148,7 @@ stack_save(struct stack *st)
 	u_register_t pc, sp;
 
 	if (curthread == NULL)
-		panic("stack_save: curthread == NULL)");
+		panic("stack_save: curthread == NULL");
 
 	pc = curthread->td_pcb->pcb_regs.pc;
 	sp = curthread->td_pcb->pcb_regs.sp;

Modified: stable/9/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
==============================================================================
--- stable/9/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -391,7 +391,7 @@ ng_hci_lp_sco_con_req(ng_hci_unit_p unit
 
 		default:
 			panic(
-"%s: %s - Inavalid connection state=%d\n",
+"%s: %s - Invalid connection state=%d\n",
 				__func__, NG_NODE_NAME(unit->node),
 				sco_con->state);
 			break;

Modified: stable/9/sys/ufs/ffs/ffs_balloc.c
==============================================================================
--- stable/9/sys/ufs/ffs/ffs_balloc.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/ufs/ffs/ffs_balloc.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -1033,7 +1033,7 @@ fail:
 	 * We have to sync it at the end so that the soft updates code
 	 * does not find any untracked changes. Although this is really
 	 * slow, running out of disk space is not expected to be a common
-	 * occurence. The error return from fsync is ignored as we already
+	 * occurrence. The error return from fsync is ignored as we already
 	 * have an error to return to the user.
 	 *
 	 * XXX Still have to journal the free below

Modified: stable/9/sys/x86/x86/local_apic.c
==============================================================================
--- stable/9/sys/x86/x86/local_apic.c	Sat Nov 16 10:44:17 2013	(r258217)
+++ stable/9/sys/x86/x86/local_apic.c	Sat Nov 16 10:47:58 2013	(r258218)
@@ -795,7 +795,7 @@ lapic_handle_timer(struct trapframe *fra
 	 * Don't do any accounting for the disabled HTT cores, since it
 	 * will provide misleading numbers for the userland.
 	 *
-	 * No locking is necessary here, since even if we loose the race
+	 * No locking is necessary here, since even if we lose the race
 	 * when hlt_cpus_mask changes it is not a big deal, really.
 	 *
 	 * Don't do that for ULE, since ULE doesn't consider hlt_cpus_mask
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:58 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-20 03:31:32 UTC
Eitan, can this PR be closed now?

Thanks
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2019-01-20 07:16:18 UTC
I took a quick look and all patches are either committed or no longer apply. I didn't look to see if they typos were all fixed or were now merge conflicts though.

Closing but feel free to reopen.