diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-30 00:53:10 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-30 00:53:10 +0000 |
commit | 1ce4275dd2c639eb1ce78cba2fd31d4b61f72562 (patch) | |
tree | 9e9b96bea2930f9753734791c14ec7c6eca81063 /sys | |
parent | 72ffecf147ad107e69a87f7f539b5ea5d232f2e5 (diff) | |
download | src-1ce4275dd2c639eb1ce78cba2fd31d4b61f72562.tar.gz src-1ce4275dd2c639eb1ce78cba2fd31d4b61f72562.zip |
sys/compat/linux*: spelling fixes.
Mostly on comments but there are some user-visible messages as well.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=298829
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/check_internal_locks.d | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_fork.c | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_misc.c | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_socket.h | 2 | ||||
-rw-r--r-- | sys/compat/linux/trace_futexes.d | 2 | ||||
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/dma-mapping.h | 2 | ||||
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/dmapool.h | 2 | ||||
-rw-r--r-- | sys/compat/linuxkpi/common/src/linux_radix.c | 2 | ||||
-rw-r--r-- | sys/compat/linuxkpi/common/src/linux_usb.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/sys/compat/linux/check_internal_locks.d b/sys/compat/linux/check_internal_locks.d index b9d7c61f82ca..644323e43a73 100644 --- a/sys/compat/linux/check_internal_locks.d +++ b/sys/compat/linux/check_internal_locks.d @@ -64,7 +64,7 @@ linuxulator*:locks:futex_mtx:locked linuxulator*:locks:futex_mtx:unlock /check[probefunc] == 0/ { - printf("ERROR: unlock attemt of unlocked %s (%p),", probefunc, arg0); + printf("ERROR: unlock attempt of unlocked %s (%p),", probefunc, arg0); printf(" missing SDT probe in kernel, or dtrace program started"); printf(" while the %s was already held (race condition).", probefunc); printf(" Stack trace follows:"); diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c index 94d9df5d8020..de1d041c19ec 100644 --- a/sys/compat/linux/linux_fork.c +++ b/sys/compat/linux/linux_fork.c @@ -163,7 +163,7 @@ linux_clone_proc(struct thread *td, struct linux_clone_args *args) ff |= RFSIGSHARE; /* * XXX: In Linux, sharing of fs info (chroot/cwd/umask) - * and open files is independant. In FreeBSD, its in one + * and open files is independent. In FreeBSD, its in one * structure but in reality it does not cause any problems * because both of these flags are usually set together. */ diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 98a842c0a8df..bd3d6aa9d494 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -199,7 +199,7 @@ linux_alarm(struct thread *td, struct linux_alarm_args *args) #endif secs = args->secs; /* - * Linux alarm() is always successfull. Limit secs to INT32_MAX / 2 + * Linux alarm() is always successful. Limit secs to INT32_MAX / 2 * to match kern_setitimer()'s limit to avoid error from it. * * XXX. Linux limit secs to INT_MAX on 32 and does not limit on 64-bit diff --git a/sys/compat/linux/linux_socket.h b/sys/compat/linux/linux_socket.h index 25c0ec3d686a..63fae690e062 100644 --- a/sys/compat/linux/linux_socket.h +++ b/sys/compat/linux/linux_socket.h @@ -79,7 +79,7 @@ struct l_cmsghdr { l_int cmsg_type; }; -/* Ancilliary data object information macros */ +/* Ancillary data object information macros */ #define LINUX_CMSG_ALIGN(len) roundup2(len, sizeof(l_ulong)) #define LINUX_CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + \ diff --git a/sys/compat/linux/trace_futexes.d b/sys/compat/linux/trace_futexes.d index bd9dac6b1c52..d8879fc77951 100644 --- a/sys/compat/linux/trace_futexes.d +++ b/sys/compat/linux/trace_futexes.d @@ -120,7 +120,7 @@ linuxulator*:locks:futex_mtx:locked linuxulator*:locks:futex_mtx:unlock /check[probefunc, arg0] == 0/ { - printf("ERROR: unlock attemt of unlocked %s (%p),", probefunc, arg0); + printf("ERROR: unlock attempt of unlocked %s (%p),", probefunc, arg0); printf(" missing SDT probe in kernel, or dtrace program started"); printf(" while the %s was already held (race condition).", probefunc); printf(" Stack trace follows:"); diff --git a/sys/compat/linuxkpi/common/include/linux/dma-mapping.h b/sys/compat/linuxkpi/common/include/linux/dma-mapping.h index f18f53dd654d..87bc25ed3906 100644 --- a/sys/compat/linuxkpi/common/include/linux/dma-mapping.h +++ b/sys/compat/linuxkpi/common/include/linux/dma-mapping.h @@ -115,7 +115,7 @@ dma_set_coherent_mask(struct device *dev, u64 mask) if (!dma_supported(dev, mask)) return -EIO; - /* XXX Currently we don't support a seperate coherent mask. */ + /* XXX Currently we don't support a separate coherent mask. */ return 0; } diff --git a/sys/compat/linuxkpi/common/include/linux/dmapool.h b/sys/compat/linuxkpi/common/include/linux/dmapool.h index 3ea2d5b0a491..0253d6f63e49 100644 --- a/sys/compat/linuxkpi/common/include/linux/dmapool.h +++ b/sys/compat/linuxkpi/common/include/linux/dmapool.h @@ -50,7 +50,7 @@ dma_pool_create(char *name, struct device *dev, size_t size, pool = kmalloc(sizeof(*pool), GFP_KERNEL); align--; /* - * XXX Eventually this could use a seperate allocf to honor boundary + * XXX Eventually this could use a separate allocf to honor boundary * and physical address requirements of the device. */ pool->pool_zone = uma_zcreate(name, size, NULL, NULL, NULL, NULL, diff --git a/sys/compat/linuxkpi/common/src/linux_radix.c b/sys/compat/linuxkpi/common/src/linux_radix.c index 1cd9e45e5b72..6a8bd11a6813 100644 --- a/sys/compat/linuxkpi/common/src/linux_radix.c +++ b/sys/compat/linuxkpi/common/src/linux_radix.c @@ -187,7 +187,7 @@ radix_tree_insert(struct radix_tree_root *root, unsigned long index, void *item) if (temp[idx] == NULL) { while(idx--) free(temp[idx], M_RADIX); - /* check if we should free the root node aswell */ + /* Check if we should free the root node as well. */ if (root->rnode->count == 0) { free(root->rnode, M_RADIX); root->rnode = NULL; diff --git a/sys/compat/linuxkpi/common/src/linux_usb.c b/sys/compat/linuxkpi/common/src/linux_usb.c index b7ef53889179..54a7abb5e3f6 100644 --- a/sys/compat/linuxkpi/common/src/linux_usb.c +++ b/sys/compat/linuxkpi/common/src/linux_usb.c @@ -649,7 +649,7 @@ done: * Return values: * 0: Success * < 0: Failure - * > 0: Acutal length + * > 0: Actual length *------------------------------------------------------------------------*/ int usb_control_msg(struct usb_device *dev, struct usb_host_endpoint *uhe, |