diff options
| author | Wentao Liang <[email protected]> | 2025-02-13 07:45:43 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2025-02-14 07:45:09 +0000 |
| commit | 822b7ec657e99b44b874e052d8540d8b54fe8569 (patch) | |
| tree | dac57dfb60637485d2fe2ea75571075298b6a614 /net/unix/af_unix.c | |
| parent | ALSA: hda/tas2781: Fix index issue in tas2781 hda SPI driver (diff) | |
| download | kernel-822b7ec657e99b44b874e052d8540d8b54fe8569.tar.gz kernel-822b7ec657e99b44b874e052d8540d8b54fe8569.zip | |
ALSA: hda: Add error check for snd_ctl_rename_id() in snd_hda_create_dig_out_ctls()
Check the return value of snd_ctl_rename_id() in
snd_hda_create_dig_out_ctls(). Ensure that failures
are properly handled.
[ Note: the error cannot happen practically because the only error
condition in snd_ctl_rename_id() is the missing ID, but this is a
rename, hence it must be present. But for the code consistency,
it's safer to have always the proper return check -- tiwai ]
Fixes: 5c219a340850 ("ALSA: hda: Fix kctl->id initialization")
Cc: [email protected] # 6.4+
Signed-off-by: Wentao Liang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
