mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ma Ke <make24@iscas.ac.cn>
To: tglx@linutronix.de
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	make24@iscas.ac.cn, maz@kernel.org, shawn.guo@linaro.org,
	stable@vger.kernel.org
Subject: Re: [PATCH] irqchip: Fix error handling in qcom_mpm_init
Date: Mon, 17 Nov 2025 08:47:33 +0800	[thread overview]
Message-ID: <20251117004733.14976-1-make24@iscas.ac.cn> (raw)
In-Reply-To: <87seed972b.ffs@tglx>

On Mon, Nov 17 2025 at 02:16, Thomas Gleixner wrote:
> On Sun, Nov 16 2025 at 16:16, Ma Ke wrote:
> 
> > of_find_device_by_node() increments the reference count but it's never
> > decremented, preventing proper device cleanup. Add put_device()
> > properly to ensure references released before function return.
> >
> > Found by code review.
> 
> By whom? You sent 7 patches today which touch random parts of the
> kernel:
> 
>   [PATCH] irqchip: Fix error handling in qcom_mpm_init
>   [PATCH] phy: HiSilicon: Fix error handling in hi3670_pcie_get_resources_from_pcie
>   [PATCH] ASoC: codecs: wcd937x: Fix error handling in wcd937x codec driver
>   [PATCH] ASoC: codecs: Fix error handling in pm4125 audio codec driver
>   [PATCH] powerpc/warp: Fix error handling in pika_dtm_thread
>   [PATCH] USB: Fix error handling in gadget driver
>   [PATCH] USB: ohci-nxp: Fix error handling in ohci-hcd-nxp driver
> 
> and in all of them you claim to have found them by code review.
> 
> Why do I have doubts especially when I look at your email address?
> 
> Thanks,
> 
>         tglx
Hi,

Thank you for your note. I can confirm these issues were found through
manual audit. I accumulated these findings over time and submitted 
them in a single batch during my spare time. This is a good-faith 
effort to contribute to the kernel by fixing what I found.

Best regards,
Ma Ke


      reply	other threads:[~2025-11-17  0:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-16  8:16 Ma Ke
2025-11-16 10:34 ` Thomas Gleixner
2025-11-16 18:16 ` Thomas Gleixner
2025-11-17  0:47   ` Ma Ke [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=20251117004733.14976-1-make24@iscas.ac.cn \
    --to=make24@iscas.ac.cn \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=shawn.guo@linaro.org \
    --cc=stable@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®