From: Markus Elfring <Markus.Elfring@web.de>
To: Haoxiang Li <haoxiang_li2024@163.com>, kernel-janitors@vger.kernel.org
Cc: stable@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Andreas Larsson <andreas@gaisler.com>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH] sparc: Fix a reference leak in central_build_irq()
Date: Mon, 15 Sep 2025 16:48:51 +0200 [thread overview]
Message-ID: <222e3744-554b-44ba-80d2-a40fc4e9bed0@web.de> (raw)
In-Reply-To: <20250915135201.187119-1-haoxiang_li2024@163.com>
> Call put_device() once central_op is no longer needed, preventing
> a reference leak.
How do you think about to apply the attribute “__free(put_device)” here?
https://elixir.bootlin.com/linux/v6.17-rc5/source/include/linux/device.h#L1180
Regards,
Markus
prev parent reply other threads:[~2025-09-15 14:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 13:52 [PATCH] sparc: Fix a reference leak in central_build_irq() Haoxiang Li
2025-09-15 14:48 ` Markus Elfring [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=222e3744-554b-44ba-80d2-a40fc4e9bed0@web.de \
--to=markus.elfring@web.de \
--cc=andreas@gaisler.com \
--cc=davem@davemloft.net \
--cc=haoxiang_li2024@163.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox