[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2023092039-helping-unselect-adb9@gregkh>
Date: Wed, 20 Sep 2023 11:27:13 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Xiaolei Wang <xiaolei.wang@...driver.com>
Cc: peter.chen@...nel.org, pawell@...ence.com, pavel@...x.de,
rogerq@...nel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] usb: cdns3: Modify the return value of
cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
On Wed, Sep 20, 2023 at 04:28:56PM +0800, Xiaolei Wang wrote:
> The return type of cdns_set_active () is inconsistent
> depending on whether CONFIG_PM_SLEEP is enabled, so the
> return value is modified to void type.
>
> Reported-by: Pavel Machek <pavel@...x.de>
> Closes: https://lore.kernel.org/all/ZP7lIKUzD68XA91j@duo.ucw.cz/
> Fixes: 2319b9c87fe2 ("usb: cdns3: Put the cdns set active part outside the spin lock")
> Cc: stable@...r.kernel.org
> Signed-off-by: Xiaolei Wang <xiaolei.wang@...driver.com>
> Reviewed-by: Pavel Machek <pavel@...x.de>
> Reviewed-by: Roger Quadros <rogerq@...nel.org>
>
> v2:
> * Add Cc: stable@...r.kernel.org
The changes here need to go below the --- line as the documentation
asks. Putting it here will just break things :(
v3 please?
thanks,
greg k-h
Powered by blists - more mailing lists