diff options
author | Christos Margiolis <christos@FreeBSD.org> | 2024-05-20 14:18:33 +0000 |
---|---|---|
committer | Christos Margiolis <christos@FreeBSD.org> | 2024-05-20 14:18:33 +0000 |
commit | 64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a (patch) | |
tree | 75521bf14b70b304a25e00b32bd3586bf6540b1b /sys/dev/sound/pcm/ac97_patch.c | |
parent | 074d337ad618f9cc2a1d5ab18b484928e57bd72b (diff) | |
download | src-64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a.tar.gz src-64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a.zip |
sound: Correctly check nvlist_unpack() error
The current check is never false and if nvlist_unpack() fails, we might
panic later down the road.
PR: 266144
Sponsored by: The FreeBSD Foundation
MFC after: 1 day
Reviewed by: dev_submerge.ch, emaste
Differential Revision: https://reviews.freebsd.org/D45237
Diffstat (limited to 'sys/dev/sound/pcm/ac97_patch.c')
0 files changed, 0 insertions, 0 deletions