Merge tag 'i2c-for-7.0-final' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fix from Wolfram Sang:
- imx: set dma_slave_config to 0 and avoid uninitialized fields
* tag 'i2c-for-7.0-final' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: imx: zero-initialize dma_slave_config for eDMA
[LLDB] Silence warnings when building on Windows (#191566)
Fixes a few warnings found while building the LLVM installer with
`llvm/utils/release/build_llvm_release.bat --x64 --version 23.0.0
--skip-checkout --local-python`.
[clang-doc] Avoid merging into default Info types
When merging into arenas, the code assumed that all using a default
constructed info would be safe, since in the merge we replace any
differing data. However, that appears to be a risky assumption, due
to default initialized members participating in comparisons, and
other operations, leading the program to read garbage data in some
cases. Earlier patches added default initializers to these fields,
but we should prefer (which the old code used to do) to just start
with properly initialized and complete data from the start.
This patch updates the remaining Info types to have copy constructors
that support choosing the arena to allocate into. This is already the
strategy used in several places to avoid use after free bugs. Since
the handling is now uniform, we can simplify things a bit at the same
time and extract the cloning operation into a helper, making the logic
very clear.
This should avoid any potential pitfalls or missed cases that resulted
in the errors discover after landing #190054.
NAS-140650 / 27.0.0-BETA.1 / Fix tn_connect.config legacy API version adaptation (#18721)
The v27.0.0 TrueNASConnectEntry had an incorrect to_previous() method
that added ips, interfaces, interfaces_ips, and use_all_interfaces
fields when downgrading from v27 to v26. Since both v27 and v26 have
identical Entry schemas (both had these fields removed in the same
commit), v27's to_previous should be a no-op. The fields were being
added but never cleaned up because the version adapter's cleanup only
removes fields present in the current model's fields, and these fields
aren't in v27's model_fields. This caused Pydantic validation to fail
with Extra inputs are not permitted when serialize_result validated the
adapted data against v26's Entry which also doesn't have those fields.
The v26 to_previous correctly handles the v26-to-v25.10.x gap where
these fields are actually needed.