[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <70474413-fcb0-7527-d7a3-67c3e55d0f1b@linux.intel.com>
Date: Mon, 27 Mar 2023 16:31:22 +0300
From: Mathias Nyman <mathias.nyman@...ux.intel.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: mirsad.todorovac@....unizg.hr, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
ubuntu-devel-discuss@...ts.ubuntu.com, stern@...land.harvard.edu,
arnd@...db.de, Stable@...r.kernel.org
Subject: Re: [PATCH] xhci: Free the command allocated for setting LPM if we
return early
On 27.3.2023 14.51, Greg KH wrote:
> On Mon, Mar 27, 2023 at 12:50:19PM +0300, Mathias Nyman wrote:
>> The command allocated to set exit latency LPM values need to be freed in
>> case the command is never queued. This would be the case if there is no
>> change in exit latency values, or device is missing.
>>
>> Fixes: 5c2a380a5aa8 ("xhci: Allocate separate command structures for each LPM command")
>> Cc: <Stable@...r.kernel.org>
>> Signed-off-by: Mathias Nyman <mathias.nyman@...ux.intel.com>
>> ---
>> drivers/usb/host/xhci.c | 1 +
>> 1 file changed, 1 insertion(+)
>
> Do you want me to take this now, or will you be sending this to me in a
> separate series of xhci fixes? Either is fine with me.
I can send a separate series this week, there are some other fixes as well.
Thanks
Mathias
Powered by blists - more mailing lists