Re: CVS commit: src/sys/kern

2021-06-30 Thread David Holland
On Thu, Jul 01, 2021 at 12:25:51AM -0400, Christos Zoulas wrote: > Modified Files: > src/sys/kern: vfs_vnops.c > > Log Message: > don't clear the error before we use it to determine if we are moving or > duping. oh ffs... *goes to soak head* -- David A. Holland dholl...@netbsd.org

CVS commit: src/sys/kern

2021-06-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 1 04:25:51 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: don't clear the error before we use it to determine if we are moving or duping. To generate a diff of this commit: cvs rdiff -u -r1.218

CVS commit: src/sys/kern

2021-06-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 1 04:25:51 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: don't clear the error before we use it to determine if we are moving or duping. To generate a diff of this commit: cvs rdiff -u -r1.218

CVS commit: src/sys/dev/pckbport

2021-06-30 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Wed Jun 30 22:13:27 UTC 2021 Modified Files: src/sys/dev/pckbport: synapticsvar.h Log Message: Fix hardcoded size for total_patckets array in synaptics_softc, it needs to be SYN_MAX_FINGERS because the driver expects it to be.

CVS commit: src/sys/dev/pckbport

2021-06-30 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Wed Jun 30 22:13:27 UTC 2021 Modified Files: src/sys/dev/pckbport: synapticsvar.h Log Message: Fix hardcoded size for total_patckets array in synaptics_softc, it needs to be SYN_MAX_FINGERS because the driver expects it to be.

CVS commit: src/sys/kern

2021-06-30 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Wed Jun 30 21:52:16 UTC 2021 Modified Files: src/sys/kern: kern_pmf.c Log Message: Prevent kernel panic on sleep if network interface driver does not have if_stop defined. This is a common problem with usb adaptors. This is a

CVS commit: src/sys/kern

2021-06-30 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Wed Jun 30 21:52:16 UTC 2021 Modified Files: src/sys/kern: kern_pmf.c Log Message: Prevent kernel panic on sleep if network interface driver does not have if_stop defined. This is a common problem with usb adaptors. This is a

CVS commit: src/lib/libc/arch/arm

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 21:20:30 UTC 2021 Modified Files: src/lib/libc/arch/arm/gen: swapcontext.S src/lib/libc/arch/arm/sys: __clone.S Log Message: Do previous differtly by pushing two registers in the same way as the _INVOKE_CERROR

CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 21:18:00 UTC 2021 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm: aeabi_cfcmp.S divmodsi4.S divsi3.S modsi3.S Log Message: Do previous differently by pushing even number of registers

CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 21:18:00 UTC 2021 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm: aeabi_cfcmp.S divmodsi4.S divsi3.S modsi3.S Log Message: Do previous differently by pushing even number of registers

CVS commit: src/lib/libc/arch/arm

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 21:20:30 UTC 2021 Modified Files: src/lib/libc/arch/arm/gen: swapcontext.S src/lib/libc/arch/arm/sys: __clone.S Log Message: Do previous differtly by pushing two registers in the same way as the _INVOKE_CERROR

CVS commit: src/sys/dev/ic

2021-06-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jun 30 20:00:18 UTC 2021 Modified Files: src/sys/dev/ic: ax88190.c dl10019.c dp8390.c dp8390var.h Log Message: Fix a couple of problems with MII-equipped NE2000 derivatives reported by Björn Johannesson on current-users@: -

CVS commit: src/sys/dev/ic

2021-06-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jun 30 20:00:18 UTC 2021 Modified Files: src/sys/dev/ic: ax88190.c dl10019.c dp8390.c dp8390var.h Log Message: Fix a couple of problems with MII-equipped NE2000 derivatives reported by Björn Johannesson on current-users@: -

Re: CVS commit: src

2021-06-30 Thread David Holland
On Wed, Jun 30, 2021 at 06:42:21PM +0900, Rin Okuyama wrote: > /home/source/ab/HEAD/src/sys/kern/vfs_vnops.c:357:11: error: 'vp' may be > used uninitialized in this function [-Werror=maybe-uninitialized] > 357 | *ret_vp = vp; > | ^~~~ > cc1: all warnings being treated as

