Module Name: src Committed By: riastradh Date: Mon Jan 29 18:55:51 UTC 2024
Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: hdaudio(4): Tighten hdafg_freem. The fix for PR kern/57890 in hdafg.c 1.29 included more conditionals than needed, covering cases that can't happen: if allocm returns null, audio(4) does not call freem; and if hdafg_allocm returns nonnull, then what audio(4) passes to hdafg_freem had better be either the playback or the capture buffer address. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/hdaudio/hdafg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.