CVS commit: src/tests/lib/libc/sys

2021-01-17 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Jan 18 05:44:21 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_syscall.c Log Message: Check for MAP_FAILED instead of NULL when looking for an error from mmap(2). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1

CVS commit: src/sys/arch/powerpc/ibm4xx

2021-01-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jan 18 04:35:05 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: clock.c Log Message: Invoke hardclock() and statclock() in the interrupt context. Otherwise, entropy_enter() is used instead of entropy_enter_intr() in statcl

CVS commit: src/sys/arch/powerpc/ibm4xx

2021-01-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jan 18 04:30:13 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: clock.c Log Message: Simplify and correct stale comment; nticks-th hardclock() had no longer been special since rev 1.24: http://cvsweb.netbsd.org/bsdweb.cgi/

CVS commit: src/distrib/amd64/installimage

2021-01-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jan 18 03:35:11 UTC 2021 Modified Files: src/distrib/amd64/installimage: Makefile Log Message: Oooppss we need another size bump To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/distrib/amd64/installimage/

CVS commit: src/sys/arch/powerpc/ibm4xx

2021-01-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jan 18 02:43:27 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c Log Message: white space --> tab To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c

CVS commit: src/sys

2021-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 18 02:35:50 UTC 2021 Modified Files: src/sys/arch/arm/amlogic: meson_pinctrl.c meson_pwm.c meson_thermal.c meson_usbctrl.c meson_usbphy.c mesong12_clkc.c mesongx_mmc.c mesongxbb_clkc.c src/s

CVS commit: src/sys/arch/aarch64/aarch64

2021-01-17 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jan 18 01:38:44 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: Fix build as crash(8); Protect db_md_meminfo_cmd() by defined(_KERNEL). To generate a diff of this commit: cvs rdiff -u -r1.31 -r1

CVS commit: src/sys/arch/evbarm/conf

2021-01-17 Thread Nia Alarie
Module Name:src Committed By: nia Date: Mon Jan 18 00:32:38 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: GENERIC.common Log Message: disable compat_ossaudio, it's not useful without compat_linux when running netbsd binaries we use userspace libossaudio instead. "oh

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 23:04:09 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c d_c99_bool_strict_syshdr.exp src/usr.bin/xlint/lint1: externs1.h scan.l tree.c Log Message: lint: allow sys

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 23:00:41 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: Makefile d_c99_bool_strict.c d_c99_bool_strict.exp t_integration.sh Added Files: src/tests/usr

CVS commit: src/sys/rump/librump/rumpkern

2021-01-17 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jan 17 22:32:25 UTC 2021 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: rump_component_init() is called recursively, so LIST_FOREACH_SAFE is not actually safe, since the recursive calls can result in elements

CVS commit: src/sys

2021-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 17 21:56:20 UTC 2021 Modified Files: src/sys/dev/i2c: at24cxx.c axppmic.c ds1307.c fan53555.c m41st84.c pcagpio.c pcai2cmux.c rkpmic.c src/sys/sys: device.h Log Message: Change the device_compatible_en

CVS commit: src/sys/dev/i2c

2021-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 17 21:47:50 UTC 2021 Modified Files: src/sys/dev/i2c: ihidev.c tsllux.c Log Message: Use designated initializers and a consistent termination style in compat_data[]. To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/dev

2021-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 17 21:42:35 UTC 2021 Modified Files: src/sys/dev/i2c: ac100.c adadc.c adm1021.c adm1026.c anxedp.c as3722.c asms.c axp20x.c axp22x.c cwfg.c dbcool.c dstemp.c em3027.c es8316ac.c fcu.c hytp14.c lm75.

CVS commit: src/tests/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 21:19:06 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: lint: add test for macro from system header in strict bool mode Seen in usr.bin/make/m

CVS commit: src/sys/arch/sparc64/dev

2021-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 17 21:03:27 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: Use designated initializers and a consistent termination style in compat_data[]. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/macppc/dev

2021-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 17 21:02:33 UTC 2021 Modified Files: src/sys/arch/macppc/dev: deq.c lmu.c psoc.c smusat.c Log Message: Use designated initializers and a consistent termination style in compat_data[]. To generate a diff of this commit:

CVS commit: src/sys/dev/fdt

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 19:54:23 UTC 2021 Modified Files: src/sys/dev/fdt: amdccp_fdt.c fixedregulator.c gpioregulator.c i2cmux_fdt.c Log Message: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/arm/fdt

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 19:53:05 UTC 2021 Modified Files: src/sys/arch/arm/fdt: acpi_fdt.c Log Message: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/fdt/acpi_fdt.c Please note that dif

CVS commit: src/sys/arch/arm/fdt

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 19:51:43 UTC 2021 Modified Files: src/sys/arch/arm/fdt: arm_simplefb.c Log Message: Fit in 80 columns. NFC. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/fdt/arm_simplefb.c Please not

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 19:32:53 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/etc/mtree: NetBSD.dist.base src/usr.bin/xlint/xlint: Makefile Log Message: lint: install cust

CVS commit: src/sys/arch/arm/fdt

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 19:03:50 UTC 2021 Modified Files: src/sys/arch/arm/fdt: arm_simplefb.c Log Message: Use vcons_earlyinit To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/fdt/arm_simplefb.c Please note th

CVS commit: src/sys/dev/wscons

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 19:03:32 UTC 2021 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c wsdisplay_vconsvar.h Log Message: Revert previous and introduce vcons_earlyinit, which is like vcons_init except it does not setup a vcons_intr t

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 17:16:47 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: rename typeok_amper to typeok_address This is about the address-of operator, not about the '&' sign that is also used for bitwise and

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 17:14:34 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_126.exp src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: add type information to message 126 To generate a diff of this commit: cvs

CVS commit: src/sys/dev/wscons

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 16:51:12 UTC 2021 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c Log Message: The change from config_interrupts to a kthread for VCONS_DRAW_INTR init unfortunately makes it easier to trigger a race that results

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 16:32:36 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: flatten typeok_ordered_comparison To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/usr.bin/xlint/lint1/tree.c Pl

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 16:25:30 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c lint1.h tree.c Log Message: lint: extend a few message comments To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src/usr.bin/xlint/lint1

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 16:19:54 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_115.c msg_115.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: add test for incrementing const variable To generate a diff of this com

CVS commit: src/tests/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 16:16:10 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_163.c msg_163.exp Log Message: lint: add test for rvalue ++ after cast To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 16:01:19 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up typeok_ordered_comparison To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/usr.bin/xlint/lint1/tree.c P

CVS commit: src/tests/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 16:00:16 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_123.c msg_123.exp Log Message: lint: add test for ordered comparison between incompatible types To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 15:40:28 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h init.c tree.c Log Message: lint: fix return type of conaddr To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/usr.bin/xlint/lint1/e

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 15:31:11 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: reduce scope of local variables in check_expr_misc To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/usr.bin/xlint

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 15:24:03 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c tree.c Log Message: lint: replace integer constants with bool constants To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/usr.bin/xli

CVS commit: src/sys/dev/wscons

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 15:13:15 UTC 2021 Modified Files: src/sys/dev/wscons: wsdisplay_vconsvar.h Log Message: Add appropriate memory barriers around sc_busy accesses. Fixes an issue where character cells are sometimes not erased properly o

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 15:09:56 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y scan.l Log Message: lint: rename T_AND to T_AMPER When parsing a text into a C program, the character '&' does not yet mean 'bitwise and', it could als

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 15:06:54 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y ops.def scan.l tree.c Log Message: lint: rename bitwise operators When there are several variants of the AND operator, both of them should get a distin

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 14:55:22 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y ops.def tree.c Log Message: lint: rename operator STAR to INDIR C99 calls this operator the "indirection operator". The word "star" does not occur in

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 14:50:11 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y emit1.c func.c ops.def tree.c Log Message: lint: rename operator AMPER to ADDR There is no operator called 'ampersand'. The ampersand sign is merely t

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 14:45:21 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_204.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: rename build_ampersand to build_address At that stage of analysis, the ampersand is

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 14:37:49 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: extract fallback_symbol from new_name_node The code was too close to the right margin, causing unnatural line breaks. Furthermore it

CVS commit: src/sys/arch/arm/fdt

2021-01-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 17 14:28:25 UTC 2021 Modified Files: src/sys/arch/arm/fdt: arm_simplefb.c Log Message: fix build without VCONS_DRAW_INTR To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/fdt/arm_simplefb.c

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 14:26:31 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: flatten check_pointer_integer_conversion To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/usr.bin/xlint/lint1/tre

CVS commit: src

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 13:50:33 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp src/usr.bin/xlint/common: inittyp.c src/usr.bin/xlint/lint1: tree.c Log Message: lin

CVS commit: src/tests/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 13:15:03 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: lint: explain failing test case in strict bool mode To generate a diff of this commit

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 12:23:01 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: op.h tree.c Log Message: lint: rename mod_t members To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/xlint/lint1/op.h cvs rdiff -u -r

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 11:55:55 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: lint: rename local variables in lbasename To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/usr.bin/xlint/lint1/err.c Plea

CVS commit: src/tests/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 11:32:06 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: lint: demonstrate wrong error message in strict bool mode To generate a diff of this

CVS commit: src/usr.bin/xlint/lint1

2021-01-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 17 11:28:02 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c func.c Log Message: lint: fix type mismatch for strict bool mode No functional change. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125

CVS commit: src/sys/compat/netbsd32

2021-01-17 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Jan 17 10:50:01 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Handle the SIOCGNBRINFO_IN6 ioctl for compat32. ndp -a works with compat32 now. To generate a diff of this com