From: Joshua Crofts <joshua.crofts1@gmail.com>
To: Julia Lawall <Julia.Lawall@inria.fr>,
Nicolas Palix <nicolas.palix@imag.fr>
Cc: linux-kernel@vger.kernel.org, cocci@inria.fr
Subject: Re: [cocci] [PATCH v3] coccinelle: api: add a checker for pm_runtime_use_autosuspend() usage
Date: Sun, 11 Oct 2026 19:28:38 +0200 [thread overview]
Message-ID: <20261011192838.4f9a8b44@systembl0wer> (raw)
In-Reply-To: <20260916095616.1394-1-joshua.crofts1@gmail.com>
On Wed, 16 Sep 2026 09:56:16 +0000
Joshua Crofts <joshua.crofts1@gmail.com> wrote:
> Add a checker for ensuring that pm_runtime_dont_use_autosuspend() is
> called in a file if pm_runtime_use_autosuspend() is called and its
> devm_* counterpart isn't present.
>
> Assisted-by: LLM
> Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
> ---
> Running this in drivers/ yields 195 results, due to
> pm_runtime_dont_use_autosuspend() not being documented well enough.
>
> Changes in v3:
> - Remove note about resource leak from commit message
> - Link to v2: https://lore.kernel.org/lkml/20260915064327.1377-1-joshua.crofts1@gmail.com/
>
> Changes in v2:
> - Send correct version
> - Remove unnecessary position variable
> - Remove metavariable
> - Link to v1: https://lore.kernel.org/lkml/20260914151145.1328-1-joshua.crofts1@gmail.com/
Hi, you can drop this patch. I have a patch merged that removes the
need for calling dont_use_autosuspend() on unbind.
https://lore.kernel.org/all/20260919-move-dont-use-autosuspend-v1-1-f6e2d1315c23@gmail.com/
Thanks.
--
Kind regards,
Joshua Crofts
prev parent reply other threads:[~2026-10-14 14:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 9:56 [cocci] [PATCH v3] coccinelle: api: add a checker for pm_runtime_use_autosuspend() usage Joshua Crofts
2026-10-11 17:28 ` Joshua Crofts [this message]
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=20261011192838.4f9a8b44@systembl0wer \
--to=joshua.crofts1@gmail.com \
--cc=Julia.Lawall@inria.fr \
--cc=cocci@inria.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.palix@imag.fr \
/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.