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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 30 01:44:32 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: reduce nesting of function calls To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/usr.bin/xlint/lint1/cgram.y

CVS commit: src/usr.bin/nl

2020-12-29 Thread Brian Ginsbach
Module Name:src Committed By: ginsbach Date: Wed Dec 30 01:42:31 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: nl: fix -d delim parsing for POSIX POSIX specifies it is possible to specify a one delimiter character. Fix the logic so that both one and two

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 30 01:33:30 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: err.c externs1.h init.c lint1.h Log Message: lint: reduce verbosity of assertions Having 2 lines of source code per assertion is too much, especially since

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 30 01:02:38 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add debug logging to the parser Even with -DDEBUG and -DYYDEBUG, the debug output is not detailed enough to clearly see what

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 23:12:48 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c lint1.h Log Message: lint: rename istk_t.i_cnt to i_remaining To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 23:04:31 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: rename functions that had very short names To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100

CVS commit: src/sys/kern

2020-12-29 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 29 22:13:40 UTC 2020 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Honor LOCKPARENT for ".." of the root directory. Reported-by: syzbot+f40b9f241b818fd12...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/usr.bin/xlint

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 21:32:46 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: decl.c emit1.c lint1.h tree.c src/usr.bin/xlint/lint2: lint2.h Log Message: lint: fix typo in comments To generate a diff of this commit: cvs rdiff

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 20:56:28 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: untangle conditions in initstack_next_nobrace To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 20:07:04 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: clean up debug logging for initializations To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 19:57:44 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: make debug output for initializations more uniform To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 19:09:53 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: remove redundant function prototypes To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/xlint/lint1/init.c

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 19:02:16 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: improve debug output for initializing structs Still trying to find out where the wrong warning in d_struct_init_nested comes from.

CVS commit: src/distrib/sets/lists/xdebug

2020-12-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Dec 29 17:53:08 UTC 2020 Modified Files: src/distrib/sets/lists/xdebug: mi Log Message: Add /var/db/obsolete/xdebug To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/distrib/sets/lists/xdebug/mi Please note

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 17:29:31 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h Log Message: lint: split complete_tag into separate functions To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116

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

2020-12-29 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Dec 29 17:17:14 UTC 2020 Modified Files: src/sys/arch/luna68k/dev: lcd.c siotty.c xp.c Log Message: Make local functions static. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/luna68k/dev/lcd.c

CVS commit: src/sys/arch/alpha/alpha

2020-12-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Dec 29 17:16:15 UTC 2020 Modified Files: src/sys/arch/alpha/alpha: pmap.c Log Message: >From the Infinitesimal Optimizations Department: in pmap_kremove(), update the globally visible stats outside of the loop. To generate

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 16:59:12 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: split initstack_next into separate functions To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 16:53:36 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: split initstack_pop into separate functions To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 16:48:53 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h init.c Log Message: lint: rename functions for handling the initialization stack To generate a diff of this commit: cvs rdiff -u -r1.114

CVS commit: src/etc

2020-12-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Dec 29 16:46:44 UTC 2020 Modified Files: src/etc: Makefile Log Message: If MKX11 and MKDEBUG, add the xdebug set to the obsolete file handling. To generate a diff of this commit: cvs rdiff -u -r1.448 -r1.449

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

2020-12-29 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Dec 29 16:02:01 UTC 2020 Modified Files: src/sys/arch/hp300/dev: dcm.c Log Message: Use C99 designated initializers for struct consdev. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89

CVS commit: src/sys/dev/pci

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 15:49:45 UTC 2020 Modified Files: src/sys/dev/pci: pci_map.c Log Message: KNF a comment To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/pci_map.c Please note that diffs are not public

CVS commit: src/sys/dev/pci

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 15:49:13 UTC 2020 Modified Files: src/sys/dev/pci: pci_map.c Log Message: More of the patch that adds support for Enhanced Allocations as seen in the Cavium ThunderX based GIGABYTE MT30-GS2-00 >From thorpej@. Thanks!

CVS commit: src/sys/dev/pci

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 15:39:59 UTC 2020 Modified Files: src/sys/dev/pci: pci_map.c pciconf.c Log Message: Add support for Enhanced Allocations as seen in the Cavium ThunderX based GIGABYTE MT30-GS2-00 >From thorpej@. Thanks! To generate a

CVS commit: src/usr.bin/xlint

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 13:33:03 UTC 2020 Modified Files: src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c print.c scan.l tree.c Log Message: lint: rename

CVS commit: src/distrib/sets/lists/xdebug

2020-12-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Dec 29 12:43:36 UTC 2020 Modified Files: src/distrib/sets/lists/xdebug: mi Log Message: Mark resize debug info as obsolete To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/distrib/sets/lists/xdebug/mi

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 12:29:03 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: scan.l Log Message: lint: remove redundant parentheses around return value To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/usr.bin/xlint

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 12:18:42 UTC 2020 Modified Files: src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: cgram.y err.c func.c lint1.h scan.l tree.c src/usr.bin/xlint/lint2: read.c Log Message: lint: fix

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 11:54:56 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: lint1.h tree.c Log Message: lint: spell check To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/xlint/lint1/lint1.h cvs rdiff -u

CVS commit: src/usr.bin/xlint

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 11:35:11 UTC 2020 Modified Files: src/usr.bin/xlint/common: mem.c tyname.c src/usr.bin/xlint/lint1: cgram.y decl.c emit1.c err.c init.c main1.c mem1.c tree.c src/usr.bin/xlint/lint2: chk.c

CVS commit: src/sys/dev/pci

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 11:07:48 UTC 2020 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.1408 -r1.1409 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1407 -r1.1408

CVS commit: src/sys/dev/pci

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 11:05:57 UTC 2020 Modified Files: src/sys/dev/pci: pcidevs Log Message: Sort Cavium devices To generate a diff of this commit: cvs rdiff -u -r1.1422 -r1.1423 src/sys/dev/pci/pcidevs Please note that diffs are not

CVS commit: src/sys/dev/pci

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 11:04:53 UTC 2020 Modified Files: src/sys/dev/pci: pcidevs Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.1421 -r1.1422 src/sys/dev/pci/pcidevs Please note that diffs are not

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

2020-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 29 10:24:22 UTC 2020 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c main1.c tree.c Log Message: lint: rename functions that had very short names C99 guarantees that the first 31

CVS commit: src/sys/dev/usb

2020-12-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue Dec 29 08:04:59 UTC 2020 Modified Files: src/sys/dev/usb: uaudio.c Log Message: During detach, re-use the functions that halt playback and record DMA. Prevents a panic during shutdown when media is playing. To generate a diff

CVS commit: src/sys/dev/ic

2020-12-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Dec 29 08:00:48 UTC 2020 Modified Files: src/sys/dev/ic: ahcisata_core.c Log Message: Some more whitespace consistency / KNF To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/dev/ic/ahcisata_core.c