CVS commit: src/sys/dev/fdt

2021-02-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Feb 22 06:21:35 UTC 2021 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: It is more appropriate to use clk_get_rate() rather than sc->sc_freq_target * 100. ci_data.cpu_cc_freq should be set to a higher precision

CVS commit: src/sys/arch/mac68k/obio

2021-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Feb 22 05:23:37 UTC 2021 Modified Files: src/sys/arch/mac68k/obio: esp.c Log Message: Elucidate why synchronous transfer is disabled for AV Macs. Sync negotiation times out when drive advertises that capability: sd1 at

CVS commit: src/sys/arch/mac68k/obio

2021-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Feb 22 04:24:42 UTC 2021 Modified Files: src/sys/arch/mac68k/obio: esp.c Log Message: - Add missing \n's to printf(9). - Whitespace fixes. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

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

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Feb 22 02:18:33 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: trap.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/aarch64/aarch64/trap.c Please note that diffs are

CVS commit: src/external/mpl/bind/dist/lib/isc/unix

2021-02-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 22 01:31:52 UTC 2021 Modified Files: src/external/mpl/bind/dist/lib/isc/unix: socket.c Log Message: Locking protocol changed again, adjust. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

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

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 21 23:37:10 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: When waking from cpu_idle(), only call dosoftints if ci_intr_depth == 0 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2021-02-21 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 21 23:06:39 UTC 2021 Modified Files: src/sys/dev/usb: usb.c Log Message: add ddb commands to inspect usb xfer and xferlist structures. To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/sys/dev/usb/usb.c

CVS commit: src/sys/dev/usb

2021-02-21 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 21 23:06:13 UTC 2021 Modified Files: src/sys/dev/usb: if_urtwn.c Log Message: replace printf "ERROR" with device_printf() and useful messages. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 22:21:56 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: allow navigation with KEY_PPAGE and KEY_NPAGE To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/games/cgram/cgram.c

CVS commit: src

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 21:26:26 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile Added Files: src/tests/usr.bin/indent: comment-line-end.0 comment-line-end.0.stdout Log Message:

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 20:33:43 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: rewrite completely, fixing bugs and style Fixed bugs: Do not consider the puzzle solved if all letters in the visible area are

CVS commit: src/sys/arch/xen/x86

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:11:59 UTC 2021 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: in xen_shm_map(), make sure to unmap any successfully mapped pages before returning failure if there is partial failure fix

CVS commit: src/sys/arch/xen/xen

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:02:25 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: reset xio_xv before calling xbdback_io_error() so it won't try to unmap the non-initialized handles when xen_shm_map() fails

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 17:16:00 UTC 2021 Modified Files: src/games/cgram: Makefile cgram.c Log Message: cgram: WARNS=6, use int for all coordinates Eliminate some frequently occurring subexpressions during substitution. No functional

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

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 21 17:07:45 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic.c pic_splfuncs.c picvar.h Log Message: Inline pic_set_priority and use cpu_dosoftints_ci when available. To generate a diff of this commit: cvs rdiff -u

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

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 21 17:07:06 UTC 2021 Modified Files: src/sys/arch/aarch64/include: cpu.h Log Message: Add cpu_dosoftints_ci(). Like cpu_dosoftints(), but takes a cpu_info ptr so we can avoid the extra tpidr_el1 access if cpu_info is

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 16:50:58 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: consistently use char for characters Having to convert back and forth between char, unsigned char and int is confusing. Just stay with

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 16:37:26 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: fix undefined behavior when pressing function keys The key codes for function keys are outside of the "range representable by an unsigned

CVS commit: src/lib/libc/gen

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 16:33:23 UTC 2021 Modified Files: src/lib/libc/gen: isascii.3 Log Message: isascii.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/gen/isascii.3 Please note that diffs are not

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

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 21 16:07:43 UTC 2021 Modified Files: src/sys/arch/arm/sunxi: sunxi_emac.h Log Message: Align descriptors to 64 bytes instead of CACHE_LINE_SIZE (128) as all known Allwinner SoCs with this part use 64-byte cache lines.

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 16:05:44 UTC 2021 Modified Files: src/games/cgram: Makefile cgram.c Log Message: cgram: adjust style to survive lint's strict bool mode The biggest change is the return type of substitute(). Before, 0 meant success,

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

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 21 15:45:30 UTC 2021 Modified Files: src/sys/arch/arm/cortex: gic.c Log Message: Apply PMR optimizations from gicv3 To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/arm/cortex/gic.c Please

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 15:42:21 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: sort includes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/games/cgram/cgram.c Please note that diffs are not public

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 15:41:04 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: indent With manual corrections afterwards: - indent removes empty lines between statement and declaration. This had been a syntax

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 15:02:16 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h init.c tree.c Log Message: lint: extract check_non_constant_initializer from init_using_expr No functional change. To generate a diff of this

CVS commit: src/sys/arch

2021-02-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 21 15:00:05 UTC 2021 Modified Files: src/sys/arch/aarch64/include: cpu.h src/sys/arch/arm/cortex: gicv3.c src/sys/arch/arm/include: cpu.h Log Message: Keep current hardware priority value in struct

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 14:57:25 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: extract check_bit_field_init from init_using_expr No functional change. To generate a diff of this commit: cvs rdiff -u -r1.85

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 14:49:23 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_186.c msg_186.exp Log Message: lint: add test for bit-field initialisation in traditional C To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 14:19:27 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: init.c Log Message: lint: add debug logging for initializing an

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 14:02:36 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: rename and condense initstack_check_too_many No functional change. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 13:52:21 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: remove redundant debug logging In initstack_pop_nobrace, if anything happens to the initstack, it will be logged by

CVS commit: src/games/cgram

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 13:35:37 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: fix Home key for cursor navigation Reported by liweitianux via GitHub. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 13:27:22 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: mem1.c Log Message: lint: clean up comments in mem1.c The comment for tgetblk had been misplaced. To generate a diff of this commit: cvs rdiff -u -r1.25

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 13:13:15 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: document i_brace, add comments, rename initstack_string No functional change outside debug mode. To generate a diff of this

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 13:10:57 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp Log Message: lint: add test for initializing a character array using a string The previous attempt took another code path

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 12:49:05 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp Log Message: lint: add more tests for C99 initialization To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/usb

2021-02-21 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 21 12:36:39 UTC 2021 Modified Files: src/sys/dev/usb: usb_quirks.c Log Message: Add a bunch of USB loader devices for Freescale SoC that should not attach as HID devices. To generate a diff of this commit: cvs rdiff -u

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 11:23:33 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c tree.c Log Message: lint: always initialize return values of constant_addr Before, the caller was responsible for initializing the return values from

CVS commit: src

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 10:28:33 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_struct_init_nested.exp msg_210.exp src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: add type

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 10:12:30 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_210.c msg_210.exp Log Message: lint: add test for enum mismatch in initialization This warning is currently not user-friendly because it omits any

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 10:03:35 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: clean up debug logging in initstack_pop_item The debug logging contained much redundant information and was misleading in a few

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 09:24:32 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: rename istk to initstack_element The longer name is more expressive and more correct. The previous name called each stack element a

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 09:19:53 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp Log Message: lint: add another test case for initializing an object To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 09:17:56 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_cvt_constant.c d_cvt_constant.exp msg_217.c src/usr.bin/xlint/lint1: func.c Log Message: lint: fix wrong warning about main falling

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

2021-02-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 21 08:47:13 UTC 2021 Modified Files: src/sys/arch/arm/arm: arm_machdep.c Log Message: KNF consistency To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/arch/arm/arm/arm_machdep.c Please note that

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

2021-02-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 21 08:46:28 UTC 2021 Modified Files: src/sys/arch/arm/arm: arm_machdep.c Log Message: Some preemption updates - still not being used (yet) To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

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

2021-02-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 21 08:31:36 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic.c Log Message: Fixup with __HAVE_PREEMPTION code which is currently unused To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 08:27:41 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: reduce amount of debug output during initialization To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78

CVS commit: src

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 08:05:51 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: Makefile t_integration.sh Added Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp Log

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

2021-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 08:01:14 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: rename members of struct istk to be more expressive No functional change outside debug mode. To generate a diff of this commit: