Re: svn commit: r311952 - head/sys/ddb

2017-01-15 Thread Julian Elischer
On 16/01/2017 11:53 AM, Bruce Evans wrote: On Sun, 15 Jan 2017, Adrian Chadd wrote: hah, i took this, then life got in the way. :) Bruce - what do you think of https://bz-attachments.freebsd.org/attachment.cgi?id=138881 ? Also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184987 . I

Re: svn commit: r311952 - head/sys/ddb

2017-01-15 Thread Bruce Evans
On Sun, 15 Jan 2017, Adrian Chadd wrote: hah, i took this, then life got in the way. :) Bruce - what do you think of https://bz-attachments.freebsd.org/attachment.cgi?id=138881 ? Also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184987 . I think it is hard to read and review since it

svn commit: r312251 - head/sys/arm/arm

2017-01-15 Thread Ian Lepore
Author: ian Date: Mon Jan 16 03:11:30 2017 New Revision: 312251 URL: https://svnweb.freebsd.org/changeset/base/312251 Log: Remove a bit of armv6 support that didn't get deleted when this file was split from trap.c into trap-v4.c and trap-v6.c. Modified: head/sys/arm/arm/trap-v4.c

svn commit: r312250 - in head: share/man/man4 sys/dev/alc sys/dev/pci

2017-01-15 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jan 16 03:03:47 2017 New Revision: 312250 URL: https://svnweb.freebsd.org/changeset/base/312250 Log: alc: Add Killer E2500 support Reviewed by: jhb, yongari MFC after:1 week Sponsored by: Microsoft Differential Revision:

Re: svn commit: r311952 - head/sys/ddb

2017-01-15 Thread Bruce Evans
On Sun, 15 Jan 2017, Slawa Olhovchenkov wrote: On Sun, Jan 15, 2017 at 01:07:58PM +0800, Julian Elischer wrote: the old DEC machines had (from memory) ^O which dropped all pending output. Not so useful when there is 2MB of network buffers queued up to you, but very useful on and asr-33

Re: svn commit: r312234 - in head: sbin/camcontrol share/man/man4 share/man/man9 sys/arm/arm sys/arm/freescale/imx sys/arm/mv sys/cam sys/dev/bhnd sys/dev/fdt sys/dev/isp sys/dev/mmc sys/dev/mpt sys/d

2017-01-15 Thread Benjamin Kaduk
On Sun, Jan 15, 2017 at 11:54 AM, Conrad E. Meyer wrote: > Author: cem > Date: Sun Jan 15 17:54:01 2017 > New Revision: 312234 > URL: https://svnweb.freebsd.org/changeset/base/312234 > > Log: > "Buses" is the preferred plural of "bus" > > Replace archaic "busses" with

Re: svn commit: r312236 - head/sys/net80211

2017-01-15 Thread Adrian Chadd
On 15 January 2017 at 11:56, Ian Lepore wrote: > > What is the point of the !! in these macros? The expressions already > have boolean type (even in C++ where it matters) due to the ==. > Removing the !! would also make one level of parens redundant. It's just a habit i

Re: svn commit: r311952 - head/sys/ddb

2017-01-15 Thread Slawa Olhovchenkov
On Sun, Jan 15, 2017 at 10:46:35AM -0800, Adrian Chadd wrote: > url? :) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184987 Assignee: Adrian Chadd > On 15 January 2017 at 06:45, Slawa Olhovchenkov wrote: > > On Sun, Jan 15, 2017 at 01:07:58PM +0800, Julian Elischer

svn commit: r312237 - head/sys/boot/efi/loader

2017-01-15 Thread Toomas Soome
Author: tsoome Date: Sun Jan 15 20:03:13 2017 New Revision: 312237 URL: https://svnweb.freebsd.org/changeset/base/312237 Log: loader.efi: find_currdev() can leak memory The find_currdev() is using variable "copy" to store the reference to trimmed devpath pointer, if for some reason the

Re: svn commit: r312236 - head/sys/net80211

2017-01-15 Thread Ian Lepore
On Sun, 2017-01-15 at 19:49 +, Adrian Chadd wrote: > Author: adrian > Date: Sun Jan 15 19:49:47 2017 > New Revision: 312236 > URL: https://svnweb.freebsd.org/changeset/base/312236 > > Log: >   [net80211] add some more "is this XXX" macros for CTRL and DATA. >    >   There's already a macro

