Page MenuHomeFreeBSD

sound: Remove KASSERT from vchan_setnew()
AcceptedPublic

Authored by christos on Thu, Sep 5, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 18, 4:34 AM
Unknown Object (File)
Tue, Sep 17, 12:50 AM
Unknown Object (File)
Wed, Sep 11, 12:51 PM
Unknown Object (File)
Tue, Sep 10, 5:30 AM
Unknown Object (File)
Sun, Sep 8, 10:16 PM
Unknown Object (File)
Sun, Sep 8, 5:38 PM
Unknown Object (File)
Sat, Sep 7, 11:39 PM
Unknown Object (File)
Sat, Sep 7, 8:05 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59318
Build 56205: arc lint + arc unit