mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: make24@iscas.ac.cn, dmaengine@vger.kernel.org,
	"Péter Ujfalusi" <peter.ujfalusi@gmail.com>,
	"Vinod Koul" <vkoul@kernel.org>
Cc: stable@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] dmaengine: ti-dma-crossbar: Fix error handling in ti_am335x_xbar_route_allocate
Date: Mon, 17 Nov 2025 15:55:11 +0100	[thread overview]
Message-ID: <1352fa6d-dcd9-4df0-ad0b-11be9fee7493@web.de> (raw)
In-Reply-To: <20251117082532.918-1-make24@iscas.ac.cn>

> Add proper put_device() calls in all exit paths to fix the reference
> count imbalance.

How do you think about to apply the attribute “__free(put_device)”
in this function implementation?
https://elixir.bootlin.com/linux/v6.18-rc5/source/include/linux/device.h#L1183

Regards,
Markus

      reply	other threads:[~2025-11-17 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17  8:25 Ma Ke
2025-11-17 14:55 ` 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=1352fa6d-dcd9-4df0-ad0b-11be9fee7493@web.de \
    --to=markus.elfring@web.de \
    --cc=akpm@linux-foundation.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=make24@iscas.ac.cn \
    --cc=peter.ujfalusi@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=vkoul@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

all inboxes | Powered by JetHome®