Re: svn commit: r216493 - head/sbin/geom/class/eli

2010-12-16 Thread Warner Losh
On 12/16/2010 11:54, Garrett Cooper wrote: On Thu, Dec 16, 2010 at 9:54 AM, David E. O'Brien wrote: Author: obrien Date: Thu Dec 16 17:54:56 2010 New Revision: 216493 URL: http://svn.freebsd.org/changeset/base/216493 Log: Revert r216473. WARNS=6 causes "warning: cast increases required ali

svn commit: r216497 - head/share/man/man4

2010-12-16 Thread Robert Watson
Author: rwatson Date: Fri Dec 17 01:30:56 2010 New Revision: 216497 URL: http://svn.freebsd.org/changeset/base/216497 Log: Clarifications of a number of points in xen.4, and some additional device driver information from gi...@. MFC after:3 days Modified: head/share/man/man4/xen.4

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread David O'Brien
On Thu, Dec 16, 2010 at 12:27:04PM -0800, Xin LI wrote: > On 12/16/10 12:23, Ulrich Sp??rlein wrote: > > Shamless plug: the attached, crude expect(1) script allows you to do > > $ cd /usr/src && universe-build sbin/geom WARNS=6 > > > > with the minimal amount of compilation (you have to build the

svn commit: r216496 - in head: bin/sh tools/regression/bin/sh/expansion

2010-12-16 Thread Jilles Tjoelker
Author: jilles Date: Thu Dec 16 23:28:20 2010 New Revision: 216496 URL: http://svn.freebsd.org/changeset/base/216496 Log: sh: Fix corruption of command substitutions with special chars after newline The CTLESC byte to protect a special character was output before instead of after a newlin

svn commit: r216495 - head/sys/netinet

2010-12-16 Thread Michael Tuexen
Author: tuexen Date: Thu Dec 16 21:01:02 2010 New Revision: 216495 URL: http://svn.freebsd.org/changeset/base/216495 Log: Bugfix: Take also the nr-mapping array into account when detecting gaps. Reviewed by: rrs@ MFC after: 3 days. Modified: head/sys/netinet/sctp_indata.c h

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/16/10 12:23, Ulrich Spörlein wrote: > On Thu, 16.12.2010 at 14:22:47 -0500, John Baldwin wrote: >> On Thursday, December 16, 2010 2:04:08 pm Robert Watson wrote: >>> On Thu, 16 Dec 2010, David O'Brien wrote: >>> >> Log: >> Bump WARNS

Re: svn commit: r216493 - head/sbin/geom/class/eli

2010-12-16 Thread Dimitry Andric
On 2010-12-16 19:54, Garrett Cooper wrote: -WARNS?=6 +WARNS?=3 CFLAGS+=-I${.CURDIR}/../../../../sys I think it's actually safe to bump it to WARNS = 6 if you define NO_WCAST_ALIGN = 1, but that would need to be tested. I'm not sure if this SHA2 stuff is contributed cod

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread Ulrich Spörlein
On Thu, 16.12.2010 at 14:22:47 -0500, John Baldwin wrote: > On Thursday, December 16, 2010 2:04:08 pm Robert Watson wrote: > > On Thu, 16 Dec 2010, David O'Brien wrote: > > > > >>> Log: > > >>> Bump WARNS to 6. > > >>> > > >>> Modified: > > >>> head/sbin/geom/class/eli/Makefile > > >> > > >> F

svn commit: r216494 - head/sbin/hastd

2010-12-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Dec 16 19:48:03 2010 New Revision: 216494 URL: http://svn.freebsd.org/changeset/base/216494 Log: The 'ret' variable is of type ssize_t and we use proper format for it (%zd), so no (bogus) cast is needed. MFC after:3 days Modified: head/sbin/hastd/primary.c M

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread John Baldwin
On Thursday, December 16, 2010 2:04:08 pm Robert Watson wrote: > On Thu, 16 Dec 2010, David O'Brien wrote: > > >>> Log: > >>> Bump WARNS to 6. > >>> > >>> Modified: > >>> head/sbin/geom/class/eli/Makefile > >> > >> FYI, this broke the tinderbox on arm, ia64, mips, and sparc64. > > > > Errr. R

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread Robert Watson
On Thu, 16 Dec 2010, David O'Brien wrote: Log: Bump WARNS to 6. Modified: head/sbin/geom/class/eli/Makefile FYI, this broke the tinderbox on arm, ia64, mips, and sparc64. Errr. Reverted. I built it on the architectures I had access to... For WARNS-related changes, I generally use "m

Re: svn commit: r216493 - head/sbin/geom/class/eli

2010-12-16 Thread Garrett Cooper
On Thu, Dec 16, 2010 at 9:54 AM, David E. O'Brien wrote: > Author: obrien > Date: Thu Dec 16 17:54:56 2010 > New Revision: 216493 > URL: http://svn.freebsd.org/changeset/base/216493 > > Log: >  Revert r216473. >  WARNS=6 causes "warning: cast increases required alignment of target type" >  on arm,

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread David O'Brien
On Thu, Dec 16, 2010 at 12:25:31PM -0500, John Baldwin wrote: > On Wednesday, December 15, 2010 7:36:10 pm David E. O'Brien wrote: > > Author: obrien > > Date: Thu Dec 16 00:36:10 2010 > > New Revision: 216473 > > URL: http://svn.freebsd.org/changeset/base/216473 > > > > Log: > > Bump WARNS to 6

svn commit: r216493 - head/sbin/geom/class/eli

2010-12-16 Thread David E. O'Brien
Author: obrien Date: Thu Dec 16 17:54:56 2010 New Revision: 216493 URL: http://svn.freebsd.org/changeset/base/216493 Log: Revert r216473. WARNS=6 causes "warning: cast increases required alignment of target type" on arm, ia64, mips, and sparc64. Modified: head/sbin/geom/class/eli/Makefile

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread John Baldwin
On Wednesday, December 15, 2010 7:36:10 pm David E. O'Brien wrote: > Author: obrien > Date: Thu Dec 16 00:36:10 2010 > New Revision: 216473 > URL: http://svn.freebsd.org/changeset/base/216473 > > Log: > Bump WARNS to 6. > > Modified: > head/sbin/geom/class/eli/Makefile FYI, this broke the ti

svn commit: r216492 - head/sys/dev/atkbdc

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 17:14:37 2010 New Revision: 216492 URL: http://svn.freebsd.org/changeset/base/216492 Log: - If the atkbdc device is assigned an IRQ resource by ACPI or the PnPBIOS, allow the child atkbd device to reuse that IRQ resource instead of reallocating the same IRQ f

svn commit: r216491 - head/sys/dev/atkbdc

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 17:08:43 2010 New Revision: 216491 URL: http://svn.freebsd.org/changeset/base/216491 Log: - When moving the IRQ resource from the psmcpnp device to the psm device, delete the IRQ resource from the psmcpnp device completely. - Don't allocate the IRQ resource sha

svn commit: r216490 - in head/sys: dev/acpica x86/isa

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 17:05:28 2010 New Revision: 216490 URL: http://svn.freebsd.org/changeset/base/216490 Log: Small style fixes: - Avoid side-effect assignments in if statements when possible. - Don't use ! to check for NULL pointers, explicitly check against NULL. - Explicitly ch

svn commit: r216489 - head/libexec/rtld-elf

2010-12-16 Thread Jaakko Heinonen
Author: jh Date: Thu Dec 16 16:56:44 2010 New Revision: 216489 URL: http://svn.freebsd.org/changeset/base/216489 Log: If dlclose() is called recursively from a _fini() function, the inner dlclose() call may unload the object of the outer call prematurely because objects are unreferenced befo

svn commit: r216488 - head/sys/dev/acpica

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 16:55:22 2010 New Revision: 216488 URL: http://svn.freebsd.org/changeset/base/216488 Log: Spelling fix. Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/dev/acpica/acpi.c == --- he

svn commit: r216487 - head

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 15:27:13 2010 New Revision: 216487 URL: http://svn.freebsd.org/changeset/base/216487 Log: Pass JFLAG as JFLAG from tinderbox to universe. This gives the same semantics for JFLAG with tinderbox as for universe. Previously doing 'make JFLAG=-j4 tinderbox' was equ

svn commit: r216486 - head/sys/dev/if_ndis

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 15:19:32 2010 New Revision: 216486 URL: http://svn.freebsd.org/changeset/base/216486 Log: Use bus_alloc_resource_any() instead of bus_alloc_resource(). Besides being cleaner, this fixes problems where the code was using ~0 instead of ~0ul for the upper bound on

svn commit: r216485 - head/usr.sbin/bsnmpd/bsnmpd

2010-12-16 Thread Shteryana Shopova
Author: syrinx Date: Thu Dec 16 15:18:53 2010 New Revision: 216485 URL: http://svn.freebsd.org/changeset/base/216485 Log: Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang properly exports its symbols to the modules. Submitted by: dim Modified: head/usr.sbin/bsn

Re: svn commit: r216483 - head

2010-12-16 Thread Bjoern A. Zeeb
in order of commits with the latest one # first, e.g. # # 20101216 remove baz # ... # # 20101216 remove bar # ... # # 20101216 remove foo # ... # Each such entry should list OLD_FILES first, OLD_LIBS second and # OLD_DIRS last, e.g. # # 20101216 remove baz # OLD_LIBS+= /lib/libkvm.so.

svn commit: r216483 - head

2010-12-16 Thread Shteryana Shopova
Author: syrinx Date: Thu Dec 16 11:58:50 2010 New Revision: 216483 URL: http://svn.freebsd.org/changeset/base/216483 Log: libbsnmp was moved to usr/lib Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r216482 - head/contrib/bsnmp/lib

2010-12-16 Thread Shteryana Shopova
Author: syrinx Date: Thu Dec 16 11:20:37 2010 New Revision: 216482 URL: http://svn.freebsd.org/changeset/base/216482 Log: Silence the compiler warnings in libbsnmp by removing several (now) unsed parameters. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ Modified: head/co

svn commit: r216480 - head/sys/netinet

2010-12-16 Thread Michael Tuexen
Author: tuexen Date: Thu Dec 16 09:49:16 2010 New Revision: 216480 URL: http://svn.freebsd.org/changeset/base/216480 Log: Add a missing cast. Reported by blade_ly at yahoo.com.cn. MFC after: 1 day. Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c ===