public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] sparc: Fix a reference leak in central_build_irq()
       [not found] <20250915135201.187119-1-haoxiang_li2024@163.com>
@ 2025-09-15 14:48 ` Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2025-09-15 14:48 UTC (permalink / raw)
  To: Haoxiang Li, kernel-janitors
  Cc: stable, LKML, Andreas Larsson, David S. Miller

> 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-15 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250915135201.187119-1-haoxiang_li2024@163.com>
2025-09-15 14:48 ` [PATCH] sparc: Fix a reference leak in central_build_irq() Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox