From: Xi Wang Date: Tue, 13 Nov 2012 22:12:12 +0000 (-0500) Subject: ALSA: core: fix NULL checking in snd_pcm_plug_slave_size() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=701ef3205eb33bce4ba97b96f6f04a5ae29cd7b8;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed