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

Takashi Iwai tiwai at suse.de
Thu Sep 7 10:35:30 CEST 2017


On Wed, 06 Sep 2017 21:48:11 +0200,
SF Markus Elfring wrote:
> 
> From: Markus Elfring <elfring at users.sourceforge.net>
> 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 at users.sourceforge.net>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list