Re: [PATCH v1 1/1] ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()

From
Jens Axboe <axboe@kernel.dk>
Date
2021-07-28 01:30:41
Also in
lkml
Reply to
Andy Shevchenko, 2021-07-27
On 7/27/21 6:51 AM, Andy Shevchenko wrote:
Last change to device managed APIs cleaned up error path to simple phy_exit()
call, which in some cases has been executed with NULL parameter. This per se
is not a problem, but rather logical misconception: no need to free resource
when it's for sure has not been allocated yet. Fix the driver accordingly.
Applied for 5.15, thanks.

-- 
Jens Axboe
Thread (2 messages) 2 messages, 2 authors, last reply 2021-07-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help