Skip to content

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

Merged
pull[bot] merged 2 commits into
zengqingfu1442:masterfrom
linux-nvme:master
Jul 1, 2026
Merged

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

Conversation

@pull

@pull pull Bot commented Jul 1, 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 : )

bellis-ibm and others added 2 commits July 1, 2026 17:43
Use pointee-sized allocations for structured log buffers in
nvme_get_hw_rev_log() and nvme_get_print_ocp_cloud_smart_log(), and
simplify raw byte-buffer allocation in wdc_enc_submit_move_data().

This eliminates clang-analyzer allocator-size mismatch warnings and
improves maintainability by typing allocation sizes directly to the
destination pointer type.

Signed-off-by: Brooke Ellis <Brooke.Ellis@ibm.com>
Reading files that may have raw binary data on Windows without using
the O_BINARY flag when opening can cause some bytes to be misinterpreted
or mishandled.  This can lead to bad data or truncated reads.
Use nvme_open_rawdata to ensure that O_BINARY is added if supported.
Fixes firmware file reading issues found during testing on Windows,
as well as other potential issues on Windows.

Signed-off-by: Broc Going <bgoing@micron.com>
@pull pull Bot locked and limited conversation to collaborators Jul 1, 2026
@pull pull Bot added the ⤵️ pull label Jul 1, 2026
@pull
pull Bot merged commit a9e655f into zengqingfu1442:master Jul 1, 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.

2 participants