[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251021211704.GA210874@workstation.local>
Date: Wed, 22 Oct 2025 06:17:04 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] firewire: core: use cleanup function to release cached
configuration ROM
On Mon, Oct 20, 2025 at 08:58:10PM +0900, Takashi Sakamoto wrote:
> When returning from read_config_rom() function, the allocated buffer and
> the previous buffer for configuration ROM should be released. The cleanup
> function is useful in the case.
>
> This commit uses the cleanup function to remove goto statements.
>
> Signed-off-by: Takashi Sakamoto <o-takashi@...amocchi.jp>
> ---
> drivers/firewire/core-device.c | 34 ++++++++++++----------------------
> 1 file changed, 12 insertions(+), 22 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto
Powered by blists - more mailing lists