Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux-seco-qcom
Manage
Activity
Members
Labels
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
qualcomm
linux-seco-qcom
Commits
792b6d1d
Commit
792b6d1d
authored
8 months ago
by
QCTECMDR Service
Committed by
Gerrit - the friendly Code Review server
8 months ago
Browse files
Options
Downloads
Plain Diff
Merge "FROMLIST: iommu/arm-smmu-qcom: NULL pointer check for driver data"
parents
daed8501
d2474516
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+2
-0
2 additions, 0 deletions
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
with
2 additions
and
0 deletions
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+
2
−
0
View file @
792b6d1d
...
...
@@ -431,6 +431,8 @@ static int qcom_adreno_smmu_init_context(struct arm_smmu_domain *smmu_domain,
*/
priv
=
dev_get_drvdata
(
dev
);
if
(
!
priv
)
return
-
ENODATA
;
priv
->
cookie
=
smmu_domain
;
priv
->
get_ttbr1_cfg
=
qcom_adreno_smmu_get_ttbr1_cfg
;
priv
->
set_ttbr0_cfg
=
qcom_adreno_smmu_set_ttbr0_cfg
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment