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
Reply to
Sudeep Holla, 2021-09-24
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
Thread (5 messages) 5 messages, 2 authors, last reply 2021-10-05
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