From: sashiko-bot@kernel.org
To: "Pufan Jin" <cyan2254650260@gmail.com>
Cc: linux-gpio@vger.kernel.org
Subject: Re: [PATCH v2 3/5] gpiolib: shared: match reset-gpio against translated entry offset
Date: Sat, 05 Dec 2026 07:18:39 +0000 [thread overview]
Message-ID: <sashiko-outbox-251218@kernel.org> (raw)
In-Reply-To: <20261205064355.137581-4-cyan2254650260@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] gpiolib: commit message cites removed
gpio_shared_add_proxy_lookup()
--
commit 2ae929cf5298a7702e57546d8873ebd3b05784d8
Author: Pufan Jin <cyan2254650260@gmail.com>
gpiolib: shared: match reset-gpio against translated entry offset
This commit updates gpio_shared_dev_is_reset_gpio() to check
ref->is_reset_gpio and match the reset-gpio software node's pin offset
against the of_xlate()-translated entry->offset under entry->lock.
> callbacks such as tegra186-gpio, and gpio_shared_add_proxy_lookup()
> hits WARN_ON(1) and returns -ENOENT.
[Severity: Low]
gpio_shared_add_proxy_lookup() was replaced by gpio_shared_get_proxy() in
commit 23cfadf96e14 ("gpio: shared: convert to using software nodes for
GPIO shared proxy lookup"). The caller of gpio_shared_dev_is_reset_gpio()
is now gpio_shared_get_proxy(), which hits WARN_ON(1) and returns
ERR_PTR(-ENOENT) on mismatch.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261205064355.137581-1-cyan2254650260@gmail.com?part=3
next prev parent reply other threads:[~2026-12-05 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 6:43 [PATCH v2 0/5] gpiolib / reset: resolve GPIO specifiers via gpiolib Pufan Jin
2026-12-05 6:43 ` [PATCH v2 1/5] gpiolib: add gpio_device_find_by_fwnode_args() Pufan Jin
2026-12-05 7:07 ` sashiko-bot
2026-12-05 6:43 ` [PATCH v2 2/5] gpiolib: swnode: prefer matching parent gpio_device Pufan Jin
2026-12-05 6:43 ` [PATCH v2 3/5] gpiolib: shared: match reset-gpio against translated entry offset Pufan Jin
2026-12-05 7:18 ` sashiko-bot [this message]
2026-12-05 6:43 ` [PATCH v2 4/5] reset: gpio: derive fwnode_reset_n_cells from platform data Pufan Jin
2026-12-05 6:43 ` [PATCH v2 5/5] reset: core: translate GPIO specifier via gpio_device_find_by_fwnode_args() Pufan Jin
2026-12-05 7:33 ` sashiko-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=sashiko-outbox-251218@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=cyan2254650260@gmail.com \
--cc=linux-gpio@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.