]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: fix possible null dereference
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 2 Apr 2015 11:21:43 +0000 (16:51 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Apr 2015 12:32:16 +0000 (14:32 +0200)
commitdf66e8d77a5475bc071df42e6b40a535ba4177d3
treed69612e15878e09eef8498c414c27c360d422ad4
parent588a077ba447f261e9ef1224bb74259545245066
ALSA: hda: fix possible null dereference

we are dereferencing pcm first then checking pcm. instead now lets put
them in same if condition so that pcm is checked first.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c