Loading drivers/staging/android/ion/ion_cma_secure_heap.c +6 −0 Original line number Diff line number Diff line Loading @@ -515,6 +515,12 @@ static int ion_secure_cma_allocate(struct ion_heap *heap, return -ENOMEM; } if (!IS_ALIGNED(len, SZ_1M)) { pr_err("%s: length of allocation from %s must be a multiple of 1MB\n", __func__, heap->name); return -ENOMEM; } buf = __ion_secure_cma_allocate(heap, buffer, len, align, flags); Loading Loading
drivers/staging/android/ion/ion_cma_secure_heap.c +6 −0 Original line number Diff line number Diff line Loading @@ -515,6 +515,12 @@ static int ion_secure_cma_allocate(struct ion_heap *heap, return -ENOMEM; } if (!IS_ALIGNED(len, SZ_1M)) { pr_err("%s: length of allocation from %s must be a multiple of 1MB\n", __func__, heap->name); return -ENOMEM; } buf = __ion_secure_cma_allocate(heap, buffer, len, align, flags); Loading