ALSA: hda - Fix possible NULL dereference
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2008 07:43:08 +0000 (08:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2008 07:43:08 +0000 (08:43 +0100)
Add NULL-check of the return value of snd_kctl_new1() before
accessing it.  Also, make a sanity NULL check to snd_BUG_ON()
for debugging only.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found