Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213758

Re: [PATCH] gpio:Fix error handling in the function max732x_probe

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] gpio:Fix error handling in the function max732x_probe
Date 2015-08-26 13:40 +0200
Message-ID <q1HdF-4t8-29@gated-at.bofh.it> (permalink)
References <q1HdF-4t8-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 18, 2015 at 3:55 PM, Nicholas Krause <xerofoify@gmail.com> wrote:

> This fixes error handling in the function max732x_probe by checking
> if the calls to the function max732x_readb fail by returning a error
> code. If so we must immediately return to the caller of the function
> max732x_probe with the error code to signal a non recoverable has
> occurred when calling this function and the caller must handle it.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>

Stripped and rewrote the commit message a bit and applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] gpio:Fix error handling in the function max732x_probe Linus Walleij <linus.walleij@linaro.org> - 2015-08-26 13:40 +0200

csiph-web