Re: svn commit: r303530 - head/lib/libc/gen

2016-07-29 Thread Andrey Chernov
On 30.07.2016 7:15, Bruce Evans wrote: > On Sat, 30 Jul 2016, Andrey A. Chernov wrote: > >> Log: >> Reset errno for readdirfunc() before contunue. > > In C99, library functions are not permitted to set errno to 0. The glob() > family shouldn't use a different (worse) convention, and POSIX

Re: svn commit: r303530 - head/lib/libc/gen

2016-07-29 Thread Bruce Evans
On Sat, 30 Jul 2016, Andrey A. Chernov wrote: Log: Reset errno for readdirfunc() before contunue. In C99, library functions are not permitted to set errno to 0. The glob() family shouldn't use a different (worse) convention, and POSIX doesn't seem to have any special wording to allow

svn commit: r303537 - head

2016-07-29 Thread Mark Johnston
Author: markj Date: Sat Jul 30 03:43:55 2016 New Revision: 303537 URL: https://svnweb.freebsd.org/changeset/base/303537 Log: Add libprocstat prebuild library dependencies. X-MFC-With: r303531 Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r303535 - in head/sys/cddl/contrib/opensolaris/uts: common/dtrace intel/dtrace

2016-07-29 Thread Mark Johnston
Author: markj Date: Sat Jul 30 03:11:53 2016 New Revision: 303535 URL: https://svnweb.freebsd.org/changeset/base/303535 Log: Include fasttrap handling for DATAMODEL_ILP32 when compiling for amd64. MFC after:1 month Modified:

svn commit: r303534 - in head/cddl/contrib/opensolaris/lib/libdtrace: arm i386

2016-07-29 Thread Mark Johnston
Author: markj Date: Sat Jul 30 03:09:57 2016 New Revision: 303534 URL: https://svnweb.freebsd.org/changeset/base/303534 Log: libdtrace: Don't hard-code the native data model. MFC after:1 month Modified: head/cddl/contrib/opensolaris/lib/libdtrace/arm/dt_isadep.c

svn commit: r303533 - in head: lib/libproc share/mk

2016-07-29 Thread Mark Johnston
Author: markj Date: Sat Jul 30 03:09:23 2016 New Revision: 303533 URL: https://svnweb.freebsd.org/changeset/base/303533 Log: libproc: Add proc_getmodel(). This is used by libdtrace to determine the data model of target processes. This allows for the creation of pid provider probes in

svn commit: r303532 - head/lib/libproc

2016-07-29 Thread Mark Johnston
Author: markj Date: Sat Jul 30 03:07:14 2016 New Revision: 303532 URL: https://svnweb.freebsd.org/changeset/base/303532 Log: Add descriptions for fields in struct proc_handle. Remove the unused kq field and some unnecessary includes. MFC after:1 month Modified:

svn commit: r303531 - in head: . lib/librtld_db share/mk

2016-07-29 Thread Mark Johnston
Author: markj Date: Sat Jul 30 03:05:23 2016 New Revision: 303531 URL: https://svnweb.freebsd.org/changeset/base/303531 Log: librtld_db: Use the auxv to figure out where to look up loader symbols. Previously, librtld_db just hardcoded /libexec/ld-elf.so, which isn't correct for processes

svn commit: r303530 - head/lib/libc/gen

2016-07-29 Thread Andrey A. Chernov
Author: ache Date: Sat Jul 30 02:09:11 2016 New Revision: 303530 URL: https://svnweb.freebsd.org/changeset/base/303530 Log: Reset errno for readdirfunc() before contunue. Modified: head/lib/libc/gen/glob.c Modified: head/lib/libc/gen/glob.c

Re: svn commit: r303524 - in head: include lib/libc/stdio

2016-07-29 Thread Bruce Evans
On Sat, 30 Jul 2016, Baptiste Daroussin wrote: Log: Remove _WITH_GETLINE and _WITH_DPRINTF guards When adding getline(3) and dprintf(3) into libc, those guards were added to prevent breaking too many ports. 7 years later the ports tree have been fixed, it is time to remove this

Re: svn commit: r303523 - head/usr.bin/indent

