Re: svn commit: r261014 - head/sys/dev/usb/wlan

2014-01-23 Thread Hans Petter Selasky
On 01/23/14 10:39, Kevin Lo wrote: On 2014/01/22 17:57, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 22 09:57:26 2014 New Revision: 261014 URL: http://svnweb.freebsd.org/changeset/base/261014 Log: - Fix some non-portable code with regard to endianness. Don't use memmove().

svn commit: r261076 - head/sys/dev/usb/wlan

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 23 10:18:28 2014 New Revision: 261076 URL: http://svnweb.freebsd.org/changeset/base/261076 Log: Revert r261014. Let Kevin fix it. MFC after:1 week Modified: head/sys/dev/usb/wlan/if_run.c head/sys/dev/usb/wlan/if_runvar.h Modified:

svn commit: r261079 - head/release/doc/en_US.ISO8859-1/relnotes

2014-01-23 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Thu Jan 23 14:13:12 2014 New Revision: 261079 URL: http://svnweb.freebsd.org/changeset/base/261079 Log: jemalloc has been updated to version 3.5.0. Approved by: hrs (mentor) Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml

Re: svn commit: r261075 - head/lib/libc/sys

2014-01-23 Thread Benjamin Kaduk
On Thu, Jan 23, 2014 at 4:37 AM, Sergey Kandaurov pluk...@freebsd.orgwrote: Author: pluknet Date: Thu Jan 23 09:37:03 2014 New Revision: 261075 URL: http://svnweb.freebsd.org/changeset/base/261075 Log: Update EINVAL description. This matches current POSIX standards and actual FreeBSD

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread David Chisnall
On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host version, because using (for example) powerpc resulting binary won't work on and amd64 system. If it's used as part of the build, then it should be part of the toolchain target and we should be using

svn commit: r261080 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern

2014-01-23 Thread Konstantin Belousov
Author: kib Date: Thu Jan 23 17:24:26 2014 New Revision: 261080 URL: http://svnweb.freebsd.org/changeset/base/261080 Log: The posix_fallocate(2) syscall should return error number on error, without modifying errno. Reported and tested by: Gennady Proskurin g...@mail.ru Reviewed

svn commit: r261081 - in head: . etc/mtree tests/sys tests/sys/kern tools/regression/sockets/unix_seqpacket tools/regression/sockets/unix_seqpacket_exercise

2014-01-23 Thread Alan Somers
Author: asomers Date: Thu Jan 23 17:26:28 2014 New Revision: 261081 URL: http://svnweb.freebsd.org/changeset/base/261081 Log: Replace the old unix_seqpacket and unix_seqpacket_exercise tests, which were a little broken and not automatable, with unix_seqpacket_test. It's coverage is a

svn commit: r261083 - head/sys/dev/uart

2014-01-23 Thread Warner Losh
Author: imp Date: Thu Jan 23 18:09:10 2014 New Revision: 261083 URL: http://svnweb.freebsd.org/changeset/base/261083 Log: Add Atmel serial drivers. Modified: head/sys/dev/uart/uart.h head/sys/dev/uart/uart_bus_fdt.c Modified: head/sys/dev/uart/uart.h

svn commit: r261084 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:07:22 2014 New Revision: 261084 URL: http://svnweb.freebsd.org/changeset/base/261084 Log: malloc() with M_WAITOK doesn't return NULL. MFC after:1 week Modified: head/sys/geom/geom_ctl.c Modified: head/sys/geom/geom_ctl.c

svn commit: r261085 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:31:17 2014 New Revision: 261085 URL: http://svnweb.freebsd.org/changeset/base/261085 Log: Fix typo in r261084. Add to the gctl_error() an ability to specify error description even if numeric error code is already specified. Also by default set error code to

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host version, because using (for example) powerpc resulting binary won't work on and amd64 system. If it's used as part of the build,

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

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 2:35:54 am Adrian Chadd wrote: On 22 January 2014 20:34, Rui Paulo rpa...@freebsd.org wrote: On 22 Jan 2014, at 20:05, Adrian Chadd adrian.ch...@gmail.com wrote: .. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks

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

2014-01-23 Thread John Baldwin
On Wednesday, January 22, 2014 5:54:56 pm Alfred Perlstein wrote: On 1/22/14, 2:52 PM, John-Mark Gurney wrote: Alfred Perlstein wrote this message on Wed, Jan 22, 2014 at 14:15 -0800: On 1/22/14, 1:22 PM, John Baldwin wrote: On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Bryan Drewery
On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host version, because using (for example) powerpc resulting binary won't

svn commit: r261086 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:55:02 2014 New Revision: 261086 URL: http://svnweb.freebsd.org/changeset/base/261086 Log: In gctl_copyin() remove unused error variable. geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad control request. Add check for NULL pointer in

