svn commit: r287301 - head/libexec/talkd

2015-08-30 Thread Xin LI
Author: delphij Date: Sun Aug 30 08:38:59 2015 New Revision: 287301 URL: https://svnweb.freebsd.org/changeset/base/287301 Log: Don't assign 'ptr' without using it. Reported by: clang static analyzer MFC after:2 weeks Modified: head/libexec/talkd/table.c Modified:

Re: svn commit: r287217 - head/usr.sbin/syslogd

2015-08-30 Thread Jilles Tjoelker
On Sun, Aug 30, 2015 at 11:53:00AM +0200, Ed Schouten wrote: 2015-08-28 16:38 GMT+02:00 Joerg Sonnenberger jo...@britannica.bec.de: But the compiler can't tell if it is the *intention* that the function never returns. The warning behavior exists because that can easily change with macros

Re: svn commit: r287217 - head/usr.sbin/syslogd

2015-08-30 Thread Ed Schouten
2015-08-28 16:38 GMT+02:00 Joerg Sonnenberger jo...@britannica.bec.de: But the compiler can't tell if it is the *intention* that the function never returns. The warning behavior exists because that can easily change with macros etc. I think it's important to keep in mind what this keyword was

svn commit: r287311 - head/share/doc/papers

2015-08-30 Thread George V. Neville-Neil
Author: gnn Date: Sun Aug 30 20:59:19 2015 New Revision: 287311 URL: https://svnweb.freebsd.org/changeset/base/287311 Log: A bibliography of FreeBSD and BSD related papers and books. Keep this file in order by primary key which is the first author's last name and the year of publication.

svn commit: r287314 - head/tools/tools/iwn/iwnstats

2015-08-30 Thread Adrian Chadd
Author: adrian Date: Sun Aug 30 21:55:01 2015 New Revision: 287314 URL: https://svnweb.freebsd.org/changeset/base/287314 Log: oops - mis-commit. Modified: head/tools/tools/iwn/iwnstats/Makefile Modified: head/tools/tools/iwn/iwnstats/Makefile

svn commit: r287310 - head/sys/kern

2015-08-30 Thread Konstantin Belousov
Author: kib Date: Sun Aug 30 18:02:57 2015 New Revision: 287310 URL: https://svnweb.freebsd.org/changeset/base/287310 Log: Use P1B_PRIO_MAX to designate max posix priority for the RR/FIFO scheduler types. It was intended to be used there, compare with the min value, and with the test for

Re: svn commit: r287311 - head/share/doc/papers

2015-08-30 Thread Baptiste Daroussin
On Sun, Aug 30, 2015 at 08:59:20PM +, George V. Neville-Neil wrote: Author: gnn Date: Sun Aug 30 20:59:19 2015 New Revision: 287311 URL: https://svnweb.freebsd.org/changeset/base/287311 Log: A bibliography of FreeBSD and BSD related papers and books. Keep this file in order by

svn commit: r287312 - head/sys/dev/iwn

2015-08-30 Thread Adrian Chadd
Author: adrian Date: Sun Aug 30 21:54:33 2015 New Revision: 287312 URL: https://svnweb.freebsd.org/changeset/base/287312 Log: Migrate the stats API for iwn(4) into a cdev ioctl, rather than tying into the vap. This allows for possible hardware interaction without needing a vap

svn commit: r287313 - head/tools/tools/iwn/iwnstats

2015-08-30 Thread Adrian Chadd
Author: adrian Date: Sun Aug 30 21:54:47 2015 New Revision: 287313 URL: https://svnweb.freebsd.org/changeset/base/287313 Log: Convert this over to use the new cdev based ioctl path. Modified: head/tools/tools/iwn/iwnstats/Makefile head/tools/tools/iwn/iwnstats/iwn_ioctl.c

svn commit: r287302 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-08-30 Thread Adrian Chadd
Author: adrian Date: Sun Aug 30 08:46:50 2015 New Revision: 287302 URL: https://svnweb.freebsd.org/changeset/base/287302 Log: Fix compilation error on gcc-5.2.0 - it now warns on non-paranthen'ed logical negation when used in this fashion. Tested: * compile only Modified:

svn commit: r287308 - in head/bin/sh: . tests/builtins

2015-08-30 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 30 17:24:22 2015 New Revision: 287308 URL: https://svnweb.freebsd.org/changeset/base/287308 Log: sh: Fix read with escaped IFS characters at the end. Characters escaped with a backslash must be treated as if they were not in IFS. This includes stripping

Re: svn commit: r287299 - head/sys/boot/efi/loader/arch/amd64

2015-08-30 Thread Rui Paulo
On Sun, 2015-08-30 at 01:40 +, Marcel Moolenaar wrote: Author: marcel Date: Sun Aug 30 01:39:59 2015 New Revision: 287299 URL: https://svnweb.freebsd.org/changeset/base/287299 Log: Add a gop command to help diagnose VT efifb problems. The gop command has the following

svn commit: r287309 - in head/sys: kern sys

2015-08-30 Thread Konstantin Belousov
Author: kib Date: Sun Aug 30 17:58:11 2015 New Revision: 287309 URL: https://svnweb.freebsd.org/changeset/base/287309 Log: Remove single-use macros obfuscating malloc(9) and free(9) calls. Style. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r287305 - head/sys/kern

2015-08-30 Thread Julien Charbon
Author: jch Date: Sun Aug 30 13:44:46 2015 New Revision: 287305 URL: https://svnweb.freebsd.org/changeset/base/287305 Log: Revert r286880: If at first this change made sense, it turns out it helps only the TCP timers callout(9) usage. As the benefit for others callout(9) usages did not

Re: svn commit: r287217 - head/usr.sbin/syslogd

2015-08-30 Thread Joerg Sonnenberger
On Sun, Aug 30, 2015 at 03:36:27PM +1000, Bruce Evans wrote: On Fri, 28 Aug 2015, Joerg Sonnenberger wrote: On Fri, Aug 28, 2015 at 10:17:56PM +1000, Bruce Evans wrote: -static void die(int); +static void die(int) __dead2; Since the function is static, it is very easy for the

svn commit: r287306 - head/sys/arm/conf

2015-08-30 Thread Luiz Otavio O Souza
Author: loos Date: Sun Aug 30 15:38:41 2015 New Revision: 287306 URL: https://svnweb.freebsd.org/changeset/base/287306 Log: In preparation to support other A20 based boards, rename the CUBIEBOARD2 kernel configuration to A20. There are other boards (namely the banana pi) that use exactly

Re: svn commit: r287217 - head/usr.sbin/syslogd

2015-08-30 Thread Bruce Evans
On Sun, 30 Aug 2015, Jilles Tjoelker wrote: On Sun, Aug 30, 2015 at 11:53:00AM +0200, Ed Schouten wrote: 2015-08-28 16:38 GMT+02:00 Joerg Sonnenberger jo...@britannica.bec.de: But the compiler can't tell if it is the *intention* that the function never returns. The warning behavior exists

svn commit: r287307 - head/sys/boot/fdt/dts/arm

2015-08-30 Thread Luiz Otavio O Souza
Author: loos Date: Sun Aug 30 16:10:12 2015 New Revision: 287307 URL: https://svnweb.freebsd.org/changeset/base/287307 Log: Reduce the difference to vendor DTS by using the vendor compat strings (at some point we have to use the complete vendor DTS files, but we're not there yet).

Re: svn commit: r287217 - head/usr.sbin/syslogd

2015-08-30 Thread Joerg Sonnenberger
On Sun, Aug 30, 2015 at 11:53:00AM +0200, Ed Schouten wrote: 2015-08-28 16:38 GMT+02:00 Joerg Sonnenberger jo...@britannica.bec.de: But the compiler can't tell if it is the *intention* that the function never returns. The warning behavior exists because that can easily change with macros

svn commit: r287316 - in head/sys: arm/conf boot/fdt/dts/arm

2015-08-30 Thread Luiz Otavio O Souza
Author: loos Date: Sun Aug 30 23:20:00 2015 New Revision: 287316 URL: https://svnweb.freebsd.org/changeset/base/287316 Log: Add the LED definitions from vendor's DTS. Add gpioled support to A20 kernel. While here rename the gpio phandle to match the one used in the vendor's DTS.

Re: svn commit: r287299 - head/sys/boot/efi/loader/arch/amd64

2015-08-30 Thread Marcel Moolenaar
On Aug 30, 2015, at 11:27 AM, Rui Paulo rpa...@me.com wrote: On Sun, 2015-08-30 at 01:40 +, Marcel Moolenaar wrote: Author: marcel Date: Sun Aug 30 01:39:59 2015 New Revision: 287299 URL: https://svnweb.freebsd.org/changeset/base/287299 Log: Add a gop command to help diagnose VT

svn commit: r287315 - head/sys/arm/allwinner

2015-08-30 Thread Luiz Otavio O Souza
Author: loos Date: Sun Aug 30 22:38:06 2015 New Revision: 287315 URL: https://svnweb.freebsd.org/changeset/base/287315 Log: The vendor's DTS for Allwinner A20 uses a different way to map the gpio pins, they specify the bank and the pin in two separated cells. This allow the use of

svn commit: r287317 - in head/sys/boot/efi: include loader/arch/amd64

2015-08-30 Thread Marcel Moolenaar
Author: marcel Date: Sun Aug 30 23:58:53 2015 New Revision: 287317 URL: https://svnweb.freebsd.org/changeset/base/287317 Log: Add support for the UGA draw protocol. This includes adding a command called 'uga' to show whether UGA is implemented by the firmware and what the settings are. It

svn commit: r287319 - head/usr.bin/iconv

2015-08-30 Thread Xin LI
Author: delphij Date: Mon Aug 31 05:57:26 2015 New Revision: 287319 URL: https://svnweb.freebsd.org/changeset/base/287319 Log: Constify opt_f and opt_t and eliminate unneeded copying. This fixes memory leaks. Reported by: clang static analyzer MFC after:2 weeks Modified:

svn commit: r287318 - in head/sys: net netinet6

2015-08-30 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Aug 31 05:03:36 2015 New Revision: 287318 URL: https://svnweb.freebsd.org/changeset/base/287318 Log: Simplify lla_rt_output()/nd6_add_ifa_lle() by setting lle state in alloc handler, based on flags. Modified: head/sys/net/if_llatbl.c head/sys/netinet6/in6.c