CVS commit: [thorpej-cfargs] src/sys/arch/cobalt/conf

2021-03-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Mar 20 23:50:16 UTC 2021 Modified Files: src/sys/arch/cobalt/conf [thorpej-cfargs]: files.cobalt Log Message: There is no need to have the "pcibus" interface attribute on mainbus; PCI bus instances to not attach there. To g

CVS commit: src/usr.bin/seq

2021-03-20 Thread Aleksey Cheusov
Module Name:src Committed By: cheusov Date: Sat Mar 20 22:10:17 UTC 2021 Modified Files: src/usr.bin/seq: seq.c Log Message: seq.c: replace non-standard `\e` with standard compliant `\x1B` To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/seq/seq.

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 21:08:10 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up new_name_node No functional change. To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/usr.bin/xlint/lint

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 20:56:58 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: op.h oper.c print.c tree.c Log Message: lint: move getopname over to tree.c Except for the one use in print_tnode, the name of the operator is only used in tre

CVS commit: [thorpej-cfargs] src/sys/arch

2021-03-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Mar 20 20:49:43 UTC 2021 Modified Files: src/sys/arch/hpcmips/dev [thorpej-cfargs]: plum.c plumiobus.c ucb1200.c src/sys/arch/hpcmips/tx [thorpej-cfargs]: tx39sib.c tx39spi.c tx39uart.c txcsbus.c txsim.c

CVS commit: [thorpej-cfargs] src/sys

2021-03-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Mar 20 20:47:53 UTC 2021 Modified Files: src/sys/arch/arm/xscale [thorpej-cfargs]: pxa2x0.c src/sys/arch/zaurus/dev [thorpej-cfargs]: zssp.c src/sys/dev/gpio [thorpej-cfargs]: gpio.c Log Message: No need to pa

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 20:39:35 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: main1.c op.h oper.c ops.def tree.c Log Message: lint: remove redundant operator properties table It's enough to have modtab, which describes the properties of

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 20:15:37 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: op.h oper.c ops.def Log Message: lint: fix argument names and table headings for operator definitions The abbreviations in the table of operator properties had

CVS commit: [thorpej-cfargs] src/sys

2021-03-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Mar 20 19:33:42 UTC 2021 Modified Files: src/sys/arch/acorn32/eb7500atx [thorpej-cfargs]: rsbus.c src/sys/arch/acorn32/mainbus [thorpej-cfargs]: pioc.c src/sys/arch/amiga/amiga [thorpej-cfargs]: autoconf.c

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 19:33:25 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: Makefile lex.c oper.c Log Message: lint: make lint's own code pass the strict bool mode No functional change. To generate a diff of this commit: cvs rdiff -u

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 19:24:57 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use macro for initializing keywords table Since today, lint's strict bool mode requires initializers to have the correct type. The fl

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 18:59:00 UTC 2021 Modified Files: src/usr.bin/xlint/common: inittyp.c Log Message: lint: use macro for encoding type information In lint's strict bool mode, initialization must be of the correct type. This affects the

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 18:38:25 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: inline access to type properties in check_bad_enum_operation No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 17:18:50 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: in strict bool mode, check initialization

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 17:08:08 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c Log Message: tests/lint: test initialization in strict bool mode I somehow forgot to list INIT as one of the operators in is_assignme

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 16:16:32 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h func.c Log Message: lint: rename ftflg to seen_fallthrough One less abbreviation to remember when reading the code. No functional change.

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 16:11:12 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: make the calls to clear_warning_flags stand out less Even though clear_warning_flags and its companions are implemented as macros, t

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 15:30:58 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar for declaration after statement No functional change. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1

CVS commit: src

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 15:28:07 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_327.c msg_327.exp src/usr.bin/xlint/lint1: cgram.y Log Message: lint: fix check for declaration after statement in pre-C99 mode The new code

CVS commit: src/sys/arch/aarch64

2021-03-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Mar 20 14:30:50 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S pmapboot.c src/sys/arch/aarch64/include: pmap.h Log Message: Make pmapboot_enter panic if anything goes wrong and any mappings overlap rath

CVS commit: src/usr.bin/cmp

2021-03-20 Thread Aleksey Cheusov
Module Name:src Committed By: cheusov Date: Sat Mar 20 14:27:47 UTC 2021 Modified Files: src/usr.bin/cmp: cmp.c Log Message: cmp.c: use C99 strtoll(3) instead of legacy strtoq(3) To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/cmp/cmp.c Please

CVS commit: src

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 14:17:56 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_327.c msg_327.exp src/usr.bin/xlint/lint1: cgram.y err.c Log Message: lint: properly name C99 in message about declaration after statement No

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 14:13:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_327.c msg_327.exp Log Message: tests/lint: add test for declaration after statement To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 13:53:28 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: use proper boolean literals instead of 0/1 The code in the C grammar is generated by yacc and is not checked by lint's strict bool m

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 13:25:31 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: update comment on setasm for C99 No functional change. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/usr.bin/

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 13:22:06 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: reduce indentation and braces in merge_type_specifiers No functional change. To generate a diff of this commit: cvs rdiff -u -r1.15

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 13:06:05 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: extract adjusting of the storage class into separate function No functional change. To generate a diff of this commit: cvs rdiff -u

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 13:00:43 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: document the struct for declarations more precisely No functional change. To generate a diff of this commit: cvs rdiff -u -r1.75 -

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 11:33:50 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: remove unnecessary '%prec T_COMMA' from grammar My previous commit message was wrong in saying that the '%prec' was necessary. It i

CVS commit: src

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 11:24:49 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_compound_literal_comma.c src/usr.bin/xlint/lint1: cgram.y Log Message: lint: join grammar rules for initialization The '%prec T_COMMA' is n

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 11:05:16 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: fix grammar for initialization Previously, the grammar syntactically accepted the following code: int var = .member = 12345

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 10:32:43 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: align rule names in grammar with C99 No functional change. To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/usr

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

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 08:59:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c Log Message: tests/lint: add more tests for initialization, based on C99 6.7.8 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.1

CVS commit: src

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 08:54:27 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp src/usr.bin/xlint/lint1: init.c Log Message: lint: fix assertion failure after error in designation In d_c99_init.c,

CVS commit: src

2021-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 20 08:16:30 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c src/usr.bin/xlint/lint1: init.c Log Message: lint: replace segmentation fault with assertion failure To generate a diff of this com