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

From: Lee Jones
Date: Wed Nov 29 2017 - 06:00:00 EST


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

> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxxxxx>
> ---
> 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