diff options
author | Xi Wang <xi.wang@gmail.com> | 2012-11-13 17:12:12 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-14 08:03:31 +0100 |
commit | 701ef3205eb33bce4ba97b96f6f04a5ae29cd7b8 (patch) | |
tree | bc6c90b94fea09e46f402070f2718141ed23734e /sound/usb/endpoint.c | |
parent | 9af4e7fedab490fec6e831912859d6be92e9140d (diff) | |
download | linux-701ef3205eb33bce4ba97b96f6f04a5ae29cd7b8.tar.bz2 |
ALSA: core: fix NULL checking in snd_pcm_plug_slave_size()
The dereference snd_pcm_plug_stream(plug) should come after the NULL
check snd_BUG_ON(!plug).
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.c')
0 files changed, 0 insertions, 0 deletions