NetBSD/src emC63lPsys/dev/pci if_fxp_pci.c

KNF. No functional change.
VersionDeltaFile
1.84+10-12sys/dev/pci/if_fxp_pci.c
+10-121 files

NetBSD/src fQtNZv5sys/dev/fdt fdt_pinctrl.c

   Implement subroutines for parsing out some of the generic properties
   specified in the pinctrl bindings, and adapt Meson, Rockchip, and
   Allwinner pinctrl back-ends to use them.

   Ok jmcneill@
VersionDeltaFile
1.7+193-2sys/dev/fdt/fdt_pinctrl.c
+193-21 files

NetBSD/src 6vkBu4psys/arch/arm/amlogic meson_pinctrl.c, sys/arch/arm/rockchip rk3328_iomux.c rk3399_iomux.c

   Implement subroutines for parsing out some of the generic properties
   specified in the pinctrl bindings, and adapt Meson, Rockchip, and
   Allwinner pinctrl back-ends to use them.

   Ok jmcneill@

NetBSD/src B3aJ8i3sys/sys module_hook.h

   Improve a comment
VersionDeltaFile
1.1.2.16+5-2sys/sys/module_hook.h
+5-21 files

NetBSD/src wUIiSrKsys/dev/mii mvphy.c

   Make evbmips/conf/WGT624V3 compilable:
   - Modify for new read/write API
   - Do "#if 0" for unused structures.
VersionDeltaFile
1.11+17-13sys/dev/mii/mvphy.c
+17-131 files

NetBSD/src yB1ZAiwsys/compat/common rtsock_50.c tty_60.c, sys/compat/netbsd32 netbsd32_kern_proc.c

   Convert the macros for setting and unsetting a hook to generate
   in-line code rather than using an intermediary hook##set routine.
   Hooks are set and unset only in one place, so the intermediary
   routine provides no benefit.  IMHO using the macro at the point-
   of-call is more readable than using it elsewhere in the code and
   then calling the generated intermediary routine (for which you
   won't even find its declaration or definition unless you remember
   to search for the HOOK_SET macro instead).

   NFC intended, will verify with a bulk build and an atf test run.

NetBSD/src 2NXRq0wsys/compat/common compat_raid_50.c

   Add compat_raid_80 to the required list
VersionDeltaFile
1.1.2.2+3-3sys/compat/common/compat_raid_50.c
+3-31 files

NetBSD/src wOtY5MWlib/libwrap expandm.c

   And as long as we're attempting to achieve perfection in code
   that is never going to be executed, let's also check for possible
   overflow in a sum that will never be computed...
VersionDeltaFile
1.11+15-3lib/libwrap/expandm.c
+15-31 files

NetBSD/src 20gTj9klib/libwrap expandm.c

   There's no point setting errno, it is just overwritten by err
   in the exit path ... this function never fails, it simply sometimes
   doesn't actually expand the %m and just leaves the format string
   intact.

   And declare variables at the head of their scope, not at some random
   place in the middle of the code, whatever C allows, that is just ugly.
VersionDeltaFile
1.10+5-6lib/libwrap/expandm.c
+5-61 files

NetBSD/src qJlP5zDsys/modules/compat_50 Makefile, sys/modules/compat_80 Makefile

   Revert previous.  Both opencrypto/ocryptodev and raidframe/rf_compat_xx
   already exist in their own modules and do not need to be part of the
   compat_{50,80} modules.

NetBSD/src dAeSeZasys/modules/compat_50 Makefile, sys/modules/compat_80 Makefile

   Ensure that all the compat code gets into the appropriate modules, even
   compat code that doesn't live in sys/compat

NetBSD/src ulzI6IJlib/libwrap expandm.c

   limit allocation to PTRDIFF_T to appease gcc-7, from mrg@
VersionDeltaFile
1.9+20-6lib/libwrap/expandm.c
+20-61 files

NetBSD/src WP7oSQElib/libossaudio ossaudio.c

   memset to zero the entire array, not just 8 bytes of it.

   picked up by gcc7's checker that the array size has not
   been multipled by the member size.

   here, we had 8 but should have had 8 * sizeof(int).

   XXX: real bug - pullup-7, pullup-8
