opnsense-src/sys/dev/sound
Christos Margiolis 8d3f96bd85 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

(cherry picked from commit 64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a)
(cherry picked from commit 45feaa73c6)

Approved by:	re (cperciva)
2024-05-22 15:22:40 +02:00
..
fdt audio_soc: set "status" as being at simplebus 2024-02-17 16:15:10 +02:00
isa sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
macio sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
midi sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pci snd_hda: Rename LENOVO_I* to LENOVO_IDEAPAD* 2024-05-22 15:22:10 +02:00
pcm sound: Correctly check nvlist_unpack() error 2024-05-22 15:22:40 +02:00
usb sound: Implement asynchronous device detach 2024-04-18 14:39:31 +02:00
chip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
driver.c sound: add missing modules to snd_driver 2024-01-30 13:07:29 +02:00
unit.c sound: Remove leftover references to snd_clone 2024-04-18 14:39:41 +02:00
unit.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
version.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00