Fix a potential NULL pointer deference in an error print. subs->cur_audiofmt can possibly be NULL, as the condition is checked for during the call to info_idx_from_ifnum(). However, if we run into an error condition when finding the correct interface number, the error print will not check for a NULL cur_audiofmt. Change-Id: Ia311ad399b4b5ccc1d4612f3eb2a4c810af5db10 Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> |
||
---|---|---|
.. | ||
ac97 | ||
aoa | ||
arm | ||
atmel | ||
core | ||
drivers | ||
firewire | ||
hda | ||
i2c | ||
isa | ||
mips | ||
oss | ||
parisc | ||
pci | ||
pcmcia | ||
ppc | ||
sh | ||
soc | ||
sparc | ||
spi | ||
synth | ||
usb | ||
virtio | ||
x86 | ||
xen | ||
ac97_bus.c | ||
Kconfig | ||
last.c | ||
Makefile | ||
sound_core.c |