Page MenuHomeFreeBSD

sound: Re-arrange vchan_setnew() initial checks and improve errno values
ClosedPublic

Authored by christos on Sep 6 2024, 10:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 6:21 PM
Unknown Object (File)
Sun, May 17, 6:14 PM
Unknown Object (File)
Mon, May 11, 1:15 AM
Unknown Object (File)
Mon, May 11, 1:08 AM
Unknown Object (File)
Sun, May 3, 10:37 AM
Unknown Object (File)
Tue, Apr 28, 3:24 AM
Unknown Object (File)
Mon, Apr 27, 6:49 PM
Unknown Object (File)
Mar 11 2026, 11:13 PM
Subscribers

Details

Summary

Check newcnt first since there is no reason to continue if we provided
an invalid newcnt value. Also return more helpful errno values.

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 59336
Build 56223: arc lint + arc unit

Event Timeline

christos retitled this revision from sound: Re-arrange initial checks and improve errno values to sound: Re-arrange vchan_setnew() initial checks and improve errno values.Sep 6 2024, 10:54 AM
This revision is now accepted and ready to land.Sep 13 2024, 7:56 PM