Author: imp
Date: Tue Feb 3 07:54:42 2009
New Revision: 188063
URL: http://svn.freebsd.org/changeset/base/188063
Log:
Use NULL in preference to 0 in pointer contexts.
Modified:
head/sys/kern/subr_devstat.c
head/sys/kern/subr_kobj.c
Modified: head/sys/kern/subr_devstat.c
==
Author: imp
Date: Tue Feb 3 07:53:51 2009
New Revision: 188062
URL: http://svn.freebsd.org/changeset/base/188062
Log:
Make bioq_disksort have a ANSI-C definition rather than a K&R definition.
Modified:
head/sys/kern/subr_disk.c
Modified: head/sys/kern/subr_disk.c
===
Author: imp
Date: Tue Feb 3 07:53:08 2009
New Revision: 188061
URL: http://svn.freebsd.org/changeset/base/188061
Log:
rman_debug should be static, so make it static.
Modified:
head/sys/kern/subr_rman.c
Modified: head/sys/kern/subr_rman.c
=
Author: imp
Date: Tue Feb 3 07:52:36 2009
New Revision: 188060
URL: http://svn.freebsd.org/changeset/base/188060
Log:
Use ANSI function definition for profil.
Modified:
head/sys/kern/subr_prof.c
Modified: head/sys/kern/subr_prof.c
Author: imp
Date: Tue Feb 3 07:52:07 2009
New Revision: 188059
URL: http://svn.freebsd.org/changeset/base/188059
Log:
Prefer ANSI function definitions to K&R ones.
Modified:
head/sys/kern/subr_autoconf.c
Modified: head/sys/kern/subr_autoconf.c
===
Author: imp
Date: Tue Feb 3 07:51:41 2009
New Revision: 188058
URL: http://svn.freebsd.org/changeset/base/188058
Log:
Use NULL in preference to 0 for pointers.
Modified:
head/sys/kern/subr_clist.c
head/sys/kern/subr_taskqueue.c
Modified: head/sys/kern/subr_clist.c
Author: imp
Date: Tue Feb 3 07:51:11 2009
New Revision: 188057
URL: http://svn.freebsd.org/changeset/base/188057
Log:
Use NULL in preference to 0 for pointers.
Modified:
head/sys/kern/subr_firmware.c
head/sys/kern/subr_prf.c
Modified: head/sys/kern/subr_firmware.c
Author: imp
Date: Tue Feb 3 07:50:41 2009
New Revision: 188056
URL: http://svn.freebsd.org/changeset/base/188056
Log:
o Use unsigned for bit fields.
o Use NULL for pointers in preference to 0.
Modified:
head/sys/kern/subr_witness.c
Modified: head/sys/kern/subr_witness.c
==
Author: imp
Date: Tue Feb 3 07:50:01 2009
New Revision: 188055
URL: http://svn.freebsd.org/changeset/base/188055
Log:
int foo(void) is the proper ANSI function definition when there's no
parameters. Use it for resettodr().
Modified:
head/sys/kern/subr_rtc.c
Modified: head/sys/kern/subr_r
In message: <200902021659.54847@freebsd.org>
John Baldwin writes:
On Mon, 2009-02-02 at 15:54 -0500, John Baldwin wrote:
jhb> I haven't looked this over thoroughly yet, but will it support BIOS
jhb> mappings as well? Or should I take a crack at adding that?
On Monday 02 February
Author: marcel
Date: Tue Feb 3 07:07:13 2009
New Revision: 188054
URL: http://svn.freebsd.org/changeset/base/188054
Log:
In g_handleattr(), set bp->bio_completed also for the case
where len is 0. Otherwise g_getattr() will never succeed
when it is handled by g_handleattr_str().
Modified:
Author: jkoshy
Date: Tue Feb 3 06:12:13 2009
New Revision: 188050
URL: http://svn.freebsd.org/changeset/base/188050
Log:
Introduce a C type representing the header for GNU-style hash table
sections. These ELF sections are generated by newer versions of
GNU binutils.
Reviewed by:
Author: thompsa
Date: Tue Feb 3 05:50:36 2009
New Revision: 188048
URL: http://svn.freebsd.org/changeset/base/188048
Log:
Move away from autogenerated enums, these values never change and its helpful
to be able to look them up.
Modified:
head/sys/dev/usb2/core/usb2_error.c
head/sys/dev/u
Author: imp
Date: Tue Feb 3 04:28:45 2009
New Revision: 188044
URL: http://svn.freebsd.org/changeset/base/188044
Log:
o Define some symbols for a few items that are bare constants in the
code.
o Use NULL in preference to 0 for a few pointers.
o default to bus timing normal, like we defa
Author: kmacy
Date: Tue Feb 3 03:43:00 2009
New Revision: 188042
URL: http://svn.freebsd.org/changeset/base/188042
Log:
make sure that interrupts are disabled when handling page faults et al
Modified:
head/sys/i386/xen/xen_machdep.c
Modified: head/sys/i386/xen/xen_machdep.c
Author: imp
Date: Tue Feb 3 01:17:34 2009
New Revision: 188040
URL: http://svn.freebsd.org/changeset/base/188040
Log:
Use NULL in preference to 0 for pointers.
Modified:
head/sys/sys/kobj.h
Modified: head/sys/sys/kobj.h
===
Author: imp
Date: Tue Feb 3 01:17:17 2009
New Revision: 188039
URL: http://svn.freebsd.org/changeset/base/188039
Log:
Use NULL in preference to '0' for pointers.
Modified:
head/sys/sys/sysctl.h
Modified: head/sys/sys/sysctl.h
=
On Feb 2, 2009, at 11:22 AM, Ulf Lilleengen wrote:
- Use a separate pointer to the allocated memory for freeing, as
strsep may
modify the pointer argument passed to it. This triggered an
assert in malloc
when a geom command being run under the livefs environment.
Thanks Ulf!
--
Ma
Author: delphij
Date: Tue Feb 3 00:15:19 2009
New Revision: 188038
URL: http://svn.freebsd.org/changeset/base/188038
Log:
Use %u instead of %zu when we intend to print integer constant.
Modified:
head/sbin/ifconfig/ifieee80211.c
Modified: head/sbin/ifconfig/ifieee80211.c
===
Author: imp
Date: Tue Feb 3 00:10:21 2009
New Revision: 188037
URL: http://svn.freebsd.org/changeset/base/188037
Log:
Declare bus_data_devices to be static: it isn't used elsewhere.
Use NULL in a couple of places rather than 0 in the context of
pointers to be consistent with the rest of the
On Mon, 2009-02-02 at 16:59 -0500, John Baldwin wrote:
> On Monday 02 February 2009 4:09:35 pm Robert Noland wrote:
> > On Mon, 2009-02-02 at 15:54 -0500, John Baldwin wrote:
> > > On Monday 02 February 2009 2:54:16 pm John Baldwin wrote:
> > > > Author: jhb
> > > > Date: Mon Feb 2 19:54:16 2009
>
On Monday 02 February 2009 4:09:35 pm Robert Noland wrote:
> On Mon, 2009-02-02 at 15:54 -0500, John Baldwin wrote:
> > On Monday 02 February 2009 2:54:16 pm John Baldwin wrote:
> > > Author: jhb
> > > Date: Mon Feb 2 19:54:16 2009
> > > New Revision: 188018
> > > URL: http://svn.freebsd.org/chang
Author: kmacy
Date: Mon Feb 2 23:04:20 2009
New Revision: 188036
URL: http://svn.freebsd.org/changeset/base/188036
Log:
break out of loop if we run out of mbufs
Modified:
head/sys/dev/xen/netfront/netfront.c
Modified: head/sys/dev/xen/netfront/netfront.c
Author: jhb
Date: Mon Feb 2 22:06:20 2009
New Revision: 188033
URL: http://svn.freebsd.org/changeset/base/188033
Log:
Goof, catch up to constant rename (I renamed it to match the overall PCI
style of having register offsets start with PCIR_* rather than PCI_*).
Submitted by: rss
Modifie
Author: jhb
Date: Mon Feb 2 22:04:40 2009
New Revision: 188032
URL: http://svn.freebsd.org/changeset/base/188032
Log:
- Add a new ioctl to /dev/pci to fetch details on an individual BAR of a
device. The details include the current value of the BAR (including all
the flag bits and the c
Author: rdivacky
Date: Mon Feb 2 21:51:52 2009
New Revision: 188031
URL: http://svn.freebsd.org/changeset/base/188031
Log:
Provide a type for the argument.
Approved by: kib (mentor)
Modified:
head/lib/libc/sparc64/sys/__sparc_utrap.c
Modified: head/lib/libc/sparc64/sys/__sparc_utrap.c
David O'Brien wrote:
> > I think this should be backed out. Those verbose messages:
> > - Are completely unexpected, this violates POLA.
>
> I'm sorry I disagree. You're complaining about something that is
> a feature of FreeBSD 1.x, 2.0 - 3.0, 4.4BSD, all NetBSD versions,
> all OpenBSD version
On Mon, 2009-02-02 at 15:54 -0500, John Baldwin wrote:
> On Monday 02 February 2009 2:54:16 pm John Baldwin wrote:
> > Author: jhb
> > Date: Mon Feb 2 19:54:16 2009
> > New Revision: 188018
> > URL: http://svn.freebsd.org/changeset/base/188018
> >
> > Log:
> > - Add a new ioctl to /dev/pci to f
Author: emax
Date: Mon Feb 2 21:34:04 2009
New Revision: 188030
URL: http://svn.freebsd.org/changeset/base/188030
Log:
Properly retun error core from kbdmux_modevent()
Reported by: Christoph Mallon < christoph -dot- mallon -at- gmx -dot- de >
MFC after:1 week
Modified:
head/sys/d
Author: sbruno
Date: Mon Feb 2 21:05:12 2009
New Revision: 188029
URL: http://svn.freebsd.org/changeset/base/188029
Log:
Begin basic improvements to fwcontrol in the area of handling
video streams from cameras.
This patch changes the displayed timer to a time stamp and corrects
one or
On Monday 02 February 2009 2:54:16 pm John Baldwin wrote:
> Author: jhb
> Date: Mon Feb 2 19:54:16 2009
> New Revision: 188018
> URL: http://svn.freebsd.org/changeset/base/188018
>
> Log:
> - Add a new ioctl to /dev/pci to fetch details on an individual BAR of a
> device. The details inclu
Author: cognet
Date: Mon Feb 2 20:24:29 2009
New Revision: 188020
URL: http://svn.freebsd.org/changeset/base/188020
Log:
Move a comment to where it belongs.
Spotted out by: Christoph Mallon
Modified:
head/sys/arm/sa11x0/assabet_machdep.c
Modified: head/sys/arm/sa11x0/assabet_mac
On Mon, Feb 02, 2009 at 09:14:26PM +0100, Christoph Mallon wrote:
> Olivier Houchard schrieb:
> >Modified: head/sys/arm/sa11x0/assabet_machdep.c
> >==
> >--- head/sys/arm/sa11x0/assabet_machdep.cMon Feb 2 19:54:16 2009
Olivier Houchard schrieb:
Modified: head/sys/arm/sa11x0/assabet_machdep.c
==
--- head/sys/arm/sa11x0/assabet_machdep.c Mon Feb 2 19:54:16 2009
(r188018)
+++ head/sys/arm/sa11x0/assabet_machdep.c Mon F
Author: cognet
Date: Mon Feb 2 20:09:14 2009
New Revision: 188019
URL: http://svn.freebsd.org/changeset/base/188019
Log:
Remove unused variables.
Spotted out by: Christoph Mallon
Modified:
head/sys/arm/arm/dump_machdep.c
head/sys/arm/arm/elf_trampoline.c
head/sys/arm/arm/pmap
Author: jhb
Date: Mon Feb 2 19:54:16 2009
New Revision: 188018
URL: http://svn.freebsd.org/changeset/base/188018
Log:
- Add a new ioctl to /dev/pci to fetch details on an individual BAR of a
device. The details include the current value of the BAR (including all
the flag bits and the c
Author: lulf
Date: Mon Feb 2 19:22:53 2009
New Revision: 188017
URL: http://svn.freebsd.org/changeset/base/188017
Log:
- Use a separate pointer to the allocated memory for freeing, as strsep may
modify the pointer argument passed to it. This triggered an assert in malloc
when a geom com
Author: emax
Date: Mon Feb 2 18:10:51 2009
New Revision: 188014
URL: http://svn.freebsd.org/changeset/base/188014
Log:
Hook up btpand(8) to the build
MFC after:1 month
Modified:
head/usr.sbin/bluetooth/Makefile
Modified: head/usr.sbin/bluetooth/Makefile
Author: emax
Date: Mon Feb 2 18:08:22 2009
New Revision: 188013
URL: http://svn.freebsd.org/changeset/base/188013
Log:
Fix client mode. Pick up service availability changes.
Obtained from:NetBSD
MFC after:1 month
Modified:
head/usr.sbin/bluetooth/btpand/btpand.c
head/usr
Author: sam
Date: Mon Feb 2 16:56:58 2009
New Revision: 188012
URL: http://svn.freebsd.org/changeset/base/188012
Log:
o make SAVE_CCK slightly less error prone by always writing the _flag
value used later by RESTORE_CCK
o swap arg order in RESTORE_CCK to slightly reduce cost
Modified:
Author: sam
Date: Mon Feb 2 16:55:57 2009
New Revision: 188011
URL: http://svn.freebsd.org/changeset/base/188011
Log:
restore variable initialization removed in r187831; this broke
the horrible SAVE/RESTORE_CCK macros used by swan/nala cards to
implement 11b using 11g
Modified:
head/sys/
Author: mtm
Date: Mon Feb 2 15:38:24 2009
New Revision: 188010
URL: http://svn.freebsd.org/changeset/base/188010
Log:
Since, rc.d/defaultroute has the ability to wait for a
default route to show up we can turn this knob back on
without screwing subsequent daemons that expect to be
able to
Author: mtm
Date: Mon Feb 2 15:33:22 2009
New Revision: 188009
URL: http://svn.freebsd.org/changeset/base/188009
Log:
The 30 second wait for network interfaces to show up effectively makes the
time to boot an unplugged system 30 sec. longer for no good reason. Therefore,
add a check to make
Author: phk
Date: Mon Feb 2 14:30:07 2009
New Revision: 188008
URL: http://svn.freebsd.org/changeset/base/188008
Log:
The last sector in the first segment might just be a sync, increment before
checking validity of segment two.
Modified:
head/usr.sbin/fifolog/lib/fifolog_reader.c
Modified
Author: phk
Date: Mon Feb 2 14:29:15 2009
New Revision: 188007
URL: http://svn.freebsd.org/changeset/base/188007
Log:
Don't overwrite it, if only one sector is written yet.
Discovered by:"Dewayne Geraghty"
Modified:
head/usr.sbin/fifolog/lib/fifolog_write_poll.c
Modified: hea
Ed Schouten escribió:
Hi Robert,
* Robert Watson wrote:
- (void)fprintf(stderr, "usage: dirname string\n");
+ (void)fprintf(stderr, "usage: dirname string [...]\n");
Maybe we shouldn't use brackets here, like rm(1):
usage: rm [-f | -i] [-dIPRrvW] file ...
I'd
Ed Schouten schrieb:
Hi Robert,
* Robert Watson wrote:
- (void)fprintf(stderr, "usage: dirname string\n");
+ (void)fprintf(stderr, "usage: dirname string [...]\n");
Maybe we shouldn't use brackets here, like rm(1):
usage: rm [-f | -i] [-dIPRrvW] file ...
Also there are
Hi Robert,
* Robert Watson wrote:
> - (void)fprintf(stderr, "usage: dirname string\n");
> + (void)fprintf(stderr, "usage: dirname string [...]\n");
Maybe we shouldn't use brackets here, like rm(1):
usage: rm [-f | -i] [-dIPRrvW] file ...
--
Ed Schouten
WWW: http://80386.nl/
Author: rwatson
Date: Mon Feb 2 11:19:56 2009
New Revision: 188006
URL: http://svn.freebsd.org/changeset/base/188006
Log:
Alow dirname(1) to accept multiple arguments in the same way that
basename(1) does.
(Two different PRs contained identical patches, both cited below)
PR:
Author: luigi
Date: Mon Feb 2 11:02:19 2009
New Revision: 188005
URL: http://svn.freebsd.org/changeset/base/188005
Log:
Explain that we assume AF_INET and only use the addr and port field
from a struct sockaddr_in, so there is no need to initialize sin_len
Modified:
head/sbin/ipfw/ipfw2.c
Author: luigi
Date: Mon Feb 2 10:58:05 2009
New Revision: 188004
URL: http://svn.freebsd.org/changeset/base/188004
Log:
remove duplicate #include
Modified:
head/sbin/ipfw/dummynet.c
Modified: head/sbin/ipfw/dummynet.c
=
In message: <200902020625.n126pvt6083...@svn.freebsd.org>
Max Khon writes:
: Author: fjoe
: Date: Mon Feb 2 06:25:57 2009
: New Revision: 188001
: URL: http://svn.freebsd.org/changeset/base/188001
:
: Log:
: Remove duplicate OPTFLAGS definition.
Pointy hat to: imp@
Thanks Max.
W
52 matches
Mail list logo