Page MenuHomeFreeBSD

sound: Remove KASSERT from vchan_setnew()
ClosedPublic

Authored by christos on Sep 5 2024, 5:03 PM.
Tags
None
Referenced Files
F171519326: D46545.id142981.diff
Fri, Sep 11, 2:02 PM
Unknown Object (File)
Thu, Sep 10, 8:46 PM
Unknown Object (File)
Sun, Sep 6, 8:18 PM
Unknown Object (File)
Sun, Sep 6, 4:00 PM
Unknown Object (File)
Sun, Sep 6, 5:05 AM
Unknown Object (File)
Sat, Sep 5, 12:55 PM
Unknown Object (File)
Fri, Sep 4, 1:30 PM
Unknown Object (File)
Fri, Sep 4, 8:45 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