svn commit: r261087 - in head/sys: amd64/amd64 amd64/include amd64/vmm dev/hwpmc i386/i386 i386/include i386/xen pc98/include pc98/pc98 x86/acpica x86/include x86/x86 x86/xen

2014-01-23 Thread John Baldwin
Author: jhb Date: Thu Jan 23 20:10:22 2014 New Revision: 261087 URL: http://svnweb.freebsd.org/changeset/base/261087 Log: Move machine/apicvar.h to x86/apicvar.h. Added: head/sys/x86/include/apicvar.h - copied, changed from r260983, head/sys/i386/include/apicvar.h Deleted:

Re: svn commit: r261085 - head/sys/geom

2014-01-23 Thread Mateusz Guzik
On Thu, Jan 23, 2014 at 07:31:17PM +, Andrey V. Elsukov wrote: @@ -122,7 +123,7 @@ geom_alloc_copyin(struct gctl_req *req, void *ptr; ptr = g_malloc(len, M_WAITOK); - nreq-nerror = copyin(uaddr, ptr, len); + req-nerror = copyin(uaddr, ptr, len); if

svn commit: r261089 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 20:25:38 2014 New Revision: 261089 URL: http://svnweb.freebsd.org/changeset/base/261089 Log: Remove another unneeded NULL check from geom_alloc_copyin(). Do copyout in case of gctl version mismatch and fix sbuf leak in g_ctl_ioctl_ctl(). MFC after:1 week

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Bryan Drewery
On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber

svn commit: r261091 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 21:30:31 2014 New Revision: 261091 URL: http://svnweb.freebsd.org/changeset/base/261091 Log: Always free sbuf in gctl_free(). MFC after:1 week Modified: head/sys/geom/geom_ctl.c Modified: head/sys/geom/geom_ctl.c

Re: svn commit: r261072 - in head: share/man/man5 share/mk tools/build/options

2014-01-23 Thread Steven Kreuzer
Hi Julio- Thanks. I forgot to include the MFC line in this commit. I set a reminder for myself and I will merge it in 3 days. On Wed, Jan 22, 2014 at 10:19 PM, Julio Merino ju...@meroh.net wrote: On Jan 22, 2014, at 22:14, Steven Kreuzer skreu...@freebsd.org wrote: Author: skreuzer (doc,ports

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Bryan Drewery
On Thu, Jan 23, 2014 at 03:22:56PM -0600, Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Peter Wemm
On 1/23/14, 2:12 PM, John Baldwin wrote: On Thursday, January 23, 2014 4:22:56 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On

Re: svn commit: r261080 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern

2014-01-23 Thread Bruce Evans
On Thu, 23 Jan 2014, Konstantin Belousov wrote: Author: kib Log: The posix_fallocate(2) syscall should return error number on error, without modifying errno. Reported and tested by:Gennady Proskurin g...@mail.ru Reviewed by: mdf This needs many more fixes. I pointed out some

svn commit: r261092 - head/sys/dev/uart

2014-01-23 Thread Warner Losh
Author: imp Date: Fri Jan 24 00:14:14 2014 New Revision: 261092 URL: http://svnweb.freebsd.org/changeset/base/261092 Log: clock-frequency is a FreeBSD-specific extention. Make it optional and allow the client uart drivers to decide if a frequency is required. Modified:

Re: svn commit: r261085 - head/sys/geom

2014-01-23 Thread John-Mark Gurney
Mateusz Guzik wrote this message on Thu, Jan 23, 2014 at 21:17 +0100: On Thu, Jan 23, 2014 at 07:31:17PM +, Andrey V. Elsukov wrote: @@ -122,7 +123,7 @@ geom_alloc_copyin(struct gctl_req *req, void *ptr; ptr = g_malloc(len, M_WAITOK); - nreq-nerror = copyin(uaddr, ptr,

svn commit: r261094 - head/sys/dev/fdt

2014-01-23 Thread Ian Lepore
Author: ian Date: Fri Jan 24 00:42:18 2014 New Revision: 261094 URL: http://svnweb.freebsd.org/changeset/base/261094 Log: Be more robust with malformed interrupt config data. Instead of crashing or going into a near-infinite loop, warn and make potentially-reasonable assumptions.

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John-Mark Gurney
Peter Wemm wrote this message on Thu, Jan 23, 2014 at 14:48 -0800: On 1/23/14, 2:12 PM, John Baldwin wrote: On Thursday, January 23, 2014 4:22:56 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery

svn commit: r261095 - head/sys/powerpc/powerpc

2014-01-23 Thread Justin Hibbits
Author: jhibbits Date: Fri Jan 24 02:57:00 2014 New Revision: 261095 URL: http://svnweb.freebsd.org/changeset/base/261095 Log: Fix 32-bit signal handling on ppc64. This was broken when the PSL_USERSTATIC macro was changed. Since copying 64-bit srr1 into 32-bit srr1 drops the upper 32