2016-07-29 Thread Bruce Evans
On Fri, 29 Jul 2016, Pedro F. Giffuni wrote: Log: indent(1): Attempt to preserve some consistent style. Remove the excessive braces from r303485 and align the comments to the right as done in the rest of the code. This is not nice but there is no clear way to make it nice (and KNF).

svn commit: r303529 - in head: contrib/libexecinfo lib/libc/stdio sys/contrib/libnv

2016-07-29 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 30 01:16:06 2016 New Revision: 303529 URL: https://svnweb.freebsd.org/changeset/base/303529 Log: Remove usage of _WITH_DPRINTF Modified: head/contrib/libexecinfo/backtrace.c head/lib/libc/stdio/dprintf.c head/sys/contrib/libnv/nvlist.c Modified:

svn commit: r303528 - in head: contrib/ofed/usr.lib/libibverbs lib/libc/stdio lib/libc/tests/stdio

2016-07-29 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 30 01:13:54 2016 New Revision: 303528 URL: https://svnweb.freebsd.org/changeset/base/303528 Log: Remove last traces of _WITH_GETLINE Modified: head/contrib/ofed/usr.lib/libibverbs/config.h head/lib/libc/stdio/getline.c head/lib/libc/tests/stdio/getdelim_test.c

svn commit: r303527 - in head/usr.sbin: autofs pkg pw services_mkdb

2016-07-29 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 30 01:10:05 2016 New Revision: 303527 URL: https://svnweb.freebsd.org/changeset/base/303527 Log: Remove usage of _WITH_GETLINE from usr.sbin Modified: head/usr.sbin/autofs/common.c head/usr.sbin/pkg/pkg.c head/usr.sbin/pw/pw.h head/usr.sbin/pw/pw_vpw.c

svn commit: r303526 - in head/usr.bin: calendar checknr comm grep mandoc sdiff sed soelim uniq

2016-07-29 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 30 01:07:47 2016 New Revision: 303526 URL: https://svnweb.freebsd.org/changeset/base/303526 Log: Remove usage of _WITH_GETLINE from usr.bin Modified: head/usr.bin/calendar/io.c head/usr.bin/checknr/checknr.c head/usr.bin/comm/comm.c head/usr.bin/grep/grep.c

Re: svn commit: r303502 - head/usr.bin/indent

2016-07-29 Thread Pedro Giffuni
On 07/29/16 19:00, Bruce Evans wrote: On Fri, 29 Jul 2016, Pedro F. Giffuni wrote: Log: indent(1): Use NULL instead of zero for pointers. This is probably not indent's style, I doubt that you found all of the implicit NULLs. A recent commit added strstr() without even a comparison with

svn commit: r303525 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jul 30 01:04:18 2016 New Revision: 303525 URL: https://svnweb.freebsd.org/changeset/base/303525 Log: indent(1): Yet more style issues. strchr(3) returns a pointer not a boolean. Attempt to make the style somewhat more ocnsistent with what indent had before recent

svn commit: r303524 - in head: include lib/libc/stdio

2016-07-29 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 30 01:00:16 2016 New Revision: 303524 URL: https://svnweb.freebsd.org/changeset/base/303524 Log: Remove _WITH_GETLINE and _WITH_DPRINTF guards When adding getline(3) and dprintf(3) into libc, those guards were added to prevent breaking too many ports. 7

Re: svn commit: r303503 - head/sys/kern

2016-07-29 Thread Bruce Evans
On Fri, 29 Jul 2016, John Baldwin wrote: Log: Don't treat NOCPU as a valid CPU to CPU_ISSET. If a thread is created bound to a cpuset it might already be bound before it's very first timeslice, and td_lastcpu will be NOCPU in that case. MFC after: 1 week Thanks. Did you get this

Re: svn commit: r303502 - head/usr.bin/indent

2016-07-29 Thread Bruce Evans
On Fri, 29 Jul 2016, Pedro F. Giffuni wrote: Log: indent(1): Use NULL instead of zero for pointers. This is probably not indent's style, I doubt that you found all of the implicit NULLs. A recent commit added strstr() without even a comparison with 0. This adds some lexical style bugs.

