From: Sasha Levin <sashal@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [GIT PULL] pin control changes for v6.13
Date: Sun, 24 Nov 2024 11:54:58 -0500 [thread overview]
Message-ID: <Z0NaYhtZy89ObgmR@sashalap> (raw)
In-Reply-To: <CACRpkdZWqTOTzYYgD-wAps2Ygsh-D+nxaW76hrWSdTDZZKBA_w@mail.gmail.com>
Hi Linus,
I've just hit the issue you've described in this PR:
On Sat, Nov 23, 2024 at 05:23:26PM +0100, Linus Walleij wrote:
>- The second issue is more sneaky: a recent fixup patch to one
> of the rc:s (I think -rc4) fixed some error path bugs in
> the AW9523 driver, then a patch to the regular devel is
> improving the use of devres so the fixed errorpath fixes
> things broken.
>
>I have been applying the following fixup patch for -next to work:
And realized that that proposed fixup:
>diff --git a/drivers/pinctrl/pinctrl-aw9523.c b/drivers/pinctrl/pinctrl-aw9523.c
>index ebd590a3cec6..90059b0d20e5 100644
>--- a/drivers/pinctrl/pinctrl-aw9523.c
>+++ b/drivers/pinctrl/pinctrl-aw9523.c
>@@ -983,11 +983,8 @@ static int aw9523_probe(struct i2c_client *client)
> lockdep_set_subclass(&awi->i2c_lock,
>i2c_adapter_depth(client->adapter));
>
> pdesc = devm_kzalloc(dev, sizeof(*pdesc), GFP_KERNEL);
>- if (!pdesc) {
>- ret = -ENOMEM;
>- goto err_disable_vregs;
>- }
>-
>+ if (!pdesc)
>+ return -ENOMEM;
> ret = aw9523_hw_init(awi);
> if (ret)
> return ret;
>
>This can be folded in as an "evil merge" or applied separately on
>top, your pick.
Is effectively a revert of one of the commits that are part of this PR:
> pinctrl: aw9523: add missing mutex_destroy
Would it make more sense to just re-do this PR without the offending
commit? I understand that this is a fairly small fixup, but I'm
concerned that this will just create confusion later on...
--
Thanks,
Sasha
next prev parent reply other threads:[~2024-11-24 16:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-23 16:23 [GIT PULL] pin control changes for v6.13 Linus Walleij
2024-11-24 16:54 ` Sasha Levin [this message]
2024-11-25 8:48 ` Linus Walleij
2024-11-25 13:28 ` Sasha Levin
2024-11-26 1:41 ` pr-tracker-bot
2024-11-26 1:41 ` pr-tracker-bot
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=Z0NaYhtZy89ObgmR@sashalap \
--to=sashal@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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.