sound: Remove SV_ABI_LINUX ifdef #37

Manually merged
christos merged 1 commit from christos/svabi into main 2026-05-22 11:04:34 +00:00 AGit
Member

This ifdef does not do anything, SV_ABI_LINUX is a flag.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

This ifdef does not do anything, SV_ABI_LINUX is a flag. Sponsored by: The FreeBSD Foundation MFC after: 1 week
sound: Remove SV_ABI_LINUX ifdef
Some checks failed
Checklist / commit (pull_request_target) Has been cancelled
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Has been cancelled
Style Checker / Style Checker (pull_request) Has been cancelled
e48d813244
This ifdef does not do anything, SV_ABI_LINUX is a flag.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
christos requested review from ivy 2026-05-22 11:00:58 +00:00
@ -1930,3 +1927,3 @@
* https://lists.freebsd.org/pipermail/freebsd-emulation/2007-June/003698.html
*/
if ((nprot & PROT_EXEC) && (dsp_mmap_allow_prot_exec < 0 ||
if (nprot & PROT_EXEC && (dsp_mmap_allow_prot_exec < 0 ||
Member

I'd keep this parens. I'm surprised this doesn't produce a warning.

I'd keep this parens. I'm surprised this doesn't produce a warning.
christos marked this conversation as resolved
christos force-pushed christos/svabi from e48d813244
Some checks failed
Checklist / commit (pull_request_target) Has been cancelled
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Has been cancelled
Style Checker / Style Checker (pull_request) Has been cancelled
to 3a3b054591
Some checks failed
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Has been cancelled
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Has been cancelled
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Has been cancelled
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Has been cancelled
Checklist / commit (pull_request_target) Has been cancelled
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Has been cancelled
Style Checker / Style Checker (pull_request) Has been cancelled
2026-05-22 11:03:21 +00:00
Compare
ivy approved these changes 2026-05-22 11:03:32 +00:00
@ -1930,3 +1927,3 @@
* https://lists.freebsd.org/pipermail/freebsd-emulation/2007-June/003698.html
*/
if ((nprot & PROT_EXEC) && (dsp_mmap_allow_prot_exec < 0 ||
if (nprot & PROT_EXEC && (dsp_mmap_allow_prot_exec < 0 ||
Member

i would probably keep the parentheses around the bitwise test here for readability, but according to style(9), either is fine.

i would probably keep the parentheses around the bitwise test here for readability, but according to style(9), either is fine.
christos marked this conversation as resolved
gitadm referenced this pull request from a commit 2026-05-22 11:04:32 +00:00
christos manually merged commit 3a3b054591 into main 2026-05-22 11:04:34 +00:00
gitadm referenced this pull request from a commit 2026-05-29 10:13:36 +00:00
Sign in to join this conversation.
No reviewers
ivy
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FreeBSD/src!37
No description provided.