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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 10:55:11 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up typeok_eq and check_pointer_comparison Since typeok_eq does not issue any diagnostics, prefix it with "is_". By

CVS commit: src/sys/kern

2021-01-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jan 24 11:31:47 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: don't check signals while waiting for other kqueue scans to finish reportedly somewhat improves behaviour for PR kern/55946 part of PR

CVS commit: src

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 12:51:32 UTC 2021 Modified Files: src/sbin/mount_nfs: mount_nfs.8 src/sys/arch/aarch64/include: param.h Log Message: Use 32K as the default NFSv3 read and write data sizes on aarch64, matching i386 and amd64.

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 11:17:44 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_124.c msg_124.exp Log Message: lint: demonstrate wrong 124 for flipped == as well Since the fix in the next commit changes two places in the code,

CVS commit: src/sys/arch/amd64/amd64

2021-01-24 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Jan 24 14:17:11 UTC 2021 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Fix a tyop in a comment. To generate a diff of this commit: cvs rdiff -u -r1.357 -r1.358 src/sys/arch/amd64/amd64/machdep.c Please

CVS commit: src/usr.bin/xlint

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 14:47:43 UTC 2021 Modified Files: src/usr.bin/xlint/arch/aarch64: targparam.h src/usr.bin/xlint/arch/alpha: targparam.h src/usr.bin/xlint/arch/arm: targparam.h src/usr.bin/xlint/arch/coldfire:

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 09:25:17 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h lex.c scan.l Log Message: lint: expand abbreviations in lexer function names No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 11:21:58 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_124.c msg_124.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix wrong warning about null pointer comparison To generate a diff of

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 11:34:01 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: extract duplicate code into is_null_pointer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190

CVS commit: src

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 10:50:42 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_124.c msg_124.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: document bug in typeok_eq Since rt is an alias for

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 11:55:57 UTC 2021 Modified Files: src/usr.bin/xlint/common: tyname.c Log Message: lint: merge duplicate code for interning type names To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys

2021-01-24 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jan 24 13:33:56 UTC 2021 Modified Files: src/sys/arch/arm/include: bus_funcs.h src/sys/sys: bus_proto.h Log Message: Obey __HAVE_BUS_SPACE_8 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/dev/pci

2021-01-24 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Sun Jan 24 14:12:36 UTC 2021 Modified Files: src/sys/dev/pci: virtio_pci.c Log Message: Prevent potential buffer over runs in number of BARS To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/dev/pci

2021-01-24 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Sun Jan 24 14:33:49 UTC 2021 Modified Files: src/sys/dev/pci: virtio_pci.c Log Message: Move definition of NMAPREG to the start To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/virtio_pci.c Please

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 09:18:42 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c d_c99_bool_strict_syshdr.exp Log Message: lint: improve introduction of test d_c99_bool_strict_syshdr To

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 09:44:35 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix build on Cygwin Cygwin does not conform to C99, which says that MB_CUR_MAX has type size_t. Instead, Cygwin defines it as type

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 10:57:17 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix local variable names in check_pointer_comparison To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 11:13:22 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_124.c msg_124.exp Log Message: lint: demonstrate wrong 124 due to bug in is_typeok_eq To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/usr.sbin/fstyp

2021-01-24 Thread Tomohiro Kusumi
Module Name:src Committed By: tkusumi Date: Sun Jan 24 14:37:32 UTC 2021 Modified Files: src/usr.sbin/fstyp: exfat.c Log Message: fstyp: Fix exfat detection taken-from FreeBSD ddf61156132b610915325769cbb93ea11be0d433 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/wscons

2021-01-24 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Jan 25 02:11:41 UTC 2021 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c Log Message: clear the RI_CURSOR flag when we overwrite the cursor so we can skip clearing it when asked to do it later on saves a bunch of

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

2021-01-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 24 14:51:01 UTC 2021 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: More debug To generate a diff of this commit: cvs rdiff -u -r1.422 -r1.423 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not

CVS commit: src

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 17:29:11 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile kmem.9 src/sys/kern: subr_kmem.c src/sys/sys: kmem.h Log Message: Add kmem_tmpbuf_alloc(), a

CVS commit: src/sys/dev/pci

2021-01-24 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Sun Jan 24 15:33:02 UTC 2021 Modified Files: src/sys/dev/pci: virtio_pci.c Log Message: On error unmap the pci_mapreg_map()d regions using bus_space_unmap() as suggested by jak@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/ofw

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 16:45:41 UTC 2021 Modified Files: src/sys/dev/ofw: ofw_subr.c Log Message: Update a comment. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ofw/ofw_subr.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 18:01:14 UTC 2021 Modified Files: src/sys/dev/i2c: motoi2c.c motoi2cvar.h Log Message: Support non-FDT attachment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/motoi2c.c cvs rdiff -u

CVS commit: src/tools/lint

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 16:22:55 UTC 2021 Modified Files: src/tools/lint: Makefile Log Message: lint: fix path to installed stdbool.h for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tools/lint/Makefile

