[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210219094621.GA5641@duo.ucw.cz>
Date: Fri, 19 Feb 2021 10:46:21 +0100
From: Pavel Machek <pavel@....cz>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-leds@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH 1/2] leds: trigger: Fix error path to not unlock the
unlocked mutex
On Fri 2021-02-19 09:29:54, Uwe Kleine-König wrote:
> ttyname is allocated before the mutex is taken, so it must not be
> unlocked in the error path.
>
Acked-by: Pavel Machek <pavel@....cz>
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists