Page MenuHomeFreeBSD

sound: Remove KASSERT from vchan_setnew()
ClosedPublic

Authored by christos on Sep 5 2024, 5:03 PM.
Tags
None
Referenced Files
F101956264: D46545.diff
Tue, Nov 5, 7:09 PM
Unknown Object (File)
Fri, Oct 18, 8:45 AM
Unknown Object (File)
Fri, Oct 18, 3:01 AM
Unknown Object (File)
Tue, Oct 15, 8:14 PM
Unknown Object (File)
Tue, Oct 15, 8:13 PM
Unknown Object (File)
Tue, Oct 15, 8:13 PM
Unknown Object (File)
Wed, Oct 9, 6:44 AM
Unknown Object (File)
Oct 1 2024, 4:12 AM
Subscribers

Details

Summary

This check is not really useful, and can in fact break things, if
sysctl_dev_pcm_vchans() calls vchan_setnew() with a value that will not
satisfy the KASSERT condition.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable