Re: [PATCH v2] firmware: arm_scmi: fix missing destroy_workqueue()

2020-11-13 Thread Sudeep Holla
On Tue, 10 Nov 2020 15:42:21 +0800, Qinglang Miao wrote: > destroy_workqueue seems necessary before return from > scmi_notification_init in the error handling case when > fails to do devm_kcalloc(). Fix this by simply moving > devm_kcalloc to the front. Applied to sudeep.holla/linux (for-next/scm

Re: [PATCH v2] firmware: arm_scmi: fix missing destroy_workqueue()

2020-11-10 Thread Cristian Marussi
Hi On Tue, Nov 10, 2020 at 03:42:21PM +0800, Qinglang Miao wrote: > destroy_workqueue seems necessary before return from > scmi_notification_init in the error handling case when > fails to do devm_kcalloc(). Fix this by simply moving > devm_kcalloc to the front. > > Fixes: bd31b249692e ("firmware

[PATCH v2] firmware: arm_scmi: fix missing destroy_workqueue()

2020-11-09 Thread Qinglang Miao
destroy_workqueue seems necessary before return from scmi_notification_init in the error handling case when fails to do devm_kcalloc(). Fix this by simply moving devm_kcalloc to the front. Fixes: bd31b249692e ("firmware: arm_scmi: Add notification dispatch and delivery") Suggested-by: Cristian Ma