This commit is contained in:
Mark Brown
2026-07-31 14:44:59 +01:00
2 changed files with 9 additions and 1 deletions
+3
View File
@@ -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;
+6 -1
View File
@@ -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 = {