commit | 31c6085562a03124d3f6a5c43dd9888ac44495a5 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Apr 27 17:06:49 2018 +0300 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Tue May 08 18:03:47 2018 +0100 |
tree | f092434a6a5f46d530de3c61bd33e520cdc666e9 | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 [diff] |
firmware: arm_scmi: Use after free in scmi_create_protocol_device() We need to return here instead of setting up the freed sdev device as a transport. Fixes: 907b6d14911d ("firmware: arm_scmi: add per-protocol channels support using idr objects") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>