Re: [PATCH v2] ALSA: maestro3: Use common error handling code in two functions

2017-09-07 Thread Takashi Iwai
On Wed, 06 Sep 2017 08:32:23 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 6 Sep 2017 08:18:30 +0200 > > Add jump targets so that a bit of exception handling can be better reused > at the end of these functions. > > This issue was detected by using the Coccinelle softwar

[PATCH v2] ALSA: maestro3: Use common error handling code in two functions

2017-09-05 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 6 Sep 2017 08:18:30 +0200 Add jump targets so that a bit of exception handling can be better reused at the end of these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- v2: * An approach to make a few checks