Re: [PATCH 2/3] ALSA: ymfpci: Use common error handling code in snd_ymfpci_create()

From: Takashi Iwai
Date: Thu Sep 07 2017 - 04:35:36 EST


On Wed, 06 Sep 2017 21:48:11 +0200,
SF Markus Elfring wrote:
>
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Wed, 6 Sep 2017 21:12:51 +0200
>
> * 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.
>
> * The script "checkpatch.pl" pointed information out like the following.
>
> ERROR: do not use assignment in if condition
>
> Thus fix a few source code places.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Applied, thanks.


Takashi