CVS commit: src/sys

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 16:23:06 UTC 2021 Modified Files: src/sys/arch/arm/sunxi: sunxi_sramc.c src/sys/dev/ofw: ofw_subr.c Log Message: Change of_search_compable() to return NULL on no-match, which is much more sensible than the

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 17:44:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_329.c msg_329.exp Log Message: lint: add test for message 329, union cast with incompatible type To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/ofw

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 17:44:16 UTC 2021 Modified Files: src/sys/dev/ofw: ofw_subr.c Log Message: Implement of_match_compat_data() using device_compatible_match_strlist(). Implement of_search_compatible() using

CVS commit: src/sys

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 18:02:51 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 src/sys/dev/acpi: files.acpi Added Files: src/sys/dev/acpi: nxpiic_acpi.c Log Message: Add support for NXP Layerscape I2C

CVS commit: src/sys/dev/pci

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 15:34:08 UTC 2021 Modified Files: src/sys/dev/pci: virtio_pci.c Log Message: Redefining bus_space functions in drivers is a bad idea, and we just should't be in the habit of doing so. Besides, the previous

CVS commit: src/tools/lint

2021-01-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 24 15:43:09 UTC 2021 Modified Files: src/tools/lint: Makefile Log Message: Install lint's custom stdbool.h and make lint search for it in the right place. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/fdt

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 15:43:23 UTC 2021 Modified Files: src/sys/dev/fdt: fdt_subr.c Log Message: Use strlist(9). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/fdt/fdt_subr.c Please note that diffs are not

CVS commit: src/sys/dev/pci

2021-01-24 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Sun Jan 24 15:59:35 UTC 2021 Modified Files: src/sys/dev/pci: virtio_pci.c Log Message: Remove incorrect comment. It would violate the specs. VirtIO PCI v1.0 attachments can only happen on revision 1 devices as they have a

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 16:12:45 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_168.c msg_168.exp msg_171.c msg_171.exp msg_175.c msg_175.exp msg_177.c msg_177.exp msg_178.c msg_178.exp Log Message: lint:

CVS commit: src/sys

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 16:33:48 UTC 2021 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/dev/acpi: dwiic_acpi.c Log Message: Attach dwiic(4) to AMD FCH I2C controllers. These busses are separate from the SMBus that we

CVS commit: src

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 16:55:10 UTC 2021 Modified Files: src/tools/lint: Makefile src/usr.bin/xlint/xlint: pathnames.h Log Message: lint: make path to lint data configurable This is needed for strict bool mode, to make the custom

CVS commit: src/sys

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 17:42:37 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Refactor and simplify device_compatible_match(), and also provide device_compatible_p{match,lookup}() which

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

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 17:55:41 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_225.c msg_225.exp Log Message: lint: add test for message 325, undefined static function To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/dev/ofw

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 21:48:38 UTC 2021 Modified Files: src/sys/dev/ofw: ofw_subr.c Log Message: malloc(9) -> kmem(9) To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/ofw/ofw_subr.c Please note that diffs are

CVS import: src/external/public-domain/tz/dist

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 21:59:15 UTC 2021 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv19196 Log Message: Import tzdata2021a from ftp://ftp.iana.org/tz/releases/tzdata2021a.tar.gz Summary of changes

CVS commit: src/external/public-domain/tz/dist

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 21:59:37 UTC 2021 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Merge tzdata2021a To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/doc

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 22:02:47 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note update of tzdata to 2021a To generate a diff of this commit: cvs rdiff -u -r1.1773 -r1.1774 src/doc/3RDPARTY cvs rdiff -u -r1.2775 -r1.2776

CVS commit: src/doc

2021-01-24 Thread Robert Elz
o 2021a [kre 20210124]

CVS commit: src/sys/dev/i2c

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 19:37:45 UTC 2021 Modified Files: src/sys/dev/i2c: pcai2cmux.c Log Message: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/pcai2cmux.c Please note that diffs are

CVS commit: src/sys/dev/ofw

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 19:38:37 UTC 2021 Modified Files: src/sys/dev/ofw: ofw_subr.c Log Message: Rewrite of_compatible() using strlist_match(). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/ofw/ofw_subr.c

CVS commit: src/usr.bin/make/unit-tests

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 19:48:11 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make(1): describe expansion of nested variables in .for values These edge cases

CVS commit: src/usr.bin/make/unit-tests

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 19:30:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make(1): let the test directive-for-escape exit successfully There is no reason

CVS commit: src/sys/dev/i2c

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 19:35:21 UTC 2021 Modified Files: src/sys/dev/i2c: i2cmux.c Log Message: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/i2cmux.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 19:35:45 UTC 2021 Modified Files: src/sys/dev/i2c: i2cmuxvar.h Log Message: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/i2cmuxvar.h Please note that diffs are

CVS commit: src/sys/dev/i2c

2021-01-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 24 19:38:49 UTC 2021 Modified Files: src/sys/dev/i2c: pcai2cmux.c Log Message: remove part of previous that was committed by mistake To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/ofw

2021-01-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jan 24 20:09:03 UTC 2021 Modified Files: src/sys/dev/ofw: ofw_network_subr.c Log Message: Rewrite of_network_decode_media() to use strlist_next() and device_compatible_lookup(). To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 20:11:55 UTC 2021 Modified Files: src/usr.bin/make: dir.c main.c make.h nonints.h parse.c suff.c Log Message: make(1): convert SearchPath to struct This prepares for making dotLast a simple struct member instead of a