Loading drivers/staging/android/ion/msm/secure_buffer.c +6 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,12 @@ static int secure_buffer_change_table(struct sg_table *table, WARN((tmp >> 32) & 0xffffffff, "%s: there are ones in the upper 32 bits of the sg at %p! They will be truncated! Address: 0x%llx\n", __func__, sg, tmp); if (unlikely(!size || (size % V2_CHUNK_SIZE))) { WARN(1, "%s: chunk %d has invalid size: 0x%x. Must be a multiple of 0x%x\n", __func__, i, size, V2_CHUNK_SIZE); return -EINVAL; } base = (u32)tmp; Loading Loading
drivers/staging/android/ion/msm/secure_buffer.c +6 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,12 @@ static int secure_buffer_change_table(struct sg_table *table, WARN((tmp >> 32) & 0xffffffff, "%s: there are ones in the upper 32 bits of the sg at %p! They will be truncated! Address: 0x%llx\n", __func__, sg, tmp); if (unlikely(!size || (size % V2_CHUNK_SIZE))) { WARN(1, "%s: chunk %d has invalid size: 0x%x. Must be a multiple of 0x%x\n", __func__, i, size, V2_CHUNK_SIZE); return -EINVAL; } base = (u32)tmp; Loading