[PATCH 1/2] firmware: arm_ffa: Add missing remove callback to ffa_bus_type

Sudeep Holla sudeep.holla at arm.com
Tue Oct 5 02:42:59 PDT 2021


On Fri, 24 Sep 2021 10:28:58 +0100, Sudeep Holla wrote:
> Currently the arm_ffa firmware driver can be built as module and hence
> all the users of FFA driver. If any driver on the ffa bus is removed or
> unregistered, the remove callback on all the device bound to the driver
> being removed should be callback. For that to happen, we must register
> a remove callback on the ffa_bus which is currently missing. This results
> in the probe getting called again without the previous remove callback
> on a device which may result in kernel crash.
> 
> [...]


Applied to sudeep.holla/linux (for-next/ffa), thanks!




[1/2] firmware: arm_ffa: Add missing remove callback to ffa_bus_type
      https://git.kernel.org/sudeep.holla/c/244f5d597e
[2/2] firmware: arm_ffa: Fix __ffa_devices_unregister
      https://git.kernel.org/sudeep.holla/c/eb7b52e6db

--

Regards,
Sudeep




More information about the linux-arm-kernel mailing list