iwlwifi: adjust driver description
Adjust the module driver descriptions for mvm and mld to make it clear
that this is not a driver for Linux but a Linux-based driver for FreeBSD.
Cleanup surroundings.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
iwlwifi: mld: add LINUXKPI_PARAM_PREFIX
Add a LINUXKPI_PARAM_PREFIX to mld to properly export the
power_scheme module_param (sysctl). This is especially needed given
mvm has the same parameter and we need to avoid a clash.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
iwlwifi: mld: move module_init() to SI_ORDER_SECOND
In FreeBSD the iwlwifi driver is a single kernel module.
As for iwlwifi/mvm we need to make sure the common "iwlwifi drv" code
is initialized before trying to register the mld sub-driver
in order for lists, etc. in the registration code to be initialized.
We do this by using an extended (FreeBSD specific) version of
module_init which overrides the order parameter of the SYSINIT.
Otherwise we can randomly (depending on SYSINIT run order) run into
a NULL pointer deref panic.
Sponsored by: The FreeBSD Foundation
PR: 291120
MFC after: 3 days
NAS-140153 / 26.0.0-BETA.2 / Fix SMB sharing kernel client test (by anodos325) (#18383)
This commit fixes an alternate datastream / xattr test that was
accidentally succeeding for a long period of time due to a corresponding
samba xattr buffer management bug that we fixed and upstreamed. This
commit fixes the test now which had neglected to properly reset the
global kernel SMB client state.
Original PR: https://github.com/truenas/middleware/pull/18382
---------
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
NAS-140153 / 27.0.0-BETA.1 / Fix SMB sharing kernel client test (#18382)
This commit fixes an alternate datastream / xattr test that was
accidentally succeeding for a long period of time due to a corresponding
samba xattr buffer management bug that we fixed and upstreamed. This
commit fixes the test now which had neglected to properly reset the
global kernel SMB client state.
[ELF] handleTlsGd: support disabling GD-to-IE/LE optimization. NFC (#184934)
Use this in ARM::scanSectionImpl for R_ARM_TLS_GD32 and the upcoming
RISC-V change.
libzpool: lift zfs_file ops out to separate source file
So its easier to remove and replace on non-Unix platforms.
Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Jorgen Lundman <lundman at lundman.net>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18281
Fix SMB sharing kernel client test
This commit fixes an alternate datastream / xattr test that
was accidentally succeeding for a long period of time due to
a corresponding samba xattr buffer management bug that we
fixed and upstreamed. This commit fixes the test now which
had neglected to properly reset the global kernel SMB
client state.
[MLIR][ACC] Fix -Wunused-variable in dfe7738
There was a variable only used in an assertion which causes warnings in
non-assertions builds. Fix the issue by inlining the variable into the
assertion given it is only used in one place.
[Clang][NFC] Apply Rule of Three to AttrScopedAttrEquivalenceContext (#184905)
Static analysis flagged AttrScopedAttrEquivalenceContext as having a
user defined destructor but not having copy ctor or copy assignment. I
set them as deleted since they are not needed.