mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 01:14:56 +00:00
Smatch complains that:
snd_usb_caiaq_input_init() warn: missing error code 'ret'
This patch adds a new case to handle the situation where the
device does not support any input methods in the
`snd_usb_caiaq_input_init` function. It returns an `-EINVAL` error code
to indicate that no input methods are supported on the device.
Fixes:
|
||
|---|---|---|
| .. | ||
| audio.c | ||
| audio.h | ||
| control.c | ||
| control.h | ||
| device.c | ||
| device.h | ||
| input.c | ||
| input.h | ||
| Makefile | ||
| midi.c | ||
| midi.h | ||