[PATCH] mfd: ab8500-debugfs: Use common error handling code in ab8500_print_modem_registers()

Lee Jones lee.jones at linaro.org
Wed Nov 29 02:59:52 PST 2017


On Fri, 27 Oct 2017, SF Markus Elfring wrote:

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Fri, 27 Oct 2017 17:20:45 +0200
> 
> Add jump targets so that two error messages are stored only once
> at the end of this function implementation.
> 
> This issue was detected by using the Coccinelle software.
> 
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
> ---
>  drivers/mfd/ab8500-debugfs.c | 35 +++++++++++++++++++----------------
>  1 file changed, 19 insertions(+), 16 deletions(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list