Commit 4d39f905 authored by Sudeep Holla's avatar Sudeep Holla Committed by Treehugger Robot
Browse files

UPSTREAM: firmware: arm_ffa: Remove incorrect assignment of driver_data

The ffa core driver currently assigns its own driver information
to individual ffa device driver_data which is wrong. Firstly, it leaks
this core driver information to individual ffa_device and hence to
ffa_driver. Secondly the ffa_device driver_data is for use by individual
ffa_driver and not for this core driver managing all those devices.

Bug: 254441685
Link: https://lore.kernel.org/r/20220429113946.2087145-2-sudeep.holla@arm.com


Fixes: d0c0bce8 ("firmware: arm_ffa: Setup in-kernel users of FFA partitions")
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 00512d29)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Id4853e2cb6ce3856861134545bd7db9d51c97b9a
parent d57c415a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment