Skip to content

linux: Add no-linux.c with shims for methods implemented in linux.c#3379

Open
brgoing wants to merge 1 commit into
linux-nvme:masterfrom
Micron-TPG-OSS:bgoing/no-linux
Open

linux: Add no-linux.c with shims for methods implemented in linux.c#3379
brgoing wants to merge 1 commit into
linux-nvme:masterfrom
Micron-TPG-OSS:bgoing/no-linux

Conversation

@brgoing
Copy link
Copy Markdown
Contributor

@brgoing brgoing commented May 20, 2026

Adds compatibility shims for linux.c methods when building on Windows.

Adds compatibility shims for linux.c methods when building on Windows.

Signed-off-by: Broc Going <bgoing@micron.com>
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented May 28, 2026

I suggest we split these function out of linux.c into crypto.c and have a matching no-crypto.c. This way we keep the existing feature grouping. linux.c is not a good name anyway. I think after factoring the crypto code out, there isn't much left. sysfs and hostid code which we could then move to new files eventually.

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.

2 participants