From owner-svn-src-head@freebsd.org Sat Apr 30 00:53:12 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F6C5B2135F; Sat, 30 Apr 2016 00:53:12 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A65F1A6B; Sat, 30 Apr 2016 00:53:12 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3U0rB3u096688; Sat, 30 Apr 2016 00:53:11 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3U0rA4D096679; Sat, 30 Apr 2016 00:53:10 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201604300053.u3U0rA4D096679@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Sat, 30 Apr 2016 00:53:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298829 - in head/sys/compat: linux linuxkpi/common/include/linux linuxkpi/common/src X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 00:53:12 -0000 Author: pfg Date: Sat Apr 30 00:53:10 2016 New Revision: 298829 URL: https://svnweb.freebsd.org/changeset/base/298829 Log: sys/compat/linux*: spelling fixes. Mostly on comments but there are some user-visible messages as well. MFC after: 2 weeks Modified: head/sys/compat/linux/check_internal_locks.d head/sys/compat/linux/linux_fork.c head/sys/compat/linux/linux_misc.c head/sys/compat/linux/linux_socket.h head/sys/compat/linux/trace_futexes.d head/sys/compat/linuxkpi/common/include/linux/dma-mapping.h head/sys/compat/linuxkpi/common/include/linux/dmapool.h head/sys/compat/linuxkpi/common/src/linux_radix.c head/sys/compat/linuxkpi/common/src/linux_usb.c Modified: head/sys/compat/linux/check_internal_locks.d ============================================================================== --- head/sys/compat/linux/check_internal_locks.d Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linux/check_internal_locks.d Sat Apr 30 00:53:10 2016 (r298829) @@ -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:"); Modified: head/sys/compat/linux/linux_fork.c ============================================================================== --- head/sys/compat/linux/linux_fork.c Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linux/linux_fork.c Sat Apr 30 00:53:10 2016 (r298829) @@ -163,7 +163,7 @@ linux_clone_proc(struct thread *td, stru 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. */ Modified: head/sys/compat/linux/linux_misc.c ============================================================================== --- head/sys/compat/linux/linux_misc.c Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linux/linux_misc.c Sat Apr 30 00:53:10 2016 (r298829) @@ -199,7 +199,7 @@ linux_alarm(struct thread *td, struct li #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 Modified: head/sys/compat/linux/linux_socket.h ============================================================================== --- head/sys/compat/linux/linux_socket.h Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linux/linux_socket.h Sat Apr 30 00:53:10 2016 (r298829) @@ -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) + \ Modified: head/sys/compat/linux/trace_futexes.d ============================================================================== --- head/sys/compat/linux/trace_futexes.d Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linux/trace_futexes.d Sat Apr 30 00:53:10 2016 (r298829) @@ -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:"); Modified: head/sys/compat/linuxkpi/common/include/linux/dma-mapping.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/dma-mapping.h Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linuxkpi/common/include/linux/dma-mapping.h Sat Apr 30 00:53:10 2016 (r298829) @@ -115,7 +115,7 @@ dma_set_coherent_mask(struct device *dev 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; } Modified: head/sys/compat/linuxkpi/common/include/linux/dmapool.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/dmapool.h Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linuxkpi/common/include/linux/dmapool.h Sat Apr 30 00:53:10 2016 (r298829) @@ -50,7 +50,7 @@ dma_pool_create(char *name, struct devic 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, Modified: head/sys/compat/linuxkpi/common/src/linux_radix.c ============================================================================== --- head/sys/compat/linuxkpi/common/src/linux_radix.c Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linuxkpi/common/src/linux_radix.c Sat Apr 30 00:53:10 2016 (r298829) @@ -187,7 +187,7 @@ radix_tree_insert(struct radix_tree_root 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; Modified: head/sys/compat/linuxkpi/common/src/linux_usb.c ============================================================================== --- head/sys/compat/linuxkpi/common/src/linux_usb.c Sat Apr 30 00:35:46 2016 (r298828) +++ head/sys/compat/linuxkpi/common/src/linux_usb.c Sat Apr 30 00:53:10 2016 (r298829) @@ -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,