]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Use common error handling code in _snd_pcm_new()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 23 Aug 2017 06:40:37 +0000 (08:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 08:35:50 +0000 (10:35 +0200)
commit495290504695e15991663e2d7386b5c9729ad6c9
treeb9b1a11b2f720a7830acfb7182d2ccd750286f01
parentb763768932537501c322d5c96a34bb35fcee5cb6
ALSA: pcm: Use common error handling code in _snd_pcm_new()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm.c