Page MenuHomeFreeBSD

sound: Simplify sndbuf_clear() loop
ClosedPublic

Authored by christos on Nov 1 2025, 10:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 6, 1:15 PM
Unknown Object (File)
Sat, Dec 27, 8:27 PM
Unknown Object (File)
Thu, Dec 25, 8:51 PM
Unknown Object (File)
Dec 9 2025, 7:22 AM
Unknown Object (File)
Dec 8 2025, 11:15 PM
Unknown Object (File)
Nov 24 2025, 6:31 AM
Unknown Object (File)
Nov 24 2025, 6:21 AM
Unknown Object (File)
Nov 17 2025, 2:33 PM
Subscribers

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 68340
Build 65223: arc lint + arc unit

Event Timeline

sys/dev/sound/pcm/buffer.c
285
for (; length > 0; length--, i++)
    p[i % b->bufsize] = data;
christos marked an inline comment as done.

Address Mark's comment.

This revision is now accepted and ready to land.Nov 3 2025, 1:47 PM
This revision was automatically updated to reflect the committed changes.