svn commit: r312236 - head/sys/net80211

2017-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:49:47 2017 New Revision: 312236 URL: https://svnweb.freebsd.org/changeset/base/312236 Log: [net80211] add some more "is this XXX" macros for CTRL and DATA. There's already a macro for MGT. Modified: head/sys/net80211/ieee80211.h Modified:

Re: svn commit: r311952 - head/sys/ddb

2017-01-15 Thread Adrian Chadd
url? :) -a On 15 January 2017 at 06:45, Slawa Olhovchenkov wrote: > On Sun, Jan 15, 2017 at 01:07:58PM +0800, Julian Elischer wrote: > >> >> the old DEC machines had (from memory) ^O which dropped all pending >> output. >> Not so useful when there is 2MB of network buffers

svn commit: r312235 - in head/sys: amd64/vmm cam netinet/cc sys

2017-01-15 Thread Conrad E. Meyer
Author: cem Date: Sun Jan 15 18:00:45 2017 New Revision: 312235 URL: https://svnweb.freebsd.org/changeset/base/312235 Log: Fix a variety of cosmetic typos and misspellings No functional change. PR: 216096, 216097, 216098, 216101, 216102, 216106, 216109, 216110 Reported by:

svn commit: r312234 - in head: sbin/camcontrol share/man/man4 share/man/man9 sys/arm/arm sys/arm/freescale/imx sys/arm/mv sys/cam sys/dev/bhnd sys/dev/fdt sys/dev/isp sys/dev/mmc sys/dev/mpt sys/de...

2017-01-15 Thread Conrad E. Meyer
Author: cem Date: Sun Jan 15 17:54:01 2017 New Revision: 312234 URL: https://svnweb.freebsd.org/changeset/base/312234 Log: "Buses" is the preferred plural of "bus" Replace archaic "busses" with modern form "buses." Intentionally excluded: * Old/random drivers I didn't recognize

Re: svn commit: r311952 - head/sys/ddb

2017-01-15 Thread Slawa Olhovchenkov
On Sun, Jan 15, 2017 at 01:07:58PM +0800, Julian Elischer wrote: > > the old DEC machines had (from memory) ^O which dropped all pending > output. > Not so useful when there is 2MB of network buffers queued up to you, > but very useful on > and asr-33 teletype. Now it useful too, on serial

svn commit: r312232 - head/sys/cam/ctl

2017-01-15 Thread Alexander Motin
Author: mav Date: Sun Jan 15 13:57:42 2017 New Revision: 312232 URL: https://svnweb.freebsd.org/changeset/base/312232 Log: Add under-/overrun support to IOCTL and CAM SIM frontends. MFC after:1 week Modified: head/sys/cam/ctl/ctl_frontend_cam_sim.c

svn commit: r312231 - head/sys/cam/ctl

2017-01-15 Thread Alexander Motin
Author: mav Date: Sun Jan 15 13:51:44 2017 New Revision: 312231 URL: https://svnweb.freebsd.org/changeset/base/312231 Log: When in kernel, map ctl_scsi_zero_io() to ctl_zero_io(). MFC after:1 week Modified: head/sys/cam/ctl/ctl_util.c head/sys/cam/ctl/ctl_util.h Modified:

svn commit: r312230 - head/share/skel

2017-01-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 15 13:40:14 2017 New Revision: 312230 URL: https://svnweb.freebsd.org/changeset/base/312230 Log: skel: Do not set -o emacs in .shrc. sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set this again in .shrc, since that only serves to

svn commit: r312228 - head/sbin/camcontrol

2017-01-15 Thread Alexander Motin
Author: mav Date: Sun Jan 15 12:24:23 2017 New Revision: 312228 URL: https://svnweb.freebsd.org/changeset/base/312228 Log: Make `camcontrol cmd ... -i ...` return only valid bytes. Previously code ignored resid field and returned extra zeroes in case of data underflow. Now it returns

svn commit: r312226 - head/tests/sys/kern/acct

2017-01-15 Thread Ngie Cooper
Author: ngie Date: Sun Jan 15 10:29:53 2017 New Revision: 312226 URL: https://svnweb.freebsd.org/changeset/base/312226 Log: Fix typo in r312216 I meant to replace "exp" with "exponent", not "expected" MFC after:13 days Pointyhat to: ngie Submitted by: bde Modified:

