Linux virtualization list
 help / color / mirror / Atom feed
From: Ziheng Wei <zihengw03@163.com>
To: gregkh@linuxfoundation.org
Cc: fan.jiaming@hotmail.com, amit@kernel.org, arnd@arndb.de,
	virtualization@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] virtio_console: drop device reference when DMA allocation fails
Date: Tue, 24 Nov 2026 18:00:11 +0800	[thread overview]
Message-ID: <20261124100011.5043-1-zihengw03@163.com> (raw)
In-Reply-To: <2026112438-juggle-squeamish-22ea@gregkh>

Sorry for the missing context. The question I was answering was:

  Is this a duplicate of
  https://lore.kernel.org/all/aoWK_qpSBeO6Bw0M@michalis-linux/?

Yes, it is. Both patches fix the same alloc_buf() device-reference leak
when dma_alloc_coherent() fails. I missed Michail Tatas's earlier patch
during my duplicate search, so please ignore mine.

Sorry again for the noise.

Ziheng Wei


      reply	other threads:[~2026-11-24 10:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 10:23 [PATCH] virtio_console: drop device reference when DMA allocation fails Ziheng Wei
2026-11-23 10:27 ` sashiko-bot
2026-11-24  2:47 ` Jiaming Fan
2026-11-24  7:04 ` Ziheng Wei
2026-11-24  7:27   ` Greg KH
2026-11-24 10:00     ` Ziheng Wei [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=20261124100011.5043-1-zihengw03@163.com \
    --to=zihengw03@163.com \
    --cc=amit@kernel.org \
    --cc=arnd@arndb.de \
    --cc=fan.jiaming@hotmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=virtualization@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox