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


Groups > linux.kernel > #1220767

Re: [PATCH] gpio: Propagate errors from chip->get()

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] gpio: Propagate errors from chip->get()
Date 2015-09-08 15:10 +0200
Message-ID <q6qOU-57i-43@gated-at.bofh.it> (permalink)
References <q2Aa5-7XR-1@gated-at.bofh.it> <q3M9c-5l3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 1, 2015 at 7:16 AM, Bjorn Andersson
<bjorn.andersson@sonymobile.com> wrote:

> Linus, Alexandre, please feel free to apply this with -ENOTSUPP in
> accordance to Alexandre's comment in [1], if you prefer that. I picked
> -EIO as that's what's used in most other places when the get() op is
> missing.

I applied as-is for fixes.

> Maybe we should follow up with separate patch to make that consistent?

A patch doing this would be appropriate for devel as it makes
deeper semantic changes.

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: Propagate errors from chip->get() Linus Walleij <linus.walleij@linaro.org> - 2015-09-08 15:10 +0200

csiph-web