svn commit: r312224 - head/sys/dev/etherswitch/arswitch

2017-01-15 Thread Kristof Provost
Author: kp Date: Sun Jan 15 10:21:25 2017 New Revision: 312224 URL: https://svnweb.freebsd.org/changeset/base/312224 Log: arswitch: Ensure the lock is always held when calling arswitch_modifyreg() arswitch_setled() and a number of _global_setup functions did not acquire the lock before

Re: svn commit: r312216 - in head: sys/kern tests/sys/kern/acct

2017-01-15 Thread Bruce Evans
On Sun, 15 Jan 2017, Ngie Cooper wrote: Log: Revert r312119 and reword the intent to fix -Wshadow issues between exp(3) and `exp` var. The approach taken previously was not ideal for multiple functional and stylistic reasons. Add to existing sed call in Makefile to replace `exp` with

svn commit: r312217 - head

2017-01-15 Thread Ngie Cooper
Author: ngie Date: Sun Jan 15 09:31:14 2017 New Revision: 312217 URL: https://svnweb.freebsd.org/changeset/base/312217 Log: Delete svn mergeinfo for r312193 so I can once again sync ^/projects/netbsd-tests-upstream-01-2017 with ^/head Modified: Directory Properties: head/ (props changed)

Re: svn commit: r312216 - in head: sys/kern tests/sys/kern/acct

2017-01-15 Thread Ngie Cooper (yaneurabeya)
> On Jan 15, 2017, at 01:25, Ngie Cooper wrote: > > Author: ngie > Date: Sun Jan 15 09:25:33 2017 > New Revision: 312216 > URL: https://svnweb.freebsd.org/changeset/base/312216 > > Log: > Revert r312119 and reword the intent to fix -Wshadow issues *rework. Bah...

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

2017-01-15 Thread Ngie Cooper (yaneurabeya)
> On Jan 14, 2017, at 22:49, Bruce Evans wrote: > > On Sat, 14 Jan 2017, Ngie Cooper wrote: > >> Log: >> encode_long, encode_timeval: mechanically replace `exp` with `exponent` >> >> This helps fix a -Wshadow issue with exp(3) with tests/sys/acct/acct_test, >> which

svn commit: r312216 - in head: sys/kern tests/sys/kern/acct

2017-01-15 Thread Ngie Cooper
Author: ngie Date: Sun Jan 15 09:25:33 2017 New Revision: 312216 URL: https://svnweb.freebsd.org/changeset/base/312216 Log: Revert r312119 and reword the intent to fix -Wshadow issues between exp(3) and `exp` var. The approach taken previously was not ideal for multiple functional and

svn commit: r312215 - head/tests/sys/vfs

2017-01-15 Thread Ngie Cooper
Author: ngie Date: Sun Jan 15 09:13:41 2017 New Revision: 312215 URL: https://svnweb.freebsd.org/changeset/base/312215 Log: Mark testcases which use cap_enter as expected failures until the PR is resolved so those of us that run the tests don't have the bogus failures counted against our

svn commit: r312214 - head/release/tools

2017-01-15 Thread Colin Percival
Author: cperciva Date: Sun Jan 15 09:06:45 2017 New Revision: 312214 URL: https://svnweb.freebsd.org/changeset/base/312214 Log: Enable IPv6 networking on Amazon EC2. MFC after:1 week Modified: head/release/tools/ec2.conf Modified: head/release/tools/ec2.conf

svn commit: r312213 - head/lib/msun/tests

2017-01-15 Thread Ngie Cooper
Author: ngie Date: Sun Jan 15 09:05:26 2017 New Revision: 312213 URL: https://svnweb.freebsd.org/changeset/base/312213 Log: Turn COMPILER_VERSION/COMPILER_TYPE make check into a compile-time check of the clang version This works around breakage on ^/stable/10 when running installworld

svn commit: r312212 - head/sys/sys

2017-01-15 Thread Conrad E. Meyer
Author: cem Date: Sun Jan 15 08:05:00 2017 New Revision: 312212 URL: https://svnweb.freebsd.org/changeset/base/312212 Log: Fix a minor typo (Seiral) PR: 216095 Reported by: Modified: head/sys/sys/ata.h Modified: head/sys/sys/ata.h