diff options
author | Xiaolei Wang <[email protected]> | 2023-09-26 15:53:33 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-10-02 14:25:39 +0200 |
commit | 9f35d612da5592f1bf1cae44ec1e023df37bea12 (patch) | |
tree | bc4f9b1f7a9d3202df0f04ca398a27188396bdc0 /tools/testing/selftests/net | |
parent | 8bea147dfdf823eaa8d3baeccc7aeb041b41944b (diff) |
usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
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 <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 2319b9c87fe2 ("usb: cdns3: Put the cdns set active part outside the spin lock")
Cc: [email protected]
Signed-off-by: Xiaolei Wang <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Acked-by: Peter Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net')
0 files changed, 0 insertions, 0 deletions