Re: svn commit: r303487 - head/usr.bin/indent

2016-07-29 Thread Bruce Evans
On Fri, 29 Jul 2016, Piotr Stefaniak wrote: On 2016-07-29 18:28, Pedro F. Giffuni wrote: Log: indent(1): fix struct termination detection. Small style cleanup while here. Wrong commit message. Actually committed here is: Support "f" and "F" floating constant suffixes. ... Also: Add

svn commit: r303523 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 23:30:33 2016 New Revision: 303523 URL: https://svnweb.freebsd.org/changeset/base/303523 Log: indent(1): Attempt to preserve some consistent style. Remove the excessive braces from r303485 and align the comments to the right as done in the rest of the code.

Re: svn commit: r303485 - head/usr.bin/indent

2016-07-29 Thread Bruce Evans
On Fri, 29 Jul 2016, Pedro F. Giffuni wrote: Log: indent(1): fix struct termination detection. Semicolons inside struct declarations don't end the declarations. Differential Revision: https://reviews.freebsd.org/D6966 (Partial) Obtained from: Piotr Stefaniak Modified:

svn commit: r303522 - head/sys/dev/cxgbe

2016-07-29 Thread John Baldwin
Author: jhb Date: Fri Jul 29 22:11:29 2016 New Revision: 303522 URL: https://svnweb.freebsd.org/changeset/base/303522 Log: Various fixes to the t4/5nex character device. - Remove null open/close methods. - Don't set d_flags to 0 explicitly. - Remove t5_cdevsw as the .d_name member

svn commit: r303521 - head/contrib/llvm/projects/libunwind/src

2016-07-29 Thread Ed Maste
Author: emaste Date: Fri Jul 29 21:37:00 2016 New Revision: 303521 URL: https://svnweb.freebsd.org/changeset/base/303521 Log: libunwind: correct return code in unwinding trace log message Obtained from:LLVM r277215 MFC after:3 days Sponsored by: The FreeBSD Foundation

svn commit: r303520 - head/usr.bin/cpuset

2016-07-29 Thread Eric van Gyzen
Author: vangyzen Date: Fri Jul 29 21:18:20 2016 New Revision: 303520 URL: https://svnweb.freebsd.org/changeset/base/303520 Log: Fix markup for -j in cpuset(1) synopsis MFC after:3 days Sponsored by: Dell Inc. Modified: head/usr.bin/cpuset/cpuset.1 Modified:

svn commit: r303519 - head/share/man/man9

2016-07-29 Thread Eric van Gyzen
Author: vangyzen Date: Fri Jul 29 21:12:48 2016 New Revision: 303519 URL: https://svnweb.freebsd.org/changeset/base/303519 Log: Fix two return types in the cpuset(9) and bitset(9) man pages The *_FFS() and *_COUNT() functions return int, not size_t. MFC after:3 days Sponsored

svn commit: r303518 - head/contrib/blacklist/lib

2016-07-29 Thread Kurt Lidl
Author: lidl Date: Fri Jul 29 21:11:32 2016 New Revision: 303518 URL: https://svnweb.freebsd.org/changeset/base/303518 Log: libblacklist: Do not use %m for logging, use strerror(errno) The blacklist library can accept a function to use for logging, defaulting to vsyslog(), if no function

svn commit: r303516 - head/sys/vm

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 21:05:37 2016 New Revision: 303516 URL: https://svnweb.freebsd.org/changeset/base/303516 Log: Use vm_page_undirty() instead of manually setting a page field. Reviewed by: alc MFC after:3 days Modified: head/sys/vm/vm_page.c Modified:

svn commit: r303515 - head/usr.bin/resizewin

2016-07-29 Thread Kurt Lidl
Author: lidl Date: Fri Jul 29 21:05:17 2016 New Revision: 303515 URL: https://svnweb.freebsd.org/changeset/base/303515 Log: Make resizewin.1 manpage use .Fx macro Fix capitalization of "PuTTY" also. MFC after:1 week Modified: head/usr.bin/resizewin/resizewin.1 Modified:

