mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git
This commit is contained in:
@@ -698,6 +698,9 @@ static int optee_ffa_lend_protmem(struct optee *optee, struct tee_shm *protmem,
|
||||
int rc;
|
||||
|
||||
mem_attr = kzalloc_objs(*mem_attr, ma_count);
|
||||
if (!mem_attr)
|
||||
return -ENOMEM;
|
||||
|
||||
for (n = 0; n < ma_count; n++) {
|
||||
mem_attr[n].receiver = mem_attrs[n] & U16_MAX;
|
||||
mem_attr[n].attrs = mem_attrs[n] >> 16;
|
||||
|
||||
@@ -798,7 +798,12 @@ static void qcomtee_remove(struct platform_device *pdev)
|
||||
kfree(qcomtee);
|
||||
}
|
||||
|
||||
static const struct platform_device_id qcomtee_ids[] = { { "qcomtee", 0 }, {} };
|
||||
static const struct platform_device_id qcomtee_ids[] = {
|
||||
{
|
||||
.name = "qcomtee",
|
||||
},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, qcomtee_ids);
|
||||
|
||||
static struct platform_driver qcomtee_platform_driver = {
|
||||
|
||||
Reference in New Issue
Block a user