summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorManoj Rao <manojraj@codeaurora.org>2014-05-01 00:10:01 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:29:34 -0700
commit8253e932303810b3d7916fe2bd06ffb18711df9e (patch)
tree646272bbb20e4c043893c0b3691961830622aa74 /scripts/patch-kernel
parent95f8941890aaa49c2164ed22a9244893c7275203 (diff)
mdss: mdp: increase size of mdp image data length
MDP image structure's len member is currently 32-bit. This field is incorrectly cast to unsigned long before passing to ion APIs like ion_map_iommu that expect 64-bit wide data. This can cause unexpected data overwrites. Avoid such incorrect casts and declare the member in mdp image structure to have 64-bit width. Additionally, use appropriate format specifiers in print statements for the new field type. Change-Id: I5b60230d25db23f355372284a81ef7505b3e8488 Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions