Commit bf614ebe authored by Mostafa Saleh's avatar Mostafa Saleh
Browse files

ANDROID: drivers/arm-smmu-v3-kvm: Align driver private data



Private data was set to host_arm_smmu_device however, mostly
it was assumed to be arm_smmu_device, this only works because,
arm_smmu_device is the first member of the struct.

Align it to be arm_smmu_device, and use the right accessor to
to make the code more robust.

Bug: 277989609
Bug: 278749606

Change-Id: I07c9282b8c94bc08702829623fb7518404f778d7
Signed-off-by: default avatarMostafa Saleh <smostafa@google.com>
parent 05eb3b11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment