Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh coverage
Expand Down
2 changes: 1 addition & 1 deletion libnvme/src/nvme/mi.c
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ int nvme_mi_admin_admin_passthru(struct nvme_transport_handle *hdl, __u8 opcode,
struct nvme_mi_admin_req_hdr req_hdr;
struct nvme_mi_resp resp;
struct nvme_mi_req req;
unsigned int timeout_save;
unsigned int timeout_save = 0;
int rc;
int direction = opcode & 0x3;
bool has_write_data = false;
Expand Down