[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <811891cb-8749-152d-84ff-ed925e278f0f@kernel.org>
Date: Tue, 27 Apr 2021 15:03:28 -0400
From: Sinan Kaya <okaya@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Cc: Aditya Pakki <pakki001@....edu>, Vinod Koul <vkoul@...nel.org>
Subject: Re: [PATCH 162/190] Revert "dmaengine: qcom_hidma: Check for driver
register failure"
On 4/27/2021 10:47 AM, Greg Kroah-Hartman wrote:
> The original change is NOT correct, as it does not correctly unwind from
> the resources that was allocated before the call to
> platform_driver_register().
>
> As platform_driver_register() should never really fail here, I'll just
> revert this patch and maybe someone, if they care about this driver, can
> unwind the mess here. Given that this driver doesn't look to ever be
> able to be unloaded from the system, failing the init call does not look
> to be a wise idea.
Please go ahead. I was out-of-office for the last few days.
Powered by blists - more mailing lists