VersionDeltaFile
1.34+4-4lib/libossaudio/ossaudio.c
+4-41 files

NetBSD/src L1MzFshlib/libc/stdio fprintf.c

   remove diag assert - the compiler demands fp is non NULL now.
VersionDeltaFile
1.15+2-4lib/libc/stdio/fprintf.c
+2-41 files

NetBSD/src cl9AY2Oexternal/gpl3/gcc/lib Makefile.gthr, external/gpl3/gcc/lib/libgomp Makefile

   - fix Makefile.gthr CONFIG_LINKS handling.  demand only that
     gthr-default.h source be found.  fix installing the symlink.
   - -Wno-error=incompatible-pointer-types needed for libgomp/lock.c
   - build new libsupc++ files with -std=gnu++1z
   - install new libstdc++ bits files. (XXX use bits_sup_headers
     from libstdc++/include/Makefile.am with mknative-gccm)
   - start to get libstdc++ to build: various flag updates.

NetBSD/src Ditu9raexternal/gpl3/gcc/lib/libstdc++-v3/arch/i386 c++config.h, external/gpl3/gcc/lib/libstdc++-v3/arch/sparc c++config.h

   mostly mknative-gcc for i386 and sparc and gcc 7.4.

   sparc gets to libstdc++, and i386 has the same libgcc issue as amd64.

NetBSD/src Ny1I4Rqsys/arch/arm/sunxi sunxi_ccu_fractional.c sun50i_a64_ccu.c

   Add sun50i DE clocks.

NetBSD/src Lx9uKUbsys/dev/pci ahcisata_pci.c

   fix pasto; still PR kern/53307
VersionDeltaFile
1.54+4-4sys/dev/pci/ahcisata_pci.c
+4-41 files

NetBSD/src qsSnXcmsys/dev/pci ahcisata_pci.c

   add BADPMP quirk also for AMD Hudson AHCI SATA Controller, seems in some
   configurations/BIOS versions the PMP reset works, in others not; it's better
   to have the common configuration working

   related to PR kern/53307
VersionDeltaFile
1.53+4-2sys/dev/pci/ahcisata_pci.c
+4-21 files

NetBSD/src elg3A2xsys/dev/pci ahcisata_pci.c

   add BADPMP quirk for Intel 82801JI SATA Controller (AHCI mode), which
   apparently has problem with the PMP reset

   part of PR kern/53307 - Christos machine
VersionDeltaFile
1.52+4-2sys/dev/pci/ahcisata_pci.c
+4-21 files

NetBSD/src FBRdYJ9sys/arch/arm/sunxi sunxi_de2_ccu.c

   Enable parent clocks and de-assert resets
VersionDeltaFile
1.2+23-4sys/arch/arm/sunxi/sunxi_de2_ccu.c
+23-41 files

NetBSD/src oCuq0xdexternal/bsd/dhcpcd/dist/src dhcpcd.c

   Fix SMALLPROG build.

NetBSD/src HMJhYCosys/arch/amd64/conf NOCOMPAT

   Only explicitly disable COMPAT_15, it is the only compat option that
   is actually set.  The others are "pulled in" by statements in
   sys/conf/files


   This avoids numerous noisy but unnecessary warnings from nbconfig.
VersionDeltaFile
1.1.2.8+22-18sys/arch/amd64/conf/NOCOMPAT
+22-181 files

NetBSD/src S6B9X86sys/arch/arm/sunxi sunxi_de2_ccu.c sunxi_de2.c, sys/arch/evbarm/conf GENERIC64

   Add drivers for DE2 bus and clock controllers.

NetBSD/src 6XNuO4Pusr.bin/msgc msg_sys.def

   Support redrawing all windows when in a msg prompt via Ctrl-l.
VersionDeltaFile
1.43+5-1usr.bin/msgc/msg_sys.def
+5-11 files

NetBSD/src IFujHWYsys/dev/mii micphy.c

   Fix build after API change
VersionDeltaFile
1.5+9-8sys/dev/mii/micphy.c
+9-81 files

NetBSD/src rJcvnQHsys/arch/evbarm/conf GENERIC64

   Add sunxisramc