CVS commit: src/sys/kern

2021-06-30 Thread David A. Holland
Module Name:src Committed By: dholland Date: Wed Jun 30 17:51:49 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Improve Christos's vn_open fix. - assert about api misuse up front (suggested by riastradh) - restore the behavior of returning EOPNOTSUPP if

CVS commit: src/sys/kern

2021-06-30 Thread David A. Holland
Module Name:src Committed By: dholland Date: Wed Jun 30 17:51:49 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Improve Christos's vn_open fix. - assert about api misuse up front (suggested by riastradh) - restore the behavior of returning EOPNOTSUPP if

CVS commit: src/sys/dev

2021-06-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 30 17:34:03 UTC 2021 Modified Files: src/sys/dev: devlist2h.awk Log Message: devlist2h.awk: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev

2021-06-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 30 17:34:03 UTC 2021 Modified Files: src/sys/dev: devlist2h.awk Log Message: devlist2h.awk: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

Re: CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm

2021-06-30 Thread Nick Hudson
On 30/06/2021 15:13, Joerg Sonnenberger wrote: On Tue, Jun 29, 2021 at 11:26:00PM +, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Tue Jun 29 23:26:00 UTC 2021 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm: aeabi_cfcmp.S

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

2021-06-30 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jun 30 14:54:03 UTC 2021 Modified Files: src/sys/arch/hp300/dev: rd.c Log Message: No need to bother to use aprint_debug(9) inside #ifdef DEBUG block. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104

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

2021-06-30 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jun 30 14:54:03 UTC 2021 Modified Files: src/sys/arch/hp300/dev: rd.c Log Message: No need to bother to use aprint_debug(9) inside #ifdef DEBUG block. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:42:13 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: do not warn about use of implicitly declared GCC builtins To generate a diff of

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:42:13 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: do not warn about use of implicitly declared GCC builtins To generate a diff of

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:23:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.c msg_155.exp msg_215.c msg_215.exp src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: mention the name of an

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:23:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.c msg_155.exp msg_215.c msg_215.exp src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: mention the name of an

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:32:41 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.exp msg_215.c msg_215.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: in C99 mode, only warn about implicit function declarations

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:32:41 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.exp msg_215.c msg_215.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: in C99 mode, only warn about implicit function declarations

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:15:39 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c msg_215.exp Log Message: tests/lint: extend test for message 215 about implicit function To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm

2021-06-30 Thread Joerg Sonnenberger
On Tue, Jun 29, 2021 at 11:26:00PM +, Rin Okuyama wrote: > Module Name: src > Committed By: rin > Date: Tue Jun 29 23:26:00 UTC 2021 > > Modified Files: > src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm: aeabi_cfcmp.S > divmodsi4.S divsi3.S modsi3.S > > Log

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:15:39 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c msg_215.exp Log Message: tests/lint: extend test for message 215 about implicit function To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:11:08 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_101.c msg_101.exp msg_215.c msg_215.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix type name in message 101 for wrong

CVS commit: src

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:11:08 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_101.c msg_101.exp msg_215.c msg_215.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix type name in message 101 for wrong

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:02:11 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_101.c msg_101.exp Log Message: tests/lint: extend tests for message 101 This demonstrates the wrong type name in the message. To generate a diff

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:02:11 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_101.c msg_101.exp Log Message: tests/lint: extend tests for message 101 This demonstrates the wrong type name in the message. To generate a diff

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 13:50:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c msg_215.exp Log Message: tests/lint: extend and explain test for implicit function declaration To generate a diff of this commit: cvs rdiff

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 13:50:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c msg_215.exp Log Message: tests/lint: extend and explain test for implicit function declaration To generate a diff of this commit: cvs rdiff

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 12:28:03 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: improve comment about INT keeping t_is_enum To generate a diff of this commit: cvs rdiff -u -r1.298 -r1.299

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 12:28:03 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: improve comment about INT keeping t_is_enum To generate a diff of this commit: cvs rdiff -u -r1.298 -r1.299

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 12:26:35 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.c msg_155.exp Log Message: tests/lint: add test for type name of enum converted to int To generate a diff of this commit: cvs rdiff -u -r1.7

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 12:26:35 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.c msg_155.exp Log Message: tests/lint: add test for type name of enum converted to int To generate a diff of this commit: cvs rdiff -u -r1.7

Re: CVS commit: src

2021-06-30 Thread Martin Husemann
On Tue, Jun 29, 2021 at 10:40:54PM +, David A. Holland wrote: > Module Name: src > Committed By: dholland > Date: Tue Jun 29 22:40:54 UTC 2021 > > Modified Files: > src/external/cddl/osnet/sys/sys: vnode.h > src/share/man/man9: errno.9 vnsubr.9 > src/sys/dev:

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 11:29:29 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: func.c Log Message: lint: invert condition in control flow analysis of switch statements The condition previously contained many negations, which was hard to

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 11:29:29 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: func.c Log Message: lint: invert condition in control flow analysis of switch statements The condition previously contained many negations, which was hard to

CVS commit: src/sys/kern

2021-06-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 30 11:20:33 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: PR/56286: Martin Husemann: Fix NULL deref on kmod load. - No need to set ret_domove and ret_fd in the regular case, they are meaningless -

CVS commit: src/sys/kern

2021-06-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 30 11:20:33 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: PR/56286: Martin Husemann: Fix NULL deref on kmod load. - No need to set ret_domove and ret_fd in the regular case, they are meaningless -

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 10:56:24 UTC 2021 Modified Files: src/usr.bin/xlint/common: inittyp.c Log Message: lint: fix bit-size of long double _Complex in portable mode C99 6.2.5p13 says that LCOMPLEX has the same representation and alignment

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 10:56:24 UTC 2021 Modified Files: src/usr.bin/xlint/common: inittyp.c Log Message: lint: fix bit-size of long double _Complex in portable mode C99 6.2.5p13 says that LCOMPLEX has the same representation and alignment

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 10:25:03 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: inline 'sign' into convert_integer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

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

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 10:25:03 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: inline 'sign' into convert_integer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

Re: CVS commit: src

2021-06-30 Thread Rin Okuyama
Hi, GCC warns maybe-uninitialized for this commit (for some architectures and optimization levels: https://releng.netbsd.org/builds/HEAD/202106292250Z/): /home/source/ab/HEAD/src/sys/kern/vfs_vnops.c: In function 'vn_open': /home/source/ab/HEAD/src/sys/kern/vfs_vnops.c:357:11: error: 'vp'

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

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 07:36:05 UTC 2021 Modified Files: src/lib/libc/arch/arm/sys: __clone.S Log Message: The _INVOKE_CERROR macro deals with thumb so simplify the code (at the expense of a couple more instructions). To generate a diff of

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

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 07:36:05 UTC 2021 Modified Files: src/lib/libc/arch/arm/sys: __clone.S Log Message: The _INVOKE_CERROR macro deals with thumb so simplify the code (at the expense of a couple more instructions). To generate a diff of

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

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 07:34:24 UTC 2021 Modified Files: src/lib/libc/arch/arm/sys: __clone.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/arch/arm/sys/__clone.S Please note

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

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 07:34:24 UTC 2021 Modified Files: src/lib/libc/arch/arm/sys: __clone.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/arch/arm/sys/__clone.S Please note

CVS commit: src/sys/net/lagg

2021-06-30 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Wed Jun 30 06:39:47 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg_lacp.c Log Message: lagg: fix an uninitialize variable pointed out by tnn@n.o., thanks. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/net/lagg

2021-06-30 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Wed Jun 30 06:39:47 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg_lacp.c Log Message: lagg: fix an uninitialize variable pointed out by tnn@n.o., thanks. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 06:24:03 UTC 2021 Modified Files: src/sys/arch/arm/dts: sun50i-a64-sopine-baseboard.dts Log Message: Revert previous. Apparently it's wrong. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2021-06-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jun 30 06:24:03 UTC 2021 Modified Files: src/sys/arch/arm/dts: sun50i-a64-sopine-baseboard.dts Log Message: Revert previous. Apparently it's wrong. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4