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

2021-03-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Mar 25 07:30:16 UTC 2021

Modified Files:
src/sys/arch/aarch64/aarch64: aarch64_machdep.c

Log Message:
Update a comment to reflect reality


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/aarch64/aarch64/aarch64_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Mar 25 07:31:57 UTC 2021

Modified Files:
src/sys/arch/aarch64/aarch64: aarch64_machdep.c

Log Message:
More debug


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/aarch64/aarch64/aarch64_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2021-03-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Mar 25 08:18:03 UTC 2021

Modified Files:
src/sys/net: pktqueue.c

Log Message:
Remove strange padding #define and replace with anonymous struct/union


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/net/pktqueue.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2021-03-25 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 25 09:49:00 UTC 2021

Modified Files:
src/distrib/sets/lists/modules: md.amd64 md.i386 mi
src/sys/modules: Makefile

Log Message:
don't restrict pad module to i386 and amd64.

- module build tested on amiga, vax, i386, amd64, evbarm.
- build.sh release tested on i386.
- pad module functionality tested on aarch64.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.142 -r1.143 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.248 -r1.249 src/sys/modules/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/audio/record

2021-03-25 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 25 10:03:26 UTC 2021

Modified Files:
src/usr.bin/audio/record: audiorecord.1

Log Message:
Add an example for recording CD quality audio


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/audio/record/audiorecord.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 13:10:19 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: add comments about things left to do, from code review

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Mar 25 15:59:50 UTC 2021

Modified Files:
src/sys/arch/arm/omap [thorpej-cfargs]: files.omap2

Log Message:
Nothing uses / references the "mode" locator on the "tiotg_port"
interface attribute; remove it.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.36.30.1 src/sys/arch/arm/omap/files.omap2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 16:30:23 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: condense debug output for initializations

This way it does not look more impressive than it really is.

No functional change outside debug mode.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Mar 25 16:34:59 UTC 2021

Modified Files:
src/sys/arch/arm/omap: ti_iic.c

Log Message:
ti_iic_{acquire,release}_bus are no more.  Missed in rev 1.11.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/omap/ti_iic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 16:43:51 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: free memory at the end of an initialization

No functional change, just more clarity in the code.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/xf86-video-nv/dist/src

2021-03-25 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Thu Mar 25 17:22:02 UTC 2021

Modified Files:
xsrc/external/mit/xf86-video-nv/dist/src: nv_setup.c

Log Message:
try WSDISPLAYIO_GET_EDID if DDC2 fails
now my iMac G5 correctly identifies its display


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 \
xsrc/external/mit/xf86-video-nv/dist/src/nv_setup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2021-03-25 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Thu Mar 25 18:41:29 UTC 2021

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ioctl.c

Log Message:
zfs_ioctl.c: Drop WARNING that ZFS is under development

Following discussions on current-users@, it seems many rely on ZFS to
store data, and there are not particularly large issues with ZFS.  ATF
tests with /tmp as tmpfs, ffs2, and zfs are similar, with only a
slight increase in failures under zfs.

(This commit should probably NOT be pulled up to 9.)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/crypto/external/bsd/openssl/dist

2021-03-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 25 18:51:19 UTC 2021

Modified Files:
src/crypto/external/bsd/openssl/dist: CHANGES NEWS README
src/crypto/external/bsd/openssl/dist/apps: s_time.c
src/crypto/external/bsd/openssl/dist/crypto/engine: eng_devcrypto.c
src/crypto/external/bsd/openssl/dist/crypto/evp: evp_enc.c
src/crypto/external/bsd/openssl/dist/crypto/modes: gcm128.c
src/crypto/external/bsd/openssl/dist/crypto/x509: x509_vfy.c
src/crypto/external/bsd/openssl/dist/ssl: s3_lib.c ssl_lib.c
src/crypto/external/bsd/openssl/dist/test: rsa_test.c

Log Message:
merge our changes between 1.1.1j and 1.1.1k


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/crypto/external/bsd/openssl/dist/CHANGES \
src/crypto/external/bsd/openssl/dist/NEWS \
src/crypto/external/bsd/openssl/dist/README
cvs rdiff -u -r1.11 -r1.12 src/crypto/external/bsd/openssl/dist/apps/s_time.c
cvs rdiff -u -r1.8 -r1.9 \
src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
cvs rdiff -u -r1.12 -r1.13 \
src/crypto/external/bsd/openssl/dist/crypto/evp/evp_enc.c
cvs rdiff -u -r1.10 -r1.11 \
src/crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c
cvs rdiff -u -r1.22 -r1.23 \
src/crypto/external/bsd/openssl/dist/crypto/x509/x509_vfy.c
cvs rdiff -u -r1.27 -r1.28 src/crypto/external/bsd/openssl/dist/ssl/s3_lib.c
cvs rdiff -u -r1.19 -r1.20 src/crypto/external/bsd/openssl/dist/ssl/ssl_lib.c
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/openssl/dist/test/rsa_test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2021-03-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 25 18:52:23 UTC 2021

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new OpenSSL


To generate a diff of this commit:
cvs rdiff -u -r1.1785 -r1.1786 src/doc/3RDPARTY
cvs rdiff -u -r1.2786 -r1.2787 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 19:11:18 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: inline macro 'namedmem' for C99 designators

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 19:20:15 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: split current_namedmem into lvalue and rvalue form, rename them

This is a small step towards using the terminology from C99.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 19:33:44 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: rename the few remaining instances of 'namedmem'

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 19:48:25 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: rename i_current_object to i_next_member

No functional change outside debug mode.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 20:11:18 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: rename debug_named_member to debug_designation

No functional change outside debug mode.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 20:38:16 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: remove over-engineered doubly-linked circular list

The designation only needs to be navigated from head to tail, not the
other way round.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 21:07:52 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: replace namlist with designation and designator

This makes it possible to accurately model C99 initializers, including
their optional designators.  Previously, array subscripts had not been
modeled at all.

In the previous commit, debug_designation crashed immediately since I
had not run the code in debug mode even once.  The condition 'name !=
head' was a left-over from the old times where the designator was still
a circular list.

No functional change outside debug mode.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 21:36:41 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: distinguish between read and write access to initstk

There are far too many places that modify the top element of the
initializer stack.  Each of these places should get its own logging, as
long as the code is still complicated.  These places are now clearly
marked with initstk_lvalue.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 25 21:37:10 UTC 2021

Modified Files:
src/distrib/sets/lists/debug: module.md.amd64 module.md.i386 module.mi

Log Message:
Move pad module to MI debug set lists


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/lists/debug/module.md.amd64
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/debug/module.md.i386
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/debug/module.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 21:45:10 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: free the designator as soon as it is no longer needed

One of the latest "refactorings" introduced a small and practically
unimportant memory leak.  If the last initializer in an initialization
had a designator, that designator was not freed.

When the "current initialization" was still a global variable with
unlimited lifetime, it was freed at the beginning of the next
initialization.  After the refactorings, this "next initialization"
could no longer see anything from the previous initialization since all
references have been cleaned up at that point.  Freeing the memory so
late and in an almost totally unrelated place was a bad idea anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 21:51:56 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h init.c

Log Message:
lint: fix names of functions dealing with designations

These functions modify the whole designation, not only a single
designator.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.84 -r1.85 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 22:15:38 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_168.c msg_168.exp
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: improve initialization of arrays with designators

Initialization is still buggy but better than before.  The remaining bug
is that only the first designator determines the array size, and after
that, the array is no longer considered of unknown size.  This
contradicts C99.  More improvements to come.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_168.c \
src/tests/usr.bin/xlint/lint1/msg_168.exp
cvs rdiff -u -r1.131 -r1.132 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2021-03-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Mar 25 22:53:05 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_168.c msg_168.exp
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: fix initialization for arrays with designators

>From the previous commit, there was an off-by-one error left, which was
due to the interaction between designation_add_subscript and
extend_if_array_of_unknown_size.

The other crucial point was to call initstack_pop_nobrace before
accessing the "current initialization stack element".  Without this
call, in msg_168.c the "current element" would point to the initializer
level for 'const char *' instead of the one for 'array of const char *'.

One more step towards supporting C99.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_168.c \
src/tests/usr.bin/xlint/lint1/msg_168.exp
cvs rdiff -u -r1.132 -r1.133 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Mar 26 02:02:53 UTC 2021

Modified Files:
src/sys/arch/arm/omap [thorpej-cfargs]: tiotg.c

Log Message:
tiotg_rescan(): properly pass the "matching locators" to config_found(),
and use config_stdsubmatch().


To generate a diff of this commit:
cvs rdiff -u -r1.7.18.2 -r1.7.18.3 src/sys/arch/arm/omap/tiotg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Mar 26 02:04:02 UTC 2021

Modified Files:
src/sys/arch/evbmips/loongson/dev [thorpej-cfargs]: pcib.c

Log Message:
pcibrescan(): config_found_ia() -> config_found().  Add a comment why we
are explicit about the interface attribute even though "pcib" itself only
carries one.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.16.1 src/sys/arch/evbmips/loongson/dev/pcib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-25 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Mar 26 02:05:02 UTC 2021

Modified Files:
src/sys/arch/i386/pci [thorpej-cfargs]: gscpcib.c

Log Message:
gscpcib_rescan(): "gpiobus" doesn't have locators, so no need to pass any
to config_found().


To generate a diff of this commit:
cvs rdiff -u -r1.18.66.1 -r1.18.66.2 src/sys/arch/i386/pci/gscpcib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.