VersionDeltaFile
1.74+2-1sys/arch/evbarm/conf/GENERIC64
+2-11 files

NetBSD/src ly125qksys/arch/arm/sunxi sunxi_sramc.c

   Add support for A64 and H6, and register self as a syscon
VersionDeltaFile
1.2+61-4sys/arch/arm/sunxi/sunxi_sramc.c
+61-41 files

NetBSD/src GyAzfv9doc 3RDPARTY

   dts updated to 4.20.3
VersionDeltaFile
1.1596+3-3doc/3RDPARTY
+3-31 files

NetBSD/src oqrinbwsys/dev/ic lan9118.c

   Fix return type of lan9118_mii_readreg
VersionDeltaFile
1.29+3-3sys/dev/ic/lan9118.c
+3-31 files

NetBSD/src 4BjG4vlsys/arch/arm/dts socfpga_cyclone5_de0_nano_soc.dts

   Update for 4.20.3 dts changes

NetBSD/src gFH8vMAsys/arch/arm/dts sun50i-a64-pinebook.dts sun50i-a64.dtsi

   Update for 4.20.3 dts changes

NetBSD/src bdS49Qjdoc 3RDPARTY CHANGES

   Note import of dhcpcd-7.1.0
VersionDeltaFile
1.1595+3-3doc/3RDPARTY
1.2493+2-1doc/CHANGES
+5-42 files

NetBSD/src Co6BXGYexternal/bsd/dhcpcd/dist/src if-bsd.c ipv6nd.c

   Sync

NetBSD/src JyNSQtdsys/arch/arm/fdt a9tmr_fdt.c

   Listen for PMFE_SPEED_CHANGED events and automatically update a9tmr frequency
VersionDeltaFile
1.3+31-7sys/arch/arm/fdt/a9tmr_fdt.c
+31-71 files

NetBSD/src ObRHdPrexternal/bsd/dhcpcd/dist/src if-bsd.c ipv6nd.c

   Import dhcpcd-7.1.0 with the following changes:

   * NetBSD: sets SO_RERROR on to detect receive socket overflow
   * BSD: route improvements to avoid listening for own changes
   * IP6: implement IP6 address sharing
   * BSD: catch UP/DOWN events when interfaces does support media changes
   * IPv4LL: remember old address when carrier is lost

NetBSD/src k97YBHIsys/external/gpl2/dts/dist/arch/arm/boot/dts bcm283x.dtsi socfpga_cyclone5_de0_sockit.dts, sys/external/gpl2/dts/dist/arch/arm64/boot/dts/allwinner sun50i-h6-pine-h64.dts sun50i-h6.dtsi

   Merge conflicts.

NetBSD/src XgLKD8Dsys/dev/usb xhci.c uhci.c, sys/external/bsd/dwc2 dwc2.c

   Revert the KASSERT

NetBSD/src CZaeJIgsys/external/gpl2/dts/dist/arch/arm/boot/dts omap4-l4.dtsi tegra30-apalis-v1.1.dtsi, sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic meson-axg.dtsi

   Import dts from Linux 4.20.3

NetBSD/src ITX1Dgpbin/sh parser.c

   lexical analysis fixes.   This fixes the tests just committed in
   src/tests/bin/sh/t_here.sh

   The "magicq" magic was all wrong - it cannot be simply a parameter
   to readtoken1() as its value needs to alter during that routine
   (eg: when magicq is set - processing here doc text, or whatever)
   and we encountered ${var%pattern} "magicq" needs to be off for
   "pattern" - and it wasn't.

   To handle this magicq needs to be included in the token stack struct,
   and simply init'd from the arg to readtoken1 (which we rename).
   Then it can be manipulated as required.

   Once we no longer have that problem, some other issues can be cleaned
   up as well (some of this unbelievably fragile code was attempting to
   cope with this in various ad-hoc - and mostly broken - ways).

   Also, remove the magicq parameter from parsebackq() - it was not
   used (at all) and should never be, a command substitution, wherever
   it appears, always starts a new parsing context.  How that applies
   to old style command substitutions is less clear, but until we see
   some real examples where we're not doing the right thing (slightly
   less likely now than before ... nothing has changed here in the
   way command substitutions are parsed, but quoting in general is
   slightly better) I don't plan on worrying about it.

    [7 lines not shown]
VersionDeltaFile
1.164+18-12bin/sh/parser.c
+18-121 files

NetBSD/src eVZawaZtests/bin/sh t_here.sh

   Add sub tests to the quoting test case, to demonstrate a parsing
   bug (and its fix (depending upon whether the test is run against
   an unfixed, or fixed, shell).

   An obvious indication of the failure is the following (one of the
   new sub-tests)

   p=A
   cat <<EOF
   ${p+\%$p\%}
   ${p+%$p%}
   EOF

   which should output

   \%A\%
   %A%


   as a here doc is treated as a double quoted string, except
   that the " character is just a character.  In such a string,
   the \ is only an escape character when the following character
   is special, otherwise it represents a literal \ (which is the
   case here).


    [11 lines not shown]
VersionDeltaFile
1.7+44-5tests/bin/sh/t_here.sh
+44-51 files

NetBSD/src NjLEsGkbin/sh parser.c shell.h

   NFCI - DEBUG mode only change.

   Add tracing of lexical analyser operations.   This is deliberately
   kept out of the normal "all on" set as it makes a *lot* of noise
   when enabled (especially in verbose mode) - but when needed, it
   helps (evidence for which is coming soon).

   As usual, no doc, you need the sources (and of course, a specially
   built sh to even be able to enable it.)
VersionDeltaFile
1.163+170-11bin/sh/parser.c
1.29+4-3bin/sh/shell.h
1.52+4-3bin/sh/show.c
+178-173 files

NetBSD/src 5kClhJJexternal/mit/xorg/server/xorg-server/os Makefile

   Fix build with "USE_SSP" set to "yes"

NetBSD/src mMtDa8usys/arch/amd64/conf NOCOMPAT

   Rather than having to track changes in GENERIC and incorporate them
   into NOCOMPAT, just include GENERIC and then turn off the various
   COMPAT options.
VersionDeltaFile
1.1.2.7+30-1,196sys/arch/amd64/conf/NOCOMPAT
+30-1,1961 files

NetBSD/src 2Tg0PVSsys/arch/amd64/conf NOCOMPAT GENERIC

   Synch GENERIC and NOCOMPAT with GENERIC from HEAD
VersionDeltaFile
1.1.2.6+38-203sys/arch/amd64/conf/NOCOMPAT
1.485.2.14+5-6sys/arch/amd64/conf/GENERIC
+43-2092 files

NetBSD/src aQh99KEsys/arch/evbarm/zynq zynq_machdep.c

   Fix indentation whitespace

NetBSD/src VxmUWrUsys/dev/raidframe rf_netbsdkintf.c, sys/fs/puffs puffs_msgif.c

   Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
   rather than defining an intermediate hook##call function.  Almost
   all of the hooks are called only once, and although we lose the
   ability of doing things like

        if (MODULE_HOOK_CALL(...) == 0) ...

   we simplify things quite a bit.  With this change, we no longer need
   to have both declaration and definition macros, and the definition
   no longer needs to have both prototype argument list and a "real"
   argument list.

   FWIW, the above if now needs to written as

        int ret;

        MODULE_HOOK_CALL(..., ret);
        if (ret == 0) ...

   with appropriate use of braces {}.
VersionDeltaFile
1.238.2.25+8-83sys/net/rtsock.c
1.1.2.7+8-47sys/net/rtsock_shared.c
1.419.2.22+14-32sys/net/if.c
1.101.10.11+18-26sys/fs/puffs/puffs_msgif.c
1.356.2.11+8-25sys/dev/raidframe/rf_netbsdkintf.c
1.209.2.15+11-21sys/kern/kern_proc.c
+67-23429 files not shown
+215-58535 files

NetBSD/src KcD3MSKsys/dev/usb uark.c if_run.c

   KNF

NetBSD/src vd1w2SOsys/dev/usb umass_isdata.c umass_scsipi.c

   KNF

NetBSD/src damkjUOsys/dev/usb uhci.c xhci.c, sys/external/bsd/dwc2 dwc2.c

   Add a KASSERT