Page MenuHomeFreeBSD

sound: Call chn_kill() in chn_init() failure
Needs ReviewPublic

Authored by christos on Wed, Feb 12, 4:04 PM.

Details

Summary

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 62397
Build 59281: arc lint + arc unit

Event Timeline

sys/dev/sound/pcm/channel.c
1326

I removed this and moved these increments inside the switch at the top of chn_init(). This is to avoid inconsistencies since chn_kill() decrements these counters.