CVS commit: src/sys/kern

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 30 01:52:29 UTC 2022 Modified Files: src/sys/kern: kern_physio.c Log Message: physio(9): Include error in KASSERTMSG. May help to track down:

CVS commit: src/sys/kern

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 30 01:52:29 UTC 2022 Modified Files: src/sys/kern: kern_physio.c Log Message: physio(9): Include error in KASSERTMSG. May help to track down:

CVS commit: src/sys/net

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 23:15:08 UTC 2022 Modified Files: src/sys/net: rtsock_shared.c Log Message: route(4): Avoid unaligned access to struct rt_msghdr, take two. Can't even take the address of the misaligned struct member for memcpy.

CVS commit: src/sys/net

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 23:15:08 UTC 2022 Modified Files: src/sys/net: rtsock_shared.c Log Message: route(4): Avoid unaligned access to struct rt_msghdr, take two. Can't even take the address of the misaligned struct member for memcpy.

CVS commit: src/sys/kern

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 22:27:12 UTC 2022 Modified Files: src/sys/kern: uipc_syscalls.c Log Message: recvmmsg(2): More timespec validation. Reported-by: syzbot+004ed2f264534bd27...@syzkaller.appspotmail.com Reported-by:

CVS commit: src/sys/kern

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 22:27:12 UTC 2022 Modified Files: src/sys/kern: uipc_syscalls.c Log Message: recvmmsg(2): More timespec validation. Reported-by: syzbot+004ed2f264534bd27...@syzkaller.appspotmail.com Reported-by:

CVS commit: src/sys

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 22:27:01 UTC 2022 Modified Files: src/sys/kern: kern_condvar.c kern_sleepq.c kern_synch.c kern_timeout.c kern_turnstile.c sys_lwp.c sys_select.c src/sys/sys: sleepq.h Log Message: sleepq(9): Pass

CVS commit: src/sys

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 22:27:01 UTC 2022 Modified Files: src/sys/kern: kern_condvar.c kern_sleepq.c kern_synch.c kern_timeout.c kern_turnstile.c sys_lwp.c sys_select.c src/sys/sys: sleepq.h Log Message: sleepq(9): Pass

CVS commit: src/sys

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 22:10:43 UTC 2022 Modified Files: src/sys/kern: kern_ktrace.c kern_sleepq.c src/sys/sys: ktrace.h Log Message: ktrace(9): Fix mutex detection in ktrcsw. On _entry_ to sleepq_block, l->l_syncobj is set so

CVS commit: src/sys

2022-06-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 29 22:10:43 UTC 2022 Modified Files: src/sys/kern: kern_ktrace.c kern_sleepq.c src/sys/sys: ktrace.h Log Message: ktrace(9): Fix mutex detection in ktrcsw. On _entry_ to sleepq_block, l->l_syncobj is set so

Re: lint warnings

2022-06-29 Thread Christos Zoulas
On Jun 28, 9:30pm, roland.il...@gmx.de (Roland Illig) wrote: -- Subject: Re: lint warnings | I agree on this use case. On the same scheme, I'd have a few more use | cases, and eventually this might lead to a query language for inspecting | C code. I'm thinking of queries like: | | * implicit

CVS commit: src/sys/dev/usb

2022-06-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 29 19:43:46 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.797 -r1.798 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2022-06-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 29 19:43:46 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.797 -r1.798 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2022-06-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 29 19:43:04 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs Log Message: add some Wacom devices To generate a diff of this commit: cvs rdiff -u -r1.805 -r1.806 src/sys/dev/usb/usbdevs Please note that diffs are not

CVS commit: src/sys/dev/usb

2022-06-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 29 19:43:04 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs Log Message: add some Wacom devices To generate a diff of this commit: cvs rdiff -u -r1.805 -r1.806 src/sys/dev/usb/usbdevs Please note that diffs are not

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

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 17:59:40 UTC 2022 Modified Files: src/sys/arch/macppc/dev: ki2c.c Log Message: Use old limit of 32 + 32 bytes to keep combining buffer on stack. There are no devices on this platform that need more and for larger

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

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 17:59:40 UTC 2022 Modified Files: src/sys/arch/macppc/dev: ki2c.c Log Message: Use old limit of 32 + 32 bytes to keep combining buffer on stack. There are no devices on this platform that need more and for larger

CVS commit: src/sys/kern

2022-06-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jun 29 16:33:09 UTC 2022 Modified Files: src/sys/kern: sys_syscall.c Log Message: Synchronize SYS_SYSCALL() with other syscall implementations and call trace_exit() even if trace_enter() returned an error. PR kern/52166

CVS commit: src/sys/kern

2022-06-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jun 29 16:33:09 UTC 2022 Modified Files: src/sys/kern: sys_syscall.c Log Message: Synchronize SYS_SYSCALL() with other syscall implementations and call trace_exit() even if trace_enter() returned an error. PR kern/52166

CVS commit: src/sys/dev/ic

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:58:12 UTC 2022 Modified Files: src/sys/dev/ic: apple_smc_fan.c apple_smc_temp.c Log Message: Don't unregister sensors twice. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/ic

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:58:12 UTC 2022 Modified Files: src/sys/dev/ic: apple_smc_fan.c apple_smc_temp.c Log Message: Don't unregister sensors twice. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/isa

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:56:58 UTC 2022 Modified Files: src/sys/dev/isa: aps.c finsio_isa.c itesio_isa.c smsc.c ug_isa.c Log Message: unregister sensors only when registered. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/dev/isa

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:56:58 UTC 2022 Modified Files: src/sys/dev/isa: aps.c finsio_isa.c itesio_isa.c smsc.c ug_isa.c Log Message: unregister sensors only when registered. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/dev/pci

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:37:25 UTC 2022 Modified Files: src/sys/dev/pci: uhci_pci.c Log Message: Unmap device registers only when successfully mapped. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/sys/dev/pci

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:37:25 UTC 2022 Modified Files: src/sys/dev/pci: uhci_pci.c Log Message: Unmap device registers only when successfully mapped. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev

2022-06-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jun 29 13:03:20 UTC 2022 Modified Files: src/sys/dev/ic: mfireg.h src/sys/dev/pci: mfii.c Log Message: Add CVPM02 BBU support. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/mfireg.h

CVS commit: src/sys/dev

2022-06-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jun 29 13:03:20 UTC 2022 Modified Files: src/sys/dev/ic: mfireg.h src/sys/dev/pci: mfii.c Log Message: Add CVPM02 BBU support. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/mfireg.h

CVS commit: src/sys/dev/hil

2022-06-29 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jun 29 12:45:25 UTC 2022 Modified Files: src/sys/dev/hil: hilkbdmap.c Log Message: Fix Swedish keymap of HIL keyboard map. The problem was reported by Anders Gustafsson and fix provieded by Miod Vallat on port-hp300@. To

CVS commit: src/sys/dev/hil

2022-06-29 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jun 29 12:45:25 UTC 2022 Modified Files: src/sys/dev/hil: hilkbdmap.c Log Message: Fix Swedish keymap of HIL keyboard map. The problem was reported by Anders Gustafsson and fix provieded by Miod Vallat on port-hp300@. To