diff options
| author | Vijayanand Jitta <vjitta@codeaurora.org> | 2019-03-06 10:48:07 +0530 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:01 +0200 |
| commit | 547b4a3bcc13f1167e81d8b8318da8211623ae04 (patch) | |
| tree | dd75a97fbd34781c7a26a94ac6b68cc128fd423c /kernel/sysctl_binary.c | |
| parent | 41030c7dd59d1ad70501d6edd51fae79279e626b (diff) | |
ion: Fix typecasting of msm_ion_heap_types
msm_ion_heap_types type variable is assigned to a ion_heap_type
variable, typecast this properly to ion_heap_type before assigning
also fix is_cp_flag_present function by using bitwise operators
instead of logical operators and consider ION_FLAG_SECURE as well
while allocating through system secure heap.
Change-Id: I7f65c5d5d92e3007a1f803e7438ccbfb672907e6
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Link: https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=ad7d1e333f74f1a71f3ed51882221e61ab67dc60
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