svn commit: r303513 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 21:03:02 2016 New Revision: 303513 URL: https://svnweb.freebsd.org/changeset/base/303513 Log: sdp: Destroy the RDMA ID after destroying the connection's queue pair. This is the ordering documented by rdma_destroy_qp(). Also add a useful KASSERT to

svn commit: r303514 - head/sys/dev/ntb

2016-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 21:03:30 2016 New Revision: 303514 URL: https://svnweb.freebsd.org/changeset/base/303514 Log: Fix NTBT_QP_LINKS negotiation. I believe it never worked correctly for more the one queue even in Linux. This fixes case when one of consumer drivers is not loaded

svn commit: r303512 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 21:01:04 2016 New Revision: 303512 URL: https://svnweb.freebsd.org/changeset/base/303512 Log: sdp: Use malloc(9) instead of the Linux compat layer. SDP transmit and receive rings are always created in a sleepable context, so we can use M_WAITOK and remove

svn commit: r303511 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:54:43 2016 New Revision: 303511 URL: https://svnweb.freebsd.org/changeset/base/303511 Log: sdp: Use the correct socket buffer in sdp_post_recvs_needed(). Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r303509 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:51:52 2016 New Revision: 303509 URL: https://svnweb.freebsd.org/changeset/base/303509 Log: sdp: Always free received control packets after they're handled. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r303510 - head/sys/dev/ntb/ntb_hw

2016-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 20:52:18 2016 New Revision: 303510 URL: https://svnweb.freebsd.org/changeset/base/303510 Log: Clear scratchpad after MSIX negotiation to not leak garbage. Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c

svn commit: r303508 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:48:42 2016 New Revision: 303508 URL: https://svnweb.freebsd.org/changeset/base/303508 Log: Fix the KASSERT format string arguments after r303507. Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c Modified:

svn commit: r303507 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:39:32 2016 New Revision: 303507 URL: https://svnweb.freebsd.org/changeset/base/303507 Log: sdp: Use the PCB as the rx completion handler argument. The generic socket may be detached from the PCB before the completion queue is drained and destroyed, so

svn commit: r303506 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:36:01 2016 New Revision: 303506 URL: https://svnweb.freebsd.org/changeset/base/303506 Log: sdp: Destroy the PCB lock before freeing to the zone. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c

svn commit: r303505 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:35:04 2016 New Revision: 303505 URL: https://svnweb.freebsd.org/changeset/base/303505 Log: sdp: Use an mbufq for received control packets. This is simpler than the hand-rolled queue, and fixes a use-after-free. Sponsored by: EMC / Isilon Storage

svn commit: r303504 - head/sys/ofed/drivers/infiniband/ulp/sdp

2016-07-29 Thread Mark Johnston
Author: markj Date: Fri Jul 29 20:33:43 2016 New Revision: 303504 URL: https://svnweb.freebsd.org/changeset/base/303504 Log: sdp: Remove Linux build files. They aren't useful here, and Linux seems to have largely abandoned SDP anyway. Sponsored by: EMC / Isilon Storage Division

svn commit: r303503 - head/sys/kern

2016-07-29 Thread John Baldwin
Author: jhb Date: Fri Jul 29 20:19:14 2016 New Revision: 303503 URL: https://svnweb.freebsd.org/changeset/base/303503 Log: Don't treat NOCPU as a valid CPU to CPU_ISSET. If a thread is created bound to a cpuset it might already be bound before it's very first timeslice, and td_lastcpu

svn commit: r303502 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 19:36:10 2016 New Revision: 303502 URL: https://svnweb.freebsd.org/changeset/base/303502 Log: indent(1): Use NULL instead of zero for pointers. Modified: head/usr.bin/indent/args.c head/usr.bin/indent/indent.c head/usr.bin/indent/io.c

svn commit: r303501 - in head: sys/kern tests/sys/aio

2016-07-29 Thread John Baldwin
Author: jhb Date: Fri Jul 29 18:26:15 2016 New Revision: 303501 URL: https://svnweb.freebsd.org/changeset/base/303501 Log: Fix locking issues with aio_fsync(). - Use correct lock in aio_cancel_sync when dequeueing job. - Add _locked variants of aio_set/clear_cancel_function and use those

Re: svn commit: r303501 - in head: sys/kern tests/sys/aio

2016-07-29 Thread John Baldwin
On Friday, July 29, 2016 06:26:15 PM John Baldwin wrote: > Author: jhb > Date: Fri Jul 29 18:26:15 2016 > New Revision: 303501 > URL: https://svnweb.freebsd.org/changeset/base/303501 > > Log: > Fix locking issues with aio_fsync(). > > - Use correct lock in aio_cancel_sync when dequeueing

Re: svn commit: r303487 - head/usr.bin/indent

2016-07-29 Thread Pedro Giffuni
On 07/29/16 12:06, Piotr Stefaniak wrote: On 2016-07-29 18:28, Pedro F. Giffuni wrote: Author: pfg Date: Fri Jul 29 16:28:51 2016 New Revision: 303487 URL: https://svnweb.freebsd.org/changeset/base/303487 Log: indent(1): fix struct termination detection. Small style cleanup while here.

Re: svn commit: r303497 - head/sys/dev/pci

2016-07-29 Thread John Baldwin
On Friday, July 29, 2016 11:04:01 AM Ngie Cooper wrote: > > > On Jul 29, 2016, at 10:54, John Baldwin wrote: > > > > Author: jhb > > Date: Fri Jul 29 17:54:21 2016 > > New Revision: 303497 > > URL: https://svnweb.freebsd.org/changeset/base/303497 > > > > Log: > > Add a

Re: svn commit: r303497 - head/sys/dev/pci

2016-07-29 Thread Ngie Cooper
> On Jul 29, 2016, at 10:54, John Baldwin wrote: > > Author: jhb > Date: Fri Jul 29 17:54:21 2016 > New Revision: 303497 > URL: https://svnweb.freebsd.org/changeset/base/303497 > > Log: > Add a loader tunable (hw.pci.enable_pcie_hp) to disable PCI-e HotPlug. > > Some

svn commit: r303499 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 18:00:10 2016 New Revision: 303499 URL: https://svnweb.freebsd.org/changeset/base/303499 Log: indent(1): Support "f" and "F" floating constant suffixes. Actually this just brings back r303487 with the correct commit log. Differential Revision:

svn commit: r303498 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 17:55:38 2016 New Revision: 303498 URL: https://svnweb.freebsd.org/changeset/base/303498 Log: Revert r303487: Wrong commit log. Will be brought back with the correct log. Modified: head/usr.bin/indent/lexi.c Modified: head/usr.bin/indent/lexi.c

svn commit: r303497 - head/sys/dev/pci

2016-07-29 Thread John Baldwin
Author: jhb Date: Fri Jul 29 17:54:21 2016 New Revision: 303497 URL: https://svnweb.freebsd.org/changeset/base/303497 Log: Add a loader tunable (hw.pci.enable_pcie_hp) to disable PCI-e HotPlug. Some systems and/or devices (such as riser cards) do not include a non-compliant

svn commit: r303495 - in head: include/xlocale lib/libc/locale

2016-07-29 Thread Ed Schouten
Author: ed Date: Fri Jul 29 17:18:47 2016 New Revision: 303495 URL: https://svnweb.freebsd.org/changeset/base/303495 Log: Change the return type of freelocale(3) to void. Our version of this function currently returns an integer indicating failure or success, whereas POSIX specifies that

svn commit: r303494 - in head: share/man/man4 sys/dev/ntb sys/dev/ntb/if_ntb

2016-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 17:15:41 2016 New Revision: 303494 URL: https://svnweb.freebsd.org/changeset/base/303494 Log: Once more refactor KPI between ntb_transport(4) and if_ntb(4).. New design allows to attach multiple consumers to ntb_transport(4) instance. Previous design obtained

Re: svn commit: r303487 - head/usr.bin/indent

2016-07-29 Thread Piotr Stefaniak
On 2016-07-29 18:28, Pedro F. Giffuni wrote: Author: pfg Date: Fri Jul 29 16:28:51 2016 New Revision: 303487 URL: https://svnweb.freebsd.org/changeset/base/303487 Log: indent(1): fix struct termination detection. Small style cleanup while here. Wrong commit message. Actually committed

svn commit: r303492 - head/sys/vm

2016-07-29 Thread Alan Cox
Author: alc Date: Fri Jul 29 16:43:51 2016 New Revision: 303492 URL: https://svnweb.freebsd.org/changeset/base/303492 Log: Remove a probe declaration that has been unused since r292469, when vm_pageout_grow_cache() was replaced. MFC after:3 days Modified: head/sys/vm/vm_pageout.c

svn commit: r303491 - head/sys/x86/x86

2016-07-29 Thread Roger Pau Monné
Author: royger Date: Fri Jul 29 16:35:58 2016 New Revision: 303491 URL: https://svnweb.freebsd.org/changeset/base/303491 Log: Revert r291022: x86/intr: allow mutex recursion in intr_remove_handler This was only needed for Xen, and a better way to deal with this issue has been found, so

svn commit: r303490 - head/sys/x86/xen

2016-07-29 Thread Roger Pau Monné
Author: royger Date: Fri Jul 29 16:34:54 2016 New Revision: 303490 URL: https://svnweb.freebsd.org/changeset/base/303490 Log: xen-intr: fix removal of event channels during resume Event channel handlers cannot be removed during resume because there might be an interrupt thread running on

svn commit: r303489 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 16:34:16 2016 New Revision: 303489 URL: https://svnweb.freebsd.org/changeset/base/303489 Log: indent(1): Removed whitespace shouldn't be considered in column calculations. This piece of code removed tabs and space characters from after colons that follow

svn commit: r303488 - head/sys/dev/xen/netfront

2016-07-29 Thread Roger Pau Monné
Author: royger Date: Fri Jul 29 16:33:45 2016 New Revision: 303488 URL: https://svnweb.freebsd.org/changeset/base/303488 Log: xen-netfront: fix trying to send packets with disconnected netfront In certain circumstances xn_txq_mq_start might be called with num_queues == 0 during the

svn commit: r303487 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 16:28:51 2016 New Revision: 303487 URL: https://svnweb.freebsd.org/changeset/base/303487 Log: indent(1): fix struct termination detection. Small style cleanup while here. Differential Revision: https://reviews.freebsd.org/D6966 (Partial) Obtained from:

Re: svn commit: r303484 - head/usr.bin/indent

2016-07-29 Thread Benjamin Kaduk
On Fri, Jul 29, 2016 at 11:17 AM, Pedro F. Giffuni wrote: > Author: pfg > Date: Fri Jul 29 16:17:54 2016 > New Revision: 303484 > URL: https://svnweb.freebsd.org/changeset/base/303484 > > Log: > indent(1): Fix breakage caused by single comment following "else". > >

svn commit: r303486 - head/lib/libc/gen

2016-07-29 Thread Ed Schouten
Author: ed Date: Fri Jul 29 16:25:09 2016 New Revision: 303486 URL: https://svnweb.freebsd.org/changeset/base/303486 Log: Mention that basename(3) and dirname(3) will change in the future. Update the existing manual pages for basename(3) and dirname(3) to mention that in future versions

Re: svn commit: r303484 - head/usr.bin/indent

2016-07-29 Thread Benjamin Kaduk
On Fri, Jul 29, 2016 at 11:20 AM, Benjamin Kaduk wrote: > On Fri, Jul 29, 2016 at 11:17 AM, Pedro F. Giffuni > wrote: > >> Author: pfg >> Date: Fri Jul 29 16:17:54 2016 >> New Revision: 303484 >> URL: https://svnweb.freebsd.org/changeset/base/303484 >> >>

svn commit: r303485 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 16:23:00 2016 New Revision: 303485 URL: https://svnweb.freebsd.org/changeset/base/303485 Log: indent(1): fix struct termination detection. Semicolons inside struct declarations don't end the declarations. Differential Revision:

svn commit: r303484 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 16:17:54 2016 New Revision: 303484 URL: https://svnweb.freebsd.org/changeset/base/303484 Log: indent(1): Fix breakage caused by single comment following "else". indent(1) simply wasn't taught that "else" may be followed by a comment without any opening brace

