diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-20 10:36:00 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-20 10:36:00 -0500 |
commit | 8bd3c0a7e17ee17c771cabc0e548a1a436ac021d (patch) | |
tree | fd7117a58a97f61e98b6d75b2a4a41839cf496e5 /drivers/tee/optee/core.c | |
parent | 53c47c59e638cc118c272235db516bb541dad0ac (diff) | |
parent | eda976d36a37d459da5908fb922173a4bafe8666 (diff) |
Merge tag 'tpm-20012023' of https://source.denx.de/u-boot/custodians/u-boot-tpm
TPM fixes and state reporting
Diffstat (limited to 'drivers/tee/optee/core.c')
-rw-r--r-- | drivers/tee/optee/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index a813a84a4f..9a9b697e91 100644 --- a/drivers/tee/optee/core.c +++ b/drivers/tee/optee/core.c @@ -73,7 +73,7 @@ static struct optee_service *find_service_driver(const struct tee_optee_ta_uuid for (idx = 0; idx < service_cnt; idx++, service++) { tee_optee_ta_uuid_to_octets(loc_uuid, &service->uuid); - if (!memcmp(uuid, loc_uuid, sizeof(uuid))) + if (!memcmp(uuid, loc_uuid, sizeof(*uuid))) return service; } @@ -850,7 +850,7 @@ static int optee_probe(struct udevice *dev) ret = device_bind_driver_to_node(dev, "optee-rng", "optee-rng", dev_ofnode(dev), NULL); if (ret) - dev_warn(dev, "ftpm_tee failed to bind: %d\n", ret); + dev_warn(dev, "optee-rng failed to bind: %d\n", ret); } return 0; |