Skip to content

[pull] master from linux-nvme:master#242

Merged
pull[bot] merged 11 commits into
zengqingfu1442:masterfrom
linux-nvme:master
Jun 26, 2026
Merged

[pull] master from linux-nvme:master#242
pull[bot] merged 11 commits into
zengqingfu1442:masterfrom
linux-nvme:master

Conversation

@pull

@pull pull Bot commented Jun 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

igaw and others added 11 commits June 26, 2026 14:05
The Coverity service is back again. Let's add it back then.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
Curl is already used, so there is no need to depend on a second download
tool. Since wget is often not installed by default, replace it with
curl.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
The upload job depends on this name.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
The test runner wrapped the command in "if ! cmd; then rc=$?".
Because $? reflects the result of the negated expression rather than
the command itself, it was always 0 when the branch was taken: a test
binary that genuinely failed was reported as passing, masking real
command-level failures.

Run the command first, capture its status, then test it, so the real
exit code is preserved and propagated.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
The orchestrator identity (the "owner" recorded in the controller
ownership registry) is a global-context property that could be set via
the API or the CLI, but it was never written to the JSON config, so it
was lost whenever the config was rewritten.

Record it as a top-level "owner" key so it round-trips through the
config file. On read the config's owner is adopted only when the
context has none, so an explicit CLI --owner still wins. On write it is
emitted whenever set.

Extend the schema with the new key and add a round-trip test fixture.

Suggested-by: Daniel Wagner <wagi@kernel.org>
Signed-off-by: Martin Belanger <martin.belanger@dell.com>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
Use a dynamically determined transfer size when retrieving
the host and controller telemetry logs to avoid invalid
argument error.

Signed-off-by: jeff-lien-sndk <jeff.lien@sandisk.com>
…atures()

sedopal_print_locking_features() dereferences @ld without checking
whether it is NULL. Add a NULL check before accessing ld->features
and print an error message when no locking feature information is
available.

Signed-off-by: Fahim Hassan <fahim.hassan@ibm.com>
The get_log_offset() function stores the command result via
args->result after retrieving the log page. However, the pointer
args->result was dereferenced without first checking if it is NULL.

Dereferencing a NULL args->result pointer causes a crash when
callers pass NULL to indicate they do not need the result value.

Check if args->result is non-NULL before dereferencing it to
store the command result.

Signed-off-by: Fahim Hassan <fahim.hassan@ibm.com>
libnvme_rescan_ctrl() derives the global context from the controller.
The derived @ctx is then passed to libnvme_ctrl_scan_namespaces() and
libnvme_ctrl_scan_paths(), both of which expect a valid context.

Instead of adding NULL checks in each callee, validate @ctx in
libnvme_rescan_ctrl() and return early if no valid context is available.

This avoids propagating an invalid context to the namespace and path
scan helpers.

Signed-off-by: Fahim Hassan <fahim.hassan@ibm.com>
@pull pull Bot locked and limited conversation to collaborators Jun 26, 2026
@pull pull Bot added the ⤵️ pull label Jun 26, 2026
@pull
pull Bot merged commit 4fbb15b into zengqingfu1442:master Jun 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants