Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2016 15:14:17 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298981 - head/sys/sys
Message-ID:  <201605031514.u43FEH4F078126@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Tue May  3 15:14:17 2016
New Revision: 298981
URL: https://svnweb.freebsd.org/changeset/base/298981

Log:
  sys/sys: minor spelling fixes.
  
  While the changes are minor, these headers are very visible.
  
  MFC after:	2 weeks

Modified:
  head/sys/sys/ata.h
  head/sys/sys/buf.h
  head/sys/sys/buf_ring.h
  head/sys/sys/iconv.h
  head/sys/sys/imgact_binmisc.h
  head/sys/sys/imgact_elf.h
  head/sys/sys/ipc.h
  head/sys/sys/ipmi.h
  head/sys/sys/linker.h
  head/sys/sys/memrange.h
  head/sys/sys/pmc.h
  head/sys/sys/priority.h
  head/sys/sys/priv.h
  head/sys/sys/proc.h
  head/sys/sys/procctl.h
  head/sys/sys/shm.h
  head/sys/sys/sockio.h
  head/sys/sys/soundcard.h
  head/sys/sys/sx.h
  head/sys/sys/sysctl.h
  head/sys/sys/timex.h
  head/sys/sys/user.h

Modified: head/sys/sys/ata.h
==============================================================================
--- head/sys/sys/ata.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/ata.h	Tue May  3 15:14:17 2016	(r298981)
@@ -377,10 +377,10 @@ struct ata_params {
 #define ATA_NCQ_NON_DATA		0x63	/* NCQ non-data command */
 #define ATA_SEND_FPDMA_QUEUED           0x64    /* send DMA NCQ */
 #define		ATA_SFPDMA_DSM		0x00	/* Data set management */
-#define			ATA_SFPDMA_DSM_TRIM	0x01	/* Set trim bit in auxilary */
+#define			ATA_SFPDMA_DSM_TRIM	0x01	/* Set trim bit in auxiliary */
 #define		ATA_SFPDMA_HYBRID_EVICT	0x01	/* Hybrid Evict */
 #define		ATA_SFPDMA_WLDMA	0x02	/* Write Log DMA EXT */
-#define ATA_RECV_FPDMA_QUEUED           0x65    /* recieve DMA NCQ */
+#define	ATA_RECV_FPDMA_QUEUED           0x65    /* receive DMA NCQ */
 #define ATA_SEP_ATTN                    0x67    /* SEP request */
 #define ATA_SEEK                        0x70    /* seek */
 #define ATA_PACKET_CMD                  0xa0    /* packet command */

Modified: head/sys/sys/buf.h
==============================================================================
--- head/sys/sys/buf.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/buf.h	Tue May  3 15:14:17 2016	(r298981)
@@ -206,7 +206,7 @@ struct buf {
 #define	B_NOREUSE	0x00000800	/* Contents not reused once released. */
 #define	B_00001000	0x00001000	/* Available flag. */
 #define	B_INVAL		0x00002000	/* Does not contain valid info. */
-#define	B_BARRIER	0x00004000	/* Write this and all preceeding first. */
+#define	B_BARRIER	0x00004000	/* Write this and all preceding first. */
 #define	B_NOCACHE	0x00008000	/* Do not cache block after use. */
 #define	B_MALLOC	0x00010000	/* malloced b_data */
 #define	B_CLUSTEROK	0x00020000	/* Pagein op, so swap() can count it. */

Modified: head/sys/sys/buf_ring.h
==============================================================================
--- head/sys/sys/buf_ring.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/buf_ring.h	Tue May  3 15:14:17 2016	(r298981)
@@ -98,7 +98,7 @@ buf_ring_enqueue(struct buf_ring *br, vo
 
 	/*
 	 * If there are other enqueues in progress
-	 * that preceeded us, we need to wait for them
+	 * that preceded us, we need to wait for them
 	 * to complete 
 	 */   
 	while (br->br_prod_tail != prod_head)
@@ -135,7 +135,7 @@ buf_ring_dequeue_mc(struct buf_ring *br)
 #endif
 	/*
 	 * If there are other dequeues in progress
-	 * that preceeded us, we need to wait for them
+	 * that preceded us, we need to wait for them
 	 * to complete 
 	 */   
 	while (br->br_cons_tail != cons_head)

Modified: head/sys/sys/iconv.h
==============================================================================
--- head/sys/sys/iconv.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/iconv.h	Tue May  3 15:14:17 2016	(r298981)
@@ -65,7 +65,7 @@ struct iconv_cspair_info {
 };
 
 /*
- * Paramters for 'add' sysctl
+ * Parameters for 'add' sysctl
  */
 #define	ICONV_ADD_VER	1
 

Modified: head/sys/sys/imgact_binmisc.h
==============================================================================
--- head/sys/sys/imgact_binmisc.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/imgact_binmisc.h	Tue May  3 15:14:17 2016	(r298981)
@@ -41,7 +41,7 @@
 #define	IBE_NAME_MAX	32	/* Max size for entry name. */
 #define	IBE_MAGIC_MAX	256	/* Max size for header magic and mask. */
 #define	IBE_ARG_LEN_MAX	256	/* Max space for optional interpreter command-
-				   line argruments seperated by white space */
+				   line argruments separated by white space */
 #define	IBE_INTERP_LEN_MAX	(MAXPATHLEN + IBE_ARG_LEN_MAX)
 #define	IBE_MAX_ENTRIES	64	/* Max number of interpreter entries. */
 

Modified: head/sys/sys/imgact_elf.h
==============================================================================
--- head/sys/sys/imgact_elf.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/imgact_elf.h	Tue May  3 15:14:17 2016	(r298981)
@@ -41,7 +41,7 @@ struct image_params;
 struct thread;
 
 /*
- * Structure used to pass infomation from the loader to the
+ * Structure used to pass information from the loader to the
  * stack fixup routine.
  */
 typedef struct {

Modified: head/sys/sys/ipc.h
==============================================================================
--- head/sys/sys/ipc.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/ipc.h	Tue May  3 15:14:17 2016	(r298981)
@@ -112,7 +112,7 @@ struct ipc_perm {
 #define	IPC_STAT	2	/* get options */
 #if __BSD_VISIBLE
 /*
- * For Linux compatability.
+ * For Linux compatibility.
  */
 #define	IPC_INFO	3	/* get info */
 #endif

Modified: head/sys/sys/ipmi.h
==============================================================================
--- head/sys/sys/ipmi.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/ipmi.h	Tue May  3 15:14:17 2016	(r298981)
@@ -122,7 +122,7 @@ struct ipmi_ipmb_addr {
 };
 
 #if defined(__amd64__)
-/* Compatiblity with 32-bit binaries. */
+/* Compatibility with 32-bit binaries. */
 
 #define IPMICTL_RECEIVE_MSG_TRUNC_32	_IOWR(IPMI_IOC_MAGIC, 11, struct ipmi_recv32)
 #define IPMICTL_RECEIVE_MSG_32		_IOWR(IPMI_IOC_MAGIC, 12, struct ipmi_recv32)

Modified: head/sys/sys/linker.h
==============================================================================
--- head/sys/sys/linker.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/linker.h	Tue May  3 15:14:17 2016	(r298981)
@@ -160,7 +160,7 @@ int linker_file_function_listall(linker_
 				 linker_function_nameval_callback_t, void *);
 
 /*
- * Functions soley for use by the linker class handlers.
+ * Functions solely for use by the linker class handlers.
  */
 int linker_add_class(linker_class_t _cls);
 int linker_file_unload(linker_file_t _file, int flags);

Modified: head/sys/sys/memrange.h
==============================================================================
--- head/sys/sys/memrange.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/memrange.h	Tue May  3 15:14:17 2016	(r298981)
@@ -1,5 +1,5 @@
 /*
- * Memory range attribute operations, peformed on /dev/mem
+ * Memory range attribute operations, performed on /dev/mem
  *
  * $FreeBSD$
  */

Modified: head/sys/sys/pmc.h
==============================================================================
--- head/sys/sys/pmc.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/pmc.h	Tue May  3 15:14:17 2016	(r298981)
@@ -283,7 +283,7 @@ enum pmc_disp {
 	__PMC_CAP(THRESHOLD,	4, "ignore events below a threshold")	\
 	__PMC_CAP(READ,		5, "read PMC counter")			\
 	__PMC_CAP(WRITE,	6, "reprogram PMC counter")		\
-	__PMC_CAP(INVERT,	7, "invert comparision sense")		\
+	__PMC_CAP(INVERT,	7, "invert comparison sense")		\
 	__PMC_CAP(QUALIFIER,	8, "further qualify monitored events")	\
 	__PMC_CAP(PRECISE,	9, "perform precise sampling")		\
 	__PMC_CAP(TAGGING,	10, "tag upstream events")		\
@@ -587,7 +587,7 @@ struct pmc_op_writelog {
 /*
  * OP GETMSR
  *
- * Retrieve the machine specific address assoicated with the allocated
+ * Retrieve the machine specific address associated with the allocated
  * PMC.  This number can be used subsequently with a read-performance-counter
  * instruction.
  */

Modified: head/sys/sys/priority.h
==============================================================================
--- head/sys/sys/priority.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/priority.h	Tue May  3 15:14:17 2016	(r298981)
@@ -126,7 +126,7 @@
 struct priority {
 	u_char	pri_class;	/* Scheduling class. */
 	u_char	pri_level;	/* Normal priority level. */
-	u_char	pri_native;	/* Priority before propogation. */
+	u_char	pri_native;	/* Priority before propagation. */
 	u_char	pri_user;	/* User priority based on p_cpu and p_nice. */
 };
 

Modified: head/sys/sys/priv.h
==============================================================================
--- head/sys/sys/priv.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/priv.h	Tue May  3 15:14:17 2016	(r298981)
@@ -134,7 +134,7 @@
 #define	PRIV_JAIL_REMOVE	112	/* Remove a jail. */
 
 /*
- * Kernel environment priveleges.
+ * Kernel environment privileges.
  */
 #define	PRIV_KENV_SET		120	/* Set kernel env. variables. */
 #define	PRIV_KENV_UNSET		121	/* Unset kernel env. variables. */

Modified: head/sys/sys/proc.h
==============================================================================
--- head/sys/sys/proc.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/proc.h	Tue May  3 15:14:17 2016	(r298981)
@@ -426,7 +426,7 @@ do {									\
 #define	TDP_BUFNEED	0x00000008 /* Do not recurse into the buf flush */
 #define	TDP_COWINPROGRESS 0x00000010 /* Snapshot copy-on-write in progress. */
 #define	TDP_ALTSTACK	0x00000020 /* Have alternate signal stack. */
-#define	TDP_DEADLKTREAT	0x00000040 /* Lock aquisition - deadlock treatment. */
+#define	TDP_DEADLKTREAT	0x00000040 /* Lock acquisition - deadlock treatment. */
 #define	TDP_NOFAULTING	0x00000080 /* Do not handle page faults. */
 #define	TDP_UNUSED9	0x00000100 /* --available-- */
 #define	TDP_OWEUPC	0x00000200 /* Call addupc() at next AST. */

Modified: head/sys/sys/procctl.h
==============================================================================
--- head/sys/sys/procctl.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/procctl.h	Tue May  3 15:14:17 2016	(r298981)
@@ -88,7 +88,7 @@ struct procctl_reaper_kill {
 	int	rk_sig;		/* in  - signal to send */
 	u_int	rk_flags;	/* in  - REAPER_KILL flags */
 	pid_t	rk_subtree;	/* in  - subtree, if REAPER_KILL_SUBTREE */
-	u_int	rk_killed;	/* out - count of processes sucessfully
+	u_int	rk_killed;	/* out - count of processes successfully
 				   killed */
 	pid_t	rk_fpid;	/* out - first failed pid for which error
 				   is returned */

Modified: head/sys/sys/shm.h
==============================================================================
--- head/sys/sys/shm.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/shm.h	Tue May  3 15:14:17 2016	(r298981)
@@ -56,7 +56,7 @@
 #define	SHM_LOCK	11
 #define	SHM_UNLOCK	12
 
-/* ipcs shmctl commands for Linux compatability */
+/* ipcs shmctl commands for Linux compatibility */
 #define	SHM_STAT	13
 #define	SHM_INFO	14
 

Modified: head/sys/sys/sockio.h
==============================================================================
--- head/sys/sys/sockio.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/sockio.h	Tue May  3 15:14:17 2016	(r298981)
@@ -98,7 +98,7 @@
 #define	SIOCSIFLLADDR	 _IOW('i', 60, struct ifreq)	/* set linklevel addr */
 #define	SIOCGI2C	_IOWR('i', 61, struct ifreq)	/* get I2C data  */
 
-#define	SIOCSIFPHYADDR	 _IOW('i', 70, struct ifaliasreq) /* set gif addres */
+#define	SIOCSIFPHYADDR	 _IOW('i', 70, struct ifaliasreq) /* set gif address */
 #define	SIOCGIFPSRCADDR	_IOWR('i', 71, struct ifreq)	/* get gif psrc addr */
 #define	SIOCGIFPDSTADDR	_IOWR('i', 72, struct ifreq)	/* get gif pdst addr */
 #define	SIOCDIFPHYADDR	 _IOW('i', 73, struct ifreq)	/* delete gif addrs */

Modified: head/sys/sys/soundcard.h
==============================================================================
--- head/sys/sys/soundcard.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/soundcard.h	Tue May  3 15:14:17 2016	(r298981)
@@ -185,7 +185,7 @@ struct snd_size {
 #define AFMT_U24_LE	0x00040000	/* Little endian unsigned 24-bit */
 #define AFMT_U24_BE	0x00080000	/* Big endian unsigned 24-bit */
 
-/* Machine dependant AFMT_* definitions. */
+/* Machine dependent AFMT_* definitions. */
 #if BYTE_ORDER == LITTLE_ENDIAN
 #define AFMT_S16_NE	AFMT_S16_LE
 #define AFMT_S24_NE	AFMT_S24_LE
@@ -1447,7 +1447,7 @@ void seqbuf_dump(void);	/* This function
 	SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
 
 /*
- * Timing and syncronization macros
+ * Timing and synchronization macros
  */
 
 #define _TIMER_EVENT(ev, parm)		{ \

Modified: head/sys/sys/sx.h
==============================================================================
--- head/sys/sys/sx.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/sx.h	Tue May  3 15:14:17 2016	(r298981)
@@ -308,7 +308,7 @@ __sx_sunlock(struct sx *sx, const char *
 #define	SA_RECURSED		LA_RECURSED
 #define	SA_NOTRECURSED		LA_NOTRECURSED
 
-/* Backwards compatability. */
+/* Backwards compatibility. */
 #define	SX_LOCKED		LA_LOCKED
 #define	SX_SLOCKED		LA_SLOCKED
 #define	SX_XLOCKED		LA_XLOCKED

Modified: head/sys/sys/sysctl.h
==============================================================================
--- head/sys/sys/sysctl.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/sysctl.h	Tue May  3 15:14:17 2016	(r298981)
@@ -608,7 +608,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_e
 	    __ptr, 0, sysctl_handle_64, "QU", __DESCR(descr));		\
 })
 
-/* Oid for a CPU dependant variable */
+/* Oid for a CPU dependent variable */
 #define	SYSCTL_ADD_UAUTO(ctx, parent, nbr, name, access, ptr, descr)	\
 ({									\
 	struct sysctl_oid *__ret;					\
@@ -753,7 +753,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_e
 })
 
 /*
- * A macro to generate a read-only sysctl to indicate the presense of optional
+ * A macro to generate a read-only sysctl to indicate the presence of optional
  * kernel features.
  */
 #define	FEATURE(name, desc)						\

Modified: head/sys/sys/timex.h
==============================================================================
--- head/sys/sys/timex.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/timex.h	Tue May  3 15:14:17 2016	(r298981)
@@ -105,7 +105,7 @@
 #define TIME_INS	1		/* insert leap second warning */
 #define TIME_DEL	2		/* delete leap second warning */
 #define TIME_OOP	3		/* leap second in progress */
-#define TIME_WAIT	4		/* leap second has occured */
+#define TIME_WAIT	4		/* leap second has occurred */
 #define TIME_ERROR	5		/* error (see status word) */
 
 /*

Modified: head/sys/sys/user.h
==============================================================================
--- head/sys/sys/user.h	Tue May  3 15:06:29 2016	(r298980)
+++ head/sys/sys/user.h	Tue May  3 15:14:17 2016	(r298981)
@@ -296,7 +296,7 @@ struct user {
 
 /*
  * Old format.  Has variable hidden padding due to alignment.
- * This is a compatability hack for pre-build 7.1 packages.
+ * This is a compatibility hack for pre-build 7.1 packages.
  */
 #if defined(__amd64__)
 #define	KINFO_OFILE_SIZE	1328



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605031514.u43FEH4F078126>