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


Groups > linux.kernel > #1213758 > unrolled thread

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

Started byLinus Walleij <linus.walleij@linaro.org>
First post2015-08-26 13:40 +0200
Last post2015-08-26 13:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromLinus Walleij <linus.walleij@linaro.org>
Date2015-08-26 13:40 +0200
SubjectRe: [PATCH] gpio:Fix error handling in the function max732x_probe
Message-ID<q1HdF-4t8-29@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web