svn commit: r303482 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 16:09:05 2016 New Revision: 303482 URL: https://svnweb.freebsd.org/changeset/base/303482 Log: indent(1): Avoid out of bound access of array codebuf. dump_line() requires s_code to be a string, because it will call count_spaces(). Differential Revision:

svn commit: r303483 - head/usr.bin/indent

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 16:14:03 2016 New Revision: 303483 URL: https://svnweb.freebsd.org/changeset/base/303483 Log: indent(1): Avoid potential use-after-free. last_bl is a char pointer that tracks the last blank character in a comment, which is used for wrapping long comment

svn commit: r303481 - head/sys/conf

2016-07-29 Thread Warner Losh
Author: imp Date: Fri Jul 29 15:24:50 2016 New Revision: 303481 URL: https://svnweb.freebsd.org/changeset/base/303481 Log: Fix typo. Modified: head/sys/conf/files Modified: head/sys/conf/files == ---

svn commit: r303480 - in head/sys/modules/dtrace: . dtraceall

2016-07-29 Thread Ruslan Bukin
Author: br Date: Fri Jul 29 12:30:33 2016 New Revision: 303480 URL: https://svnweb.freebsd.org/changeset/base/303480 Log: Include FBT to modules build on RISC-V. Modified: head/sys/modules/dtrace/Makefile head/sys/modules/dtrace/dtraceall/dtraceall.c Modified:

svn commit: r303479 - head/sys/cddl/dev/fbt/riscv

2016-07-29 Thread Ruslan Bukin
Author: br Date: Fri Jul 29 12:29:17 2016 New Revision: 303479 URL: https://svnweb.freebsd.org/changeset/base/303479 Log: Remove unused variables. Modified: head/sys/cddl/dev/fbt/riscv/fbt_isa.c Modified: head/sys/cddl/dev/fbt/riscv/fbt_isa.c

svn commit: r303478 - head/sys/fs/autofs

2016-07-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 29 12:15:55 2016 New Revision: 303478 URL: https://svnweb.freebsd.org/changeset/base/303478 Log: Remove write-only variable. MFC after:1 month Modified: head/sys/fs/autofs/autofs_vnops.c Modified: head/sys/fs/autofs/autofs_vnops.c

svn commit: r303476 - head/sys/dev/usb/template

2016-07-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 29 11:33:01 2016 New Revision: 303476 URL: https://svnweb.freebsd.org/changeset/base/303476 Log: Fix MTP description in the comment. MFC after:1 month Modified: head/sys/dev/usb/template/usb_template_mtp.c Modified:

svn commit: r303477 - head/sys/dev/usb

2016-07-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 29 11:33:23 2016 New Revision: 303477 URL: https://svnweb.freebsd.org/changeset/base/303477 Log: Improve error message. MFC after:1 month Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c

svn commit: r303475 - in head/sys: arm64/conf conf dev/usb/controller

2016-07-29 Thread Andrew Turner
Author: andrew Date: Fri Jul 29 08:50:36 2016 New Revision: 303475 URL: https://svnweb.freebsd.org/changeset/base/303475 Log: Add a generic EHCI USB driver based on the Allwinner A10 driver. It is ACPI only for now, but wouldn't be too difficult to add support for FDT. Reviewed by:

svn commit: r303474 - head/sys/dev/hyperv/storvsc

2016-07-29 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 29 06:22:11 2016 New Revision: 303474 URL: https://svnweb.freebsd.org/changeset/base/303474 Log: hyperv/storvsc: Use busdma(9) and enable PIM_UNMAPPED by default. The UNMAPPED I/O greatly improves userland direct disk I/O performance by 35% ~ 135%.

svn commit: r303473 - head/sys/dev/hyperv/vmbus

2016-07-29 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 29 06:10:27 2016 New Revision: 303473 URL: https://svnweb.freebsd.org/changeset/base/303473 Log: hyperv/vmbus: Revoke unnecessary exposure of vmbus softc MFC after:1 week Sponsored by: Microsoft Differential Revision: