[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1352fa6d-dcd9-4df0-ad0b-11be9fee7493@web.de>
Date: Mon, 17 Nov 2025 15:55:11 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: make24@...as.ac.cn, dmaengine@...r.kernel.org,
Péter Ujfalusi <peter.ujfalusi@...il.com>,
Vinod Koul <vkoul@...nel.org>
Cc: stable@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] dmaengine: ti-dma-crossbar: Fix error handling in
ti_am335x_xbar_route_allocate
> 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
Powered by blists - more mailing lists