diff options
author | Qinglang Miao <[email protected]> | 2020-11-10 15:42:21 +0800 |
---|---|---|
committer | Sudeep Holla <[email protected]> | 2020-11-13 11:16:01 +0000 |
commit | 6bbdb46c4b1bd57839c9c0a110bd81b0be0a4046 (patch) | |
tree | 22e3fb7e7306e4e1c02a04d953e9a2d1ddcc9154 /scripts/gdb/linux/lists.py | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) |
firmware: arm_scmi: Fix missing destroy_workqueue()
destroy_workqueue is required before the return from scmi_notification_init
in case devm_kcalloc fails to allocate registered_protocols. Fix this by
simply moving registered_protocols allocation before alloc_workqueue.
Link: https://lore.kernel.org/r/[email protected]
Fixes: bd31b249692e ("firmware: arm_scmi: Add notification dispatch and delivery")
Suggested-by: Cristian Marussi <[email protected]>
Reviewed-by: Cristian Marussi <[email protected]>
Signed-off-by: Qinglang Miao <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions