# Re: \[PATCH 1/2\] firmware: arm\_ffa: Add missing remove callback to ffa\_bus\_type

- From: Sudeep Holla \<hidden\>
- Date: 2021-10-05 09:45:14 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/10/8812420
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/09/8812055/t.md

```text
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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
