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)
Jun 21 2026, 5:17 PM
Unknown Object (File)
Jun 21 2026, 4:01 PM
Unknown Object (File)
Jun 20 2026, 10:52 PM
Unknown Object (File)
May 17 2026, 6:21 PM
Unknown Object (File)
May 17 2026, 6:14 PM
Unknown Object (File)
May 11 2026, 1:15 AM
Unknown Object (File)
May 11 2026, 1:08 AM
Unknown Object (File)
May 3 2026, 10:37 AM
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