OpenBSD cvs log

created 2018-12-30T11:27:43Z
begin 2018-12-27T00:00:00Z
end 2018-12-28T00:00:00Z
path src/sys
commits 7

date 2018-12-27T10:04:16Z
author anton
files src/sys/dev/kcov.c log diff annotate
src/sys/sys/kcov.h log diff annotate
message Separate kcov descriptor state and trace mode as a first step towards supporting
different trace modes.

ok mpi@

date 2018-12-27T11:04:41Z
author claudio
files src/sys/arch/sparc64/dev/pci_machdep.c log diff annotate
message Do not assign node to itself. Instead move the earlier initialisation into
the for loop. Makes clang happier.
OK otto@, deraadt@

date 2018-12-27T11:06:38Z
author claudio
files src/sys/arch/sparc64/dev/ce4231.c log diff annotate
src/sys/arch/sparc64/dev/comkbd_ebus.c log diff annotate
src/sys/arch/sparc64/dev/fd.c log diff annotate
src/sys/arch/sparc64/dev/vgafb.c log diff annotate
src/sys/arch/sparc64/dev/z8530kbd.c log diff annotate
src/sys/arch/sparc64/dev/zs.c log diff annotate
message Move away from K&R style function definitions. clang is rather picky about
them especially if char and short arguments are used.
OK otto@ deraadt@

date 2018-12-27T11:09:17Z
author claudio
files src/sys/dev/sbus/agten.c log diff annotate
src/sys/dev/sbus/spif.c log diff annotate
src/sys/dev/sbus/stp4020.c log diff annotate
message Convert K&R function definitions to modern C. clang is more picky about
them.
OK otto@ deraadt@

date 2018-12-27T16:54:01Z
author kn
files src/sys/net/pf_ioctl.c log diff annotate
src/sys/net/pf_ruleset.c log diff annotate
message Check for main ruleset explicitly

All rulesets reference their parent anchor, except for the special cased
main anchor containing the main ruleset, which's reference is always NULL
since initialization and never changes.

Replacing nullity tests with clearer equality checks makes the code less
ambigious and easier to understand.

OK sashan

date 2018-12-27T17:57:58Z
author tedu
files src/sys/dev/audio.c log diff annotate
message must remember to unref device if setting the task isn't done.
ok anton

date 2018-12-27T19:33:08Z
author anton
files src/sys/dev/kcov.c log diff annotate
src/sys/sys/kcov.h log diff annotate
message Make KIOENABLE accept a mode argument, currently limited to KCOV_MODE_TRACE_PC.

Thanks to jmc@ for improving the manual bits.

ok deraadt@ mpi@