Skip to content

build: add Fedora and Tubmleweed to the build matrix#3143

Merged
igaw merged 3 commits intolinux-nvme:masterfrom
igaw:extend-build
Mar 10, 2026
Merged

build: add Fedora and Tubmleweed to the build matrix#3143
igaw merged 3 commits intolinux-nvme:masterfrom
igaw:extend-build

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Mar 9, 2026

Extend the build matrix and include Fedora and Tumbleweed for the main build (nvme-cli).

Since the main build also include libnvme, only build libnvme on debian with gcc as standalone. This is to catch configuration errors in meson and there is no additional information gained the the main build.

Extend the build matrix to include Fedora and Tumbleweed for the main
build (nvme-cli).

Since the main build also includes libnvme, build libnvme standalone
only on Debian with GCC. This is to catch configuration errors in Meson,
and there is no additional information gained from the main build.

Signed-off-by: Daniel Wagner <[email protected]>
igaw added 2 commits March 9, 2026 19:53
The total length could be shorter than then the header. Thus check
first the message length.

Running test mi_aem_ep_based_failure_conditions...==3181== Conditional jump or move depends on uninitialised value(s)
==3181==    at 0x486E7D7: validate_enabled_list (mi.c:1445)
==3181==    by 0x486E7D7: nvme_mi_aem_get_enabled (mi.c:1730)
==3181==    by 0x486E8F3: aem_disable_enabled (mi.c:1605)
==3181==    by 0x486EB3A: nvme_mi_aem_enable (mi.c:1667)
==3181==    by 0x401621: test_mi_aem_ep_based_failure_helper (mi-mctp.c:1187)
==3181==    by 0x401688: test_mi_aem_ep_based_failure_conditions (mi-mctp.c:1204)
==3181==    by 0x400FF2: run_test (mi-mctp.c:1448)
==3181==    by 0x400FF2: main (mi-mctp.c:1472)

Signed-off-by: Daniel Wagner <[email protected]>
valgrind complains about accessing not inialized data.

Running test copy...==4327== Conditional jump or move depends on uninitialised value(s)
==4327==    at 0x484E89E: bcmp (vg_replace_strmem.c:1234)
==4327==    by 0x485D217: cmp (util.c:41)
==4327==    by 0x485CE3C: ioctl (mock.c:188)
==4327==    by 0x4870D1A: nvme_submit_passthru32 (ioctl.c:136)
==4327==    by 0x4870EC3: nvme_submit_io_passthru (ioctl.c:183)
==4327==    by 0x405595: test_copy (misc.c:1014)
==4327==    by 0x406968: run_test (misc.c:1382)
==4327==    by 0x406BF4: main (misc.c:1433)

Signed-off-by: Daniel Wagner <[email protected]>
Comment thread libnvme/src/nvme/mi.c
static int validate_enabled_list(struct nvme_mi_aem_supported_list *list, size_t len)
{
if (len < sizeof(struct nvme_mi_aem_supported_list))
return -EPROTO;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jk-ozlabs is this correct?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

This is @chorkin 's area, so might be good to get his input too.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@igaw igaw mentioned this pull request Mar 9, 2026
@igaw igaw merged commit 9ff2f9f into linux-nvme:master Mar 10, 2026
25 of 26 checks passed
@igaw igaw deleted the extend-build branch March 10, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants