rtwn: fix the build without RTWN_DEBUG
RTWN_DPRINTF() compiles to nothing without RTWN_DEBUG, which leaves four
of the IQK result copies in r92f_iq_calib() set but never read. Kernels
with "device rtwn" in their config, LINT among them, then fail with
-Werror,-Wunused-but-set-variable. The module build does not hit this
because its generated opt_rtwn.h always defines RTWN_DEBUG.
Print the result array directly and drop the four locals.
Fixes: 1f0e186e1832 ("rtwn: added support for Realtek RTL8192FU...")
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/sgb: Update to version 2021-02-02
This adds one file (word_giant.ch), increases a buffer in gb_gates.w,
and brings two editorial fixes to documentation.
On the way switch the download site from ftp to https.
amd64: Avoid redundant CR0 writes on switches to kernel threads
fpu_activate_sw() sets CR0.TS whenever it switches to a kernel thread,
or to a thread inside fpu_kern_enter(). The bit is clear only while a
thread owns the FPU, and at a context switch the only possible owner is
the old thread. When fpcurthread is NULL the bit is already set and
the write to CR0, which is serializing, changes nothing. That is the
common case for switches between kernel threads, such as the idle
thread and interrupt threads on a router.
Write CR0 only when fpcurthread was set, as cpu_switch() did before
the eager FPU switch became the default in d1a07e31e5cc, and assert
that TS is set otherwise.
Reviewed by: kib
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D62206
nfsclrdma: Fix a few things in the RDMA client module
This patch fixes a few things in the nfsclrdma module:
- A typo that caused _rpcrdma_get_srcaddr() to return 0
when it should have returned 1.
- Don't consider a server returning RPC_SYSTEMERROR or
RPC_FAILED as needing a new connection, to be compatible
with clnt_vc.c for TCP.
- Fix off by one checks in the KASSERT()s for the RPC index.
Reported by: llm-postcr
MFC after: 1 month
Fixes: 80bee4d83637 ("nfsclrdma: Add code to support client side NFS over RDMA")
emulators/wine-devel: Update 11.22 => 11.23
Changelog:
- Support for ARM64 macOS.
- Bundled vkd3d upgraded to version 2.2.
- AVX support in 32-bit emulation on ARM64.
- Better support for generating C++ headers in WIDL.
- Various bug fixes.
https://gitlab.winehq.org/wine/wine/-/releases/wine-11.23
PR: 301256
Sponsored by: UNIS Labs (vvd, commit patch)
mail/stalwart-cli: Update 2.0.0 => 2.0.1
Changelog:
https://github.com/stalwartlabs/cli/blob/v2.0.1/CHANGELOG.md
While here, update COMMENT, WWW and pkg-descr: upstream now calls
the product Stalwart Mail and Collaboration Server, 2.0.0 added an
interactive console, and the CLI has its own documentation page.
PR: 301269
libsys: link internal copies of fls*(3), str*(3), and mem*(3) functions used by libsys
To avoid undef symbols which get resolved from libc.
Reviewed by: brooks, jrtc27
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131
libsys: do not link in csu, and compile as freestanding
This is a library below implementation of the C runtime. It should not
(and really cannot) use any of that.
In particular, libsys no longer has undef __cxa_finalize.
Reviewed by: brooks, jrtc27
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131
libsys: this is libsys, not libc
Reviewed by: brooks, jrtc27
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131