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
From: Jens Axboe <axboe@kernel.dk>
Date: 2021-07-28 01:30:41
Also in:
lkml
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