From: Linus Walleij <linus.walleij@linaro.org>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: Barry Song <baohua@kernel.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] pinctrl: sirf: atlas7: Initialize GPIO offset
Date: Wed, 2 Aug 2017 14:25:50 +0200 [thread overview]
Message-ID: <CACRpkdZjncCq_D-QVG7gEx8cVusEzyjeYhcgc=wLtGREA40x=w@mail.gmail.com> (raw)
In-Reply-To: <20170720170107.14612-1-thierry.reding@gmail.com>
On Thu, Jul 20, 2017 at 7:01 PM, Thierry Reding
<thierry.reding@gmail.com> wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> The GPIO offset is never initialized, which means that it will end up
> being zero as per the devm_kzalloc() of the parent structure.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> I have no idea how the driver could've ever worked for anything other
> than instances with a single bank, but maybe it did and I missed some
> detail.
Patch applied.
I went in and attack-patched this driver, see:
commit 4e6fd26dcf5d70a7700a4c15d8f239103bdce91d
"pinctrl: sirf/atlas7: stop poking around in GPIO internals"
I don't know if I may have upset the SirF developers or something,
or if I was an especially big asshole for not noticing the problem I
fixed already in the first iteration of the patch, or if I have done something
else evil, but I just haven't heard from the developers since.
If the problem is me, I'm sorry :(
I would like to have this driver up-to-date and verified working.
Yours,
Linus Walleij
WARNING: multiple messages have this Message-ID (diff)
From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: sirf: atlas7: Initialize GPIO offset
Date: Wed, 2 Aug 2017 14:25:50 +0200 [thread overview]
Message-ID: <CACRpkdZjncCq_D-QVG7gEx8cVusEzyjeYhcgc=wLtGREA40x=w@mail.gmail.com> (raw)
In-Reply-To: <20170720170107.14612-1-thierry.reding@gmail.com>
On Thu, Jul 20, 2017 at 7:01 PM, Thierry Reding
<thierry.reding@gmail.com> wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> The GPIO offset is never initialized, which means that it will end up
> being zero as per the devm_kzalloc() of the parent structure.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> I have no idea how the driver could've ever worked for anything other
> than instances with a single bank, but maybe it did and I missed some
> detail.
Patch applied.
I went in and attack-patched this driver, see:
commit 4e6fd26dcf5d70a7700a4c15d8f239103bdce91d
"pinctrl: sirf/atlas7: stop poking around in GPIO internals"
I don't know if I may have upset the SirF developers or something,
or if I was an especially big asshole for not noticing the problem I
fixed already in the first iteration of the patch, or if I have done something
else evil, but I just haven't heard from the developers since.
If the problem is me, I'm sorry :(
I would like to have this driver up-to-date and verified working.
Yours,
Linus Walleij
next prev parent reply other threads:[~2017-08-02 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-20 17:01 [PATCH] pinctrl: sirf: atlas7: Initialize GPIO offset Thierry Reding
2017-07-20 17:01 ` Thierry Reding
2017-07-31 10:58 ` Thierry Reding
2017-07-31 10:58 ` Thierry Reding
2017-08-02 12:25 ` Linus Walleij [this message]
2017-08-02 12:25 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACRpkdZjncCq_D-QVG7gEx8cVusEzyjeYhcgc=wLtGREA40x=w@mail.gmail.com' \
--to=linus.walleij@linaro.org \
--cc=baohua@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.