[alsa-devel] [PATCH] ASoC: wm8804: Use common error handling code in wm8804_probe()
Charles Keepax
ckeepax at opensource.cirrus.com
Mon Nov 20 07:03:05 CET 2017
On Sun, Nov 19, 2017 at 08:04:28AM +0100, SF Markus Elfring wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Sun, 19 Nov 2017 07:55:49 +0100
>
> * Add a jump target so that a specific error message is stored only once
> at the end of this function implementation.
>
> * Replace two calls of the function "dev_err" by goto statements.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list