Page MenuHomeFreeBSD

sound: Convert pcm_chn_add() to void
ClosedPublic

Authored by christos on Apr 28 2024, 5:32 PM.
Tags
None
Referenced Files
F146209833: D44998.id.diff
Sat, Feb 28, 6:53 PM
F146194620: D44998.id.diff
Sat, Feb 28, 3:40 PM
Unknown Object (File)
Fri, Feb 27, 3:41 PM
Unknown Object (File)
Wed, Feb 25, 12:05 AM
Unknown Object (File)
Sat, Feb 7, 9:53 PM
Unknown Object (File)
Dec 31 2025, 4:39 PM
Unknown Object (File)
Dec 17 2025, 10:42 PM
Unknown Object (File)
Nov 15 2025, 5:38 PM
Subscribers

Details

Summary

It always returns 0.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57432
Build 54320: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 28 2024, 7:12 PM
markj added inline comments.
sys/dev/sound/pcm/vchan.c
709

It would be a bit cleaner to initialize ret either at the beginning of the function, or further down where we check parent_caps == NULL.

This revision was automatically updated to